Math · Geometry

Midpoint Calculator

Find the midpoint of a line segment in 2D or 3D space, plus the distance between the two endpoints.

Midpoint M
—
2D midpoint: M = ( (x₁+x₂)/2 , (y₁+y₂)/2 )    3D midpoint: M = ( (x₁+x₂)/2 , (y₁+y₂)/2 , (z₁+z₂)/2 )
Distance: d = √( (x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)² )

2D & 3D

Works with planar or spatial coordinates.

Distance included

Also computes the Euclidean distance between the endpoints.

Step-by-step

Shows the averaging formula applied to your coordinates.

Instant results

Every keystroke recalculates the midpoint in real time.

More Geometry Tools

Explore geometry and algebra calculators.