Great Circle Distance Calculator
Enter two points on Earth (or any sphere) using latitude and longitude in decimal degrees.
What is Great Circle Distance?
A great circle distance is the shortest path between two points on the surface of a sphere. On Earth, this is the path an airplane typically follows for long-haul travel, not the straight-looking line you might imagine on a flat map.
A great circle is any circle drawn on a sphere whose center is the same as the sphere’s center. The equator is a famous example. If you connect two locations with the shortest possible surface route, that route lies on a great circle.
How to Use This Calculator
- Enter latitude and longitude for Point A in decimal degrees.
- Enter latitude and longitude for Point B in decimal degrees.
- Keep the radius at 6371 for Earth, or change it for another spherical body.
- Click Calculate Distance to see distance in kilometers, miles, and nautical miles.
Latitude must be between -90 and 90, and longitude must be between -180 and 180. Negative values indicate south and west coordinates.
Why Map Distance and Great Circle Distance Look Different
Most maps are flat projections of a curved globe. When you flatten a sphere, some distortion is unavoidable. As a result, the shortest path over Earth’s surface can appear curved on a map (especially on Mercator projection maps).
For example, flights from North America to Asia often arc northward over polar regions. That arc is usually close to the great-circle route and often reduces travel distance and fuel usage.
The Formula Behind the Tool (Haversine)
This page uses the haversine formula, a reliable method for computing great-circle distance from latitude/longitude coordinates:
- Convert all angles from degrees to radians.
- Compute angular differences in latitude and longitude.
- Calculate the central angle between the two points.
- Multiply by the sphere radius to get surface distance.
The result is ideal for most geospatial tasks like travel planning, logistics estimates, route ranking, and geofencing approximations.
When to Use Great Circle Distance
Aviation and Maritime Navigation
Pilots and marine navigators use great-circle concepts to optimize long routes. Over large distances, this method can be significantly more accurate than flat-Earth approximations.
GIS and Geospatial Analytics
In geographic information systems (GIS), great-circle distance helps with nearest-neighbor lookups, service-area planning, and estimating travel burden when detailed road data is unavailable.
Data Science and Product Features
Great-circle calculations are common in apps that depend on “distance from me,” location clustering, local recommendations, and proximity alerts.
Accuracy Notes and Limitations
Earth is not a perfect sphere; it is an oblate spheroid. For very high-precision use cases (surveying, legal boundaries, engineering-grade navigation), ellipsoidal formulas such as Vincenty or Karney are better choices.
That said, the spherical model is accurate enough for many practical tasks and is often the fastest and simplest method in web applications.
Tips for Better Results
- Use decimal degrees from a trusted source (GPS, map API, or GIS tool).
- Double-check signs: west longitudes and south latitudes are negative.
- Use consistent coordinate format; avoid mixing DMS and decimal.
- For Earth, keep radius at 6371 km unless your workflow requires a different standard.
Frequently Asked Questions
Is this the same as driving distance?
No. Great-circle distance is straight-line distance over Earth’s curved surface. Driving distance follows roads and is usually much longer.
Can I use this for other planets?
Yes. Replace the sphere radius with the target planet’s mean radius (in kilometers) and keep coordinates in degrees.
What happens if both points are identical?
The distance is zero, because there is no separation between the two locations.
Quick Example
Try New York City (40.7128, -74.0060) and London (51.5074, -0.1278). The great-circle distance is roughly 5,570 km, depending on radius and rounding.