Computing distance using lat/long coordinates


Fill in the latitude and longitude of two geographic locations and compute the distance between the points.

Latitude °N Longitude °E
First location:
Second location:

Distance ...


The distance returned is the arc length of a great circle connecting the two points, essentially air miles. Note that latitude and longitude are in degrees. Latitude is in degrees north of the equator; southern latitudes are negative degrees north. Longitude is in degrees east of the prime meridian; degrees west are negative degrees east.

To see how spherical distance is calculated, see these notes. To see how much difference it makes if you take into account that our world is not exactly a sphere, see this post on ellipsoidal distance.

You can look up your latitude and longitude here.

More calculators like this one.


John D. Cook photo


Need help with applied math?