Compute Euclidean, Manhattan, and 3D straight-line distance between two points.
Runs on your device. Nothing you add is uploaded.
2D Euclidean distance
5
√25
Manhattan (grid) distance
7
Deltas (Δx, Δy)
3, 4
Formula: d = √((x₂ − x₁)² + (y₂ − y₁)²).
How to use Distance formula calculator
- Enter coordinates for Point 1 and Point 2 (keep z₁ and z₂ at 0 for 2D).
- Enter both z coordinates if you are working in three dimensions.
- Read the straight-line Euclidean distance, exact radical form, and Manhattan distance.
Questions
Yes. Leave z₁ and z₂ as 0 for 2D points, or enter non-zero z values for 3D space.
The sum of absolute coordinate differences |Δx| + |Δy| (+ |Δz|), like walking along city blocks.
How this works
Computes 2D/3D Euclidean and Manhattan distances locally.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy
Related tools
More in CalculatorsMidpoint calculatorFind the exact midpoint halfway between two 2D or 3D points.Slope calculatorFind the slope (m), line equation (y = mx + b), angle of inclination, and distance between two points.Pythagorean theorem calculatorSolve a right triangle for hypotenuse c or leg a/b using a² + b² = c².Age CalculatorFind your exact age in years, months, and days, plus total days lived and your next birthday countdown.BMI CalculatorCalculate your Body Mass Index (BMI) in metric or imperial units with WHO weight categories.Mortgage CalculatorEstimate your monthly mortgage payment, total interest, optional housing costs, and yearly amortization schedule.