Latitude Longitude Distance Calculator
Calculate great-circle distance and initial bearing between two GPS coordinates with the Haversine formula.
About coordinate distance
Coordinate distance examples
| Coordinates | Great-circle distance | Context |
|---|---|---|
| New York to Los Angeles | 3,935.75 km | The initial bearing from New York is about 274 degrees. |
| London to Paris | 343.56 km | A short international great-circle route across the English Channel. |
| Equator: 0, 0 to 0, 1 | 111.20 km | One degree of longitude at the equator. |
| Same coordinate to itself | 0 km | Identical points have zero central angle and zero distance. |
How to calculate GPS distance
- Enter the signed decimal latitude and longitude for the first point.
- Enter the signed decimal latitude and longitude for the second point.
- Select Calculate distance to apply the Haversine formula.
- Read the distance in kilometers, miles, or nautical miles and note the initial bearing.
Latitude and longitude distance FAQ
What formula calculates the distance?
The calculator uses the Haversine formula with Earth's mean radius. It finds the great-circle arc between the two coordinate pairs.
Is this the same as driving distance?
No, it is the shortest surface distance on a spherical Earth. Driving and walking distances depend on roads, paths, borders, and route restrictions.
How accurate is the Haversine formula?
It is generally accurate enough for mapping and proximity calculations, with small errors caused by Earth's ellipsoidal shape. Precision surveying should use an ellipsoidal geodesic method and an appropriate datum.
How do I enter south and west coordinates?
Use negative numbers for southern latitudes and western longitudes. For example, a longitude of 74 degrees west is entered as -74.
What does initial bearing mean?
Initial bearing is the direction from point one at the start of the great-circle route. It is measured clockwise from north and can change along a long route.