Distance Calculator
Compute distances on plane, space, and Earth with interactive tools
📏
Distance Calculator
Calculate distances in a 2D plane, 3D space, between latitude/longitude coordinates, or directly on an interactive world map.
Quick Navigation
2D Distance
Formula
d = √((x2 − x1)^2 + (y2 − y1)^2)
Result
3D Distance
Formula
d = √((x2 − x1)^2 + (y2 − y1)^2 + (z2 − z1)^2)
Result
Distance Based on Latitude and Longitude
Methods
Haversine: Great-circle distance on a sphere.
Lambert: Ellipsoidal surface distance, generally more accurate.
Result
Distance on Map
Click to place two markers and compute the shortest distance (great circle/air distance). Drag markers to reposition.