Latitude Longitude Distance Calculator

Calculate the great-circle distance between two latitude and longitude coordinates in kilometers, miles, meters, or nautical miles.

Result
—

How to calculate

Find the central angle between the points on a sphere using the haversine calculation. Multiply the angle in radians by Earth’s mean radius for distance.

Worked example

Use Starting latitude 0 · Starting longitude 0 · Destination latitude 0 · Destination longitude 90 · Distance unit Kilometers. The result is ≈ 10007.543398 km.

Input and result notes

Use signed decimal degrees or a compass suffix, such as 40.5 N or 40° 30′ 0″ N. Distances use a sphere with a mean radius of 6,371 km. Use an ellipsoidal geodesic for surveying and other high-precision work.

Omni reference calculator

Related calculators