Distance Calculator

Calculate the distance and midpoint between two points in 2D or 3D space.

Coordinate System
Point 1
Point 2
Distance Formula

2D Distance:

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

3D Distance:

d = √((x₂-x₁)² + (y₂-y₁)² + (z₂-z₁)²)

Midpoint:

M = ((x₁+x₂)/2, (y₁+y₂)/2)

Related Calculators

Distance Result
From (1, 2) to (4, 6)
Distance5
Midpoint(2.5, 4)