Origin and Destination Coordinates
Point A - Origin
- or enter coordinates directly -
Point B - Destination
- or enter coordinates directly -
Geodesic Flight Path Results
Enter coordinates or look up airport codes on the left to compute the great-circle distance and initial bearing.
Great Circle Arc Path Visualization
Great Circle Arc (shortest path)
Straight Line on Map
Equator
Key Terms Explained
Great Circle
Any circle on a sphere whose plane passes through the center of the sphere. The equator and all lines of longitude are great circles. Arcs along a great circle are the shortest path between two points on a sphere.
Geodesic
The shortest curve connecting two points on a curved surface. On a perfect sphere, a geodesic is always a great circle arc. Aviation route planning uses geodesic paths to minimize flight distance.
Haversine Formula
A trigonometric equation for calculating great-circle distance between two points defined by latitude and longitude. It avoids numerical errors for short distances that a simpler spherical law of cosines formula would produce.
Azimuth
The horizontal compass bearing measured clockwise from true north (0 degrees) to the destination. A bearing of 90 degrees points due east, 180 degrees points due south, and 270 degrees points due west.
Nautical Mile
A unit of distance equal to exactly 1,852 meters (1.15078 statute miles). One nautical mile corresponds to one minute of arc along a meridian, which is why it is the standard unit in aviation and maritime navigation.
IATA Code
A three-letter identifier assigned by the International Air Transport Association to airports worldwide. Examples: JFK (John F. Kennedy, New York), LHR (Heathrow, London), HND (Haneda, Tokyo), LAX (Los Angeles).
Earth Curvature
The gradual curving of the Earth's surface due to its roughly spherical shape. Over long distances, flight paths must account for this curvature, which is why routes that appear curved on a flat map are actually the geometrically shortest option.
Central Angle
The angle in radians or degrees between two points as measured from the center of the Earth. Multiplying the central angle by the Earth's mean radius gives the great-circle surface distance.

The Complete Guide to Great Circle Distance and Flight Path Geodesics

When you book a long-haul flight, the route displayed on the in-flight map often appears to arc strangely far north or south compared to what you might expect from a straight line on a standard world map. This is not a quirk of the airline's routing. It is basic geometry: the surface of the Earth is curved, and on a curved surface, the shortest path between two points is always a great circle arc, not a straight line on a flat projection.

How to Use This Great Circle Distance Calculator

You can enter your origin and destination coordinates in one of two ways. First, type a valid IATA airport code (such as JFK, LHR, or HND) into the airport code field and click "Look Up" to automatically fill in that airport's latitude and longitude. Second, type decimal-degree coordinates directly into the latitude and longitude fields. The calculation fires automatically on every input change with no submit button required. The results panel updates instantly with the great-circle distance in kilometers, statute miles, and nautical miles, along with the initial compass bearing (azimuth) from Point A to Point B. The visualization panel draws the arc path across a flat equirectangular projection so you can see how the great circle curves relative to the "straight line on the map" path.

Why Flat Maps Mislead Us About Flight Paths

The most common world map projection (Mercator) preserves compass bearings and shapes of small areas but severely distorts distances and sizes at high latitudes. Greenland appears as large as Africa on a Mercator map, even though Africa is about 14 times larger. Because of this distortion, a straight line drawn on a Mercator map between two cities at similar latitudes (such as Los Angeles and London) appears to be the shortest route. It is not. That straight line corresponds to a rhumb line: a path that crosses every meridian at the same compass angle. A rhumb line is easy to follow on a compass but it is longer than the great circle route. A flight from Los Angeles to London following the great circle arcs far north over Canada and the North Atlantic, cutting hundreds of miles off the journey.

The Haversine Formula: How This Tool Does the Math

The Haversine formula is a specialized application of the spherical law of cosines, designed to handle the numerical precision challenges that arise when computing distances between points that are very close together. The formula works in four steps. First, the latitude and longitude of both points are converted from degrees to radians (radians = degrees multiplied by pi divided by 180). Second, the differences in latitude (delta-lat) and longitude (delta-lon) are calculated. Third, the Haversine function is applied: a = sin(delta-lat / 2) squared plus cos(lat1) times cos(lat2) times sin(delta-lon / 2) squared. Fourth, the central angle c = 2 multiplied by arctan2(sqrt(a), sqrt(1 minus a)) is computed, and the distance is d = R multiplied by c, where R is the Earth's mean radius of 6,371 km. This tool also computes the initial bearing using the atan2 formula: bearing = atan2(sin(delta-lon) times cos(lat2), cos(lat1) times sin(lat2) minus sin(lat1) times cos(lat2) times cos(delta-lon)), converted to degrees and normalized to a 0 to 360 degree compass heading.

Practical Applications in Aviation and Navigation

Airlines use great circle routing as a starting point for every long-haul flight plan. The actual flown route is then refined by factoring in jet stream winds, restricted airspace, overflight permit requirements, and airport slot availability. Typically, a flight from New York (JFK) to London (LHR) has a great circle distance of about 5,540 km. Due to favorable jet stream winds blowing eastward across the North Atlantic, the actual flight eastbound often takes a slightly longer northern arc to maximize tailwind benefit, while the westbound return takes a more southerly track to avoid headwinds. Understanding the baseline great circle distance is the essential first step in all of this planning.

Frequently Asked Questions
A flat map (Mercator projection) distorts the curved surface of a sphere onto a flat plane. A straight line on that map is a rhumb line, which holds a constant compass bearing but is not the shortest route. The shortest path between two points on a sphere follows a great circle arc, which appears curved on a flat map but is geometrically shorter. Flights from New York to London, for example, curve far north over Canada and Greenland because that great circle arc is hundreds of miles shorter than following a straight line on a Mercator map.
A great circle is any circle formed by the intersection of a sphere and a plane passing through the center of that sphere. The equator and every line of longitude are great circles. Because they represent the largest possible circles on a sphere, arcs along a great circle always represent the shortest distance between two points on the surface. Airlines use great circle routes to minimize fuel consumption and flight time, since even a few percent reduction in distance across a long-haul route saves thousands of dollars per flight.
The Earth mean radius of 6,371 km (3,959 miles) is accurate to within about 0.3% for most practical distance calculations. The Earth is actually an oblate spheroid, slightly flattened at the poles, with an equatorial radius of 6,378 km and a polar radius of 6,357 km. For aviation route planning and general geodesic purposes, the mean radius produces results within a few kilometers on transcontinental flights, which is well within operational margins. Higher-precision applications such as GPS navigation use the WGS-84 ellipsoid model instead.
True north (geographic north) points toward the geographic North Pole, the axis around which Earth rotates. Magnetic north is where a compass needle actually points, determined by Earth's magnetic field. The angular difference between them is called magnetic declination (or variation), which changes by location and shifts slowly over time. The initial bearing (azimuth) calculated by this tool is a true bearing measured clockwise from true north. Pilots apply their local magnetic declination value to convert it to a magnetic heading for actual navigation.
Altitude adds a small amount to actual flight distance because an aircraft flying at 35,000 feet (about 10.7 km) traces a slightly larger arc than one on the surface. At typical cruising altitudes, the added radius increases the path length by roughly 0.17% compared to the surface great circle distance. On a 10,000 km route that is about 17 km extra. This tool calculates surface great circle distance using the Earth mean radius, which is the standard method for route planning. Airline published distances typically also ignore altitude correction since it is negligible for scheduling and fuel estimates.