Calcady
Home / Scientific / Aerospace / Great Circle Distance Calculator (Haversine Formula)

Great Circle Distance Calculator (Haversine Formula)

Calculate the shortest flight distance between any two points on a sphere using their latitude and longitude coordinates. The absolute gold-standard for aircraft and maritime navigation.

Great Circle Distance Calculator (Haversine)

Calculate the shortest possible distance between two points on Earth using the Haversine formula. Used by airlines, maritime navigators, and missile guidance systems for precise geodetic routing.

Quick Presets

Point 1 — Origin

40.6413°N, 73.7781°W

Point 2 — Destination

51.4700°N, 0.4543°W
a = sin²(Δφ/2) + cos(40.641°)×cos(51.470°)×sin²(Δλ/2)  |  c = 2×atan2(√a, √(1−a)) = 0.86957 rad |  d = 6371 × 0.86957 = 5540.0 km
Great Circle Distance
2991.4
NM
2991.4 NM  ·  3442.4 mi  ·  5540.0 km
Initial Bearing
51.4°
True North
Est. Flight Time
6h 14m
@ 480 kts cruise

Practical Example

A flight from JFK (40.6413°N, 73.7781°W) to LHR (51.4700°N, 0.4543°W): applying the Haversine formula gives ≈ 5,540 km (2,993 NM). On a flat Mercator map, the "straight line" from New York to London appears to curve north — over Newfoundland and Iceland. That is the shortest path. A naive "straight east" rhumb-line route following 41°N all the way across would actually be ≈ 5,820 km — 280 km (≈ 40 minutes of fuel) longer. Every long-haul airline flies the great circle route automatically. At 480-knot cruise speed, JFK→LHR takes approximately 6 hours 14 minutes of flight time on the great circle path.

Email LinkText/SMSWhatsApp

Quick Answer: What is a Great Circle Distance?

The Great Circle Distance is the mathematically shortest path between any two points on the surface of a sphere. Unlike a straight line on a flat map (which heavily distorts reality), a great circle path curves across the globe, slicing perfectly through the Earth's center. For long-distance aviation and maritime navigation, flying or sailing this exact geodesic arc is the only way to minimize travel time and optimize fuel burn.

Navigation Standards & Spherical Pitfalls

Standard Operating Procedure

  • Always use decimal degrees accurately. Coordinates given in Degrees, Minutes, and Seconds (DMS) must be meticulously converted to decimal degrees (e.g., 40° 30' = 40.5°). Small rounding errors at the input stage mathematically multiply across thousands of miles.
  • Understand varying initial headings. Unlike following a compass line, flying a great circle requires continuously updating your heading. The "Initial Bearing" calculated is strictly the direction you point the nose the moment you depart.

Lethal Pitfalls

  • Confusing Rhumb Lines with Great Circles. A rhumb line is a path of constant bearing (e.g., pointing a compass straight West and locking the autopilot). While easier to fly, a rhumb line geometrically spirals toward the pole, artificially adding hundreds of unnecessary miles to trans-oceanic crossings.
  • Ignoring the WGS 84 Ellipsoid variance. The Haversine formula models Earth as a perfect sphere. For 99% of general aviation, this is adequate. However, for GPS programming or artillery targeting requiring millimeter precision, you must use the Vincenty algorithm to account for Earth's oblateness.

Frequently Asked Questions

Why do flight paths look curved on a map?

It is an optical illusion created by the map itself. Most maps use a Mercator projection, which wildly stretches the Earth's polar regions to force a 3D sphere into a 2D rectangle. When you plot a mathematically straight Great Circle path across this distorted map, the line ironically appears to curve sharply upward toward the poles. If you look at the same route on a physical globe, it is unarguably straight.

What is the Haversine formula?

The Haversine formula is an equation utilized in spherical trigonometry to determine the great-circle distance between two longitude-latitude coordinates. It utilizes sines and cosines to derive the radial curve over a sphere's surface, remaining highly stable against floating-point errors even when two points are extremely close together.

How much fuel does flying a Great Circle save?

For a widebody airliner flying from Tokyo to Los Angeles, adhering to a great-circle route rather than a constant-bearing rhumb line physically cuts roughly 400 nautical miles from the trip. This shaves off nearly an hour of flight time and saves over tens of thousands of dollars in jet fuel per sector.

Related Aerospace Calculators