We develop an abstract theory of noncommutative dimension theories, and we show that the common theories fit into this setting, in particular the real and stable rank, the topological dimension, the decomposition rank and the nuclear dimension. Then we show how to compute or estimate the dimension theories of certain classes of C-algebras, in particular subhomogeneous and type I C-algebras. We ...