Skip to content · 跳到主要内容

Distance Calculator

Measure distance in a 2D plane, 3D space, or across the Earth

Distance
--
--
Point 1
--
Point 2

Distance between points in planes and on Earth

Choose a 2D plane, 3D space, or Earth coordinates. Plane modes use Euclidean distance. Earth modes accept decimal coordinates, degrees–minutes–seconds, or two points selected on the map.

2D: d = √((x₂ − x₁)² + (y₂ − y₁)²)
3D: d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²)
Earth: WGS 84 ellipsoid, Lambert approximation

Frequently Asked Questions

How is distance measured in 2D and 3D?

The 2D formula takes the square root of the squared X and Y differences. The 3D formula also includes the squared Z difference.

Does latitude and longitude return road distance?

No. It returns the shortest geodesic distance along the modeled Earth surface. Road routes can be substantially longer.

Which Earth model is used?

The calculation uses the WGS 84 equatorial radius and flattening with the Lambert ellipsoid approximation.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision