Distance formula calculator

Euclidean distance between two points in 2D or 3D space. Steps shown.

Point 1

Point 2

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

About the formula

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

3D: d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²)

The distance formula is a direct application of the Pythagorean theorem in coordinate geometry.