Enter the GPS coordinates of two points in DD or DMS format — the calculator will compute the great-circle distance in kilometers and miles.
See also: Distance Between Two Points (2D), Distance Between Two Points (3D).
Calculator
To compute the distance between two points on a sphere (the Earth), the Haversine formula is used. It accounts for the spherical shape of the planet and gives the great-circle distance.
Haversine formula:
where φ is latitude, λ is longitude (in radians), and R = 6371 km is Earth's mean radius.
Coordinate formats:
- Decimal degrees (DD): 50.4500° — directly from a GPS device or Google Maps.
- Degrees-minutes-seconds (DMS): 50°27′0″N 30°31′24″E — classic cartographic notation.
Converting DMS → DD: DD = degrees + minutes/60 + seconds/3600. S and W directions yield negative values. Used for navigation, travel, logistics, and calculating routes between cities.