Everyday

Latitude & Longitude Distance (Haversine)

Given two points on the globe, the Haversine formula finds the great-circle distance between them. Enter the decimal coordinates of both points to get the distance and bearing.

How to use
  1. Enter the latitude and longitude of the first point.
  2. Enter the coordinates of the second point.
Route
Great-circle distance
5,570 km

Haversine, R = 6371 km

Miles
3,461 mi
Nautical miles
3,008 nm
Initial bearing
51.2°
Compass
NE
Estimates for general information, verify important figures before relying on them.
Was this helpful?

Common questions

What is the Haversine formula?

It calculates the shortest distance over the Earth's surface between two latitude-longitude points, treating the planet as a sphere. It is accurate to within about 0.5% for most distances.

What is initial bearing?

It is the compass direction you would start out on to travel the great-circle path. On a curved Earth this direction changes along the way, which is why it is called the initial bearing.