This calculator finds the shortest path between two locations on Earth, given their latitude and longitude. That shortest path, traced over the surface of the globe, is called a great circle route. It is the basis for how airlines choose efficient flight paths, how shipping companies plan ocean crossings, and how engineers estimate distances for undersea cables and communication links.
Enter the coordinates of two points in decimal degrees and the tool returns the great circle distance, typically in both kilometers and miles. The result represents the idealized shortest surface distance on a spherical Earth, not a driving route or step-by-step navigation.
The calculator uses the haversine formula, a standard equation in navigation for estimating distances on a sphere. It works by converting the difference in latitude and longitude between two points into an angular distance, then multiplying by the Earth’s radius to get a linear distance.
In symbolic form, using radians:
The haversine formula is:
Then the central angle c (in radians) between the two points is:
Finally, the great circle distance d is:
d = R × c
where R is the Earth’s mean radius (often taken as about 6,371 km). The calculator may internally convert this to miles or nautical miles for additional outputs.
The calculator expects coordinates in decimal degrees:
If you have degrees, minutes, and seconds (DMS), convert to decimal degrees first:
decimal = degrees + minutes / 60 + seconds / 3600Examples:
The output from the calculator is the shortest distance over the Earth’s surface between the two coordinates. This has a few important implications:
You can use the value to compare potential routes, estimate travel times given an average speed, or sanity-check distances between cities, airports, or waypoints.
Suppose you want the great circle distance between New York City and London. Using approximate city-center coordinates in decimal degrees:
Steps:
Using this process, you get a distance of roughly 5,580–5,600 km, or about 3,470 miles. This explains why flight paths between the U.S. East Coast and Europe often arc northward over the North Atlantic when plotted on a flat map: the curved path you see is actually the shortest great circle route on a sphere.
In navigation, a great circle route is not the only possible path between two points. Another important path type is the rhumb line (or loxodrome), which crosses all meridians at a constant bearing. The two differ in several ways:
| Aspect | Great circle route | Rhumb line route |
|---|---|---|
| Definition | Shortest path between two points on the surface of a sphere | Path that keeps a constant compass bearing |
| Distance | Minimal possible surface distance | Longer than the great circle distance (except along meridians or the equator) |
| Navigation complexity | Requires changing bearing over the course of the journey | Simpler steering with a fixed heading |
| Common uses | Long-range flights, ocean crossings, geodesy | Traditional marine navigation, simple chart work |
| Appearance on Mercator maps | Curved line between points | Straight line between points |
This calculator focuses on great circle distance, not rhumb line distance, because the great circle is usually preferred for efficiency in long-distance travel and engineering estimates.
Great circle distance is useful in many scenarios:
While the haversine-based great circle distance is very useful, it relies on a few simplifying assumptions:
R. In reality, Earth is slightly flattened (an oblate spheroid).For most everyday purposes—high-level planning, education, and quick checks—the error introduced by these assumptions is small, often on the order of fractions of a percent. For short to medium distances the numbers are typically within a few hundred meters of more precise ellipsoidal models. Over intercontinental distances, differences of up to a few kilometers can appear.
If you need survey-grade, legal, or engineering precision, or you must account for local geodetic datums, you should use an advanced geodesic calculator based on an ellipsoidal model such as WGS84 (for example, algorithms by Vincenty or Karney).
To get the most out of the tool:
With these points in mind, great circle distance is a powerful way to understand how far apart places really are on our curved planet, and why global routes often look surprising when projected onto a flat map.