piko

Distance formula calculator

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

  1. Enter coordinates for Point 1 and Point 2 (keep z₁ and z₂ at 0 for 2D).
  2. Enter both z coordinates if you are working in three dimensions.
  3. 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.

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 Calculators