Manhattan Distance Calculator

Calculate Manhattan distance by adding the absolute differences between corresponding coordinates.

Result
—

How to calculate

Subtract the coordinates component by component. Add the absolute values of the differences. This distance is also called taxicab distance.

Worked example

Use First point 0, 0 · Second point 3, 4. The result is 7 units.

Input notes

Separate components with commas or spaces. Each component can be an integer, decimal, or fraction.

OpenStax vector and plane equations

Related calculators