Distance Calculator

Distance between two points in a plane.

Result —

How it works

d = √((x₂ − x₁)² + (y₂ − y₁)²)

The coordinate form of the Pythagorean theorem. E.g. distance from (0,0) to (3,4) is 5.

FAQ

How about 3D distance?

Add a (z₂ − z₁)² term before the square root. This tool handles 2D.

Worked example

From (1, 2) to (4, 6): d = √((4−1)² + (6−2)²) = √(9+16) = 5.

Notes and limitations

This is Pythagoras in coordinates. In 3D add (z₂−z₁)². Order does not matter, but do not forget the square root.

Home