Distance calculator
Measure the distance between coordinates in 2D, in 3D, or across the globe.
Coordinate distance
Example result5
Showing the previous result. Check the highlighted inputs.
Result details
Both points use the same coordinate units.
- Δx
- 3
- Δy
- 4
Estimates only.
Your inputs
How it’s worked out
See how we got 5
Coordinate distance = √(Δx² + Δy² + Δz²). Geographic distance = 2R × asin(√h), with h from the haversine of the latitude and longitude differences.
- Subtract corresponding coordinates.
- Find √((3)² + (4)²) = 5.
About this calculator
Geographic distances use a spherical Earth radius of 6,371.0088 km. They represent direct travel across the surface.
Worked example
Coordinate distance · 5
Coordinate distance = √(Δx² + Δy² + Δz²). Geographic distance = 2R × asin(√h), with h from the haversine of the latitude and longitude differences.
- Subtract corresponding coordinates.
- Find √((3)² + (4)²) = 5.