Great Circle Distance Calculator

Stephanie Ben-Joseph headshot Stephanie Ben-Joseph

What This Great Circle Distance Calculator Does

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 Haversine Formula

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:

a = sin 2 ( Δφ 2 ) + cos ( φ1 ) cos ( φ2 ) sin 2 ( Δλ 2 )

Then the central angle c (in radians) between the two points is:

c = 2 · atan2 ( a , 1a )

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.

How to Enter Coordinates

The calculator expects coordinates in decimal degrees:

If you have degrees, minutes, and seconds (DMS), convert to decimal degrees first:

Examples:

Interpreting the Result

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.

Worked Example: New York to London

Suppose you want the great circle distance between New York City and London. Using approximate city-center coordinates in decimal degrees:

Steps:

  1. Convert each latitude and longitude from degrees to radians.
  2. Compute Δφ and Δλ in radians.
  3. Apply the haversine formula to find a.
  4. Compute c = 2·atan2(√a, √(1−a)).
  5. Multiply by Earth’s radius, e.g. R = 6,371 km, to get d.

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.

Great Circle vs. Rhumb Line

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.

Real‑World Applications

Great circle distance is useful in many scenarios:

Assumptions, Limitations, and Accuracy

While the haversine-based great circle distance is very useful, it relies on a few simplifying assumptions:

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).

Using the Calculator Effectively

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.

Enter coordinates to find the distance.

Embed this calculator

Copy and paste the HTML below to add the Great Circle Distance Calculator - Measure the Shortest Path to your website.