City block distance
The City block distance is a common distance measure when doing hierarchical clustering.
The City block distance between two points, a and b, with k dimensions is calculated as:
The City block distance is always greater than or equal to zero. The measurement would be zero for identical points and high for points that show little similarity.

In most cases, this distance measure yields results similar to the Euclidean distance. Note, however, that with City block distance, the effect of a large difference in a single dimension is dampened (since the distances are not squared).
The name City block distance (also referred to as Manhattan distance) is explained if you consider two points in the xy-plane. The shortest distance between the two points is along the hypotenuse, which is the Euclidean distance. The City block distance is instead calculated as the distance in x plus the distance in y, which is similar to the way you move in a city (like Manhattan) where you have to move around the buildings instead of going straight through.