The metric dimension of a compact metric space is defined here as the order of growth of the exponential metric entropy of the space. The metric dimension depends on the metric, but is always bounded below by the topological dimension. Moreover, there is always an equivalent metric in which the metric and topological dimensions agree. This result may be used to define the topological dimension ...