Haversine Calculator
Calculate the great-circle distance between two latitude/longitude points. Instant results in km and miles with bearing and midpoint. No signup.
Point A
Point B
Frequently asked questions
What is the Haversine formula?
The Haversine formula calculates the shortest distance between two points on the surface of a sphere using their latitudes and longitudes. It accounts for Earth's curvature, making it accurate for navigation and mapping applications.
How accurate is this calculator?
It treats Earth as a perfect sphere with a radius of 6,371 km. Real-world distances may differ by up to 0.3% because Earth is slightly flattened at the poles (an oblate spheroid). For precise geodetic work, use the Vincenty formula instead.
What format should I use for coordinates?
Enter decimal degrees (e.g. 40.7128 for latitude and -74.0060 for longitude). South latitudes and West longitudes are negative. You can find these in Google Maps by right-clicking any location.