Great-Circle Distance Calculator

Enter an airport, navaid, or five-letter fix — or a latitude and longitude — for each end of a leg, and this page returns the shortest path over a spherical Earth: the great-circle distance and the initial (and arrival) true course. Optional waypoints are chained as successive great-circle legs. The calculation is the standard haversine formula used in aviation trip planning, with the same mean Earth radius that underpins many public range tools. It is a range and course estimate, not a route-approved flight plan.

Identifiers can be an airport ICAO or FAA LID (KSBA or SBA), a navaid (LAX or “LAX VOR”), or a five-letter intersection (SADDE). Latitude and longitude are decimal degrees; south and west are negative. A course of 0° is true north.

From

or latitude / longitude

To

or latitude / longitude

Airport, navaid, and fix coordinates are from the FAA NASR 28-day subscription effective 29 October 2026 (public domain). Non-U.S. ICAO airports are merged from OurAirports (public domain).

Results

Result

—

Advertisement
Ad slot — 728×90 desktop / 320×100 mobile

The haversine formula

On a sphere of radius R, the central angle c between two points with latitudes φ1, φ2 and longitudes λ1, λ2 satisfies

hav(c) = hav(Δφ) + cos φ1 cos φ2 hav(Δλ),

where hav(θ) = sin²(θ/2). The distance is then d = R c, with c in radians. This page uses the mean Earth radius R = 6,371 km (the same conventional value used by many public great-circle tools; WGS-84 is an ellipsoid, so a certified navigator may differ by a few tenths of a percent on a long haul). The initial true course is the forward azimuth of the inverse problem

θ = atan2( sin Δλ cos φ2, cos φ1 sin φ2 − sin φ1 cos φ2 cos Δλ ),

and the arrival course is the azimuth at the destination, computed the same way with the points reversed and then folded back to the inbound heading. Optional waypoints are summed as successive great-circle legs; the initial course is that of the first leg and the arrival course is that of the last.

Identifier lookup

Each point can be typed as an identifier instead of raw coordinates. The page looks up airport ICAO codes and FAA location identifiers (KSBA or SBA), navaids (a VOR, VORTAC, or NDB ident such as LAX), and five-letter fixes and intersections (SADDE). U.S. and NASR-listed positions come from the public-domain FAA NASR 28-day subscription files APT_BASE, NAV_BASE, and FIX_BASE, currently the cycle effective 29 October 2026. Non-U.S. ICAO airports are merged from the public-domain OurAirports database so examples such as EGLL and YSSY resolve. When the same ident belongs to more than one place — a city airport and a nearby VORTAC, or two NDBs that share a Morse ident — a picker lists type, name, and state so you can choose. The resolved name and coordinates are shown under the field. Data files are split by type and first letter and loaded only as needed; nothing you type is uploaded.

What this does and does not include

A great-circle is the shortest path on the sphere. Real airways, winds, ETOPS, and preferred routes usually make the flown distance longer. Antipodal points have a well-defined distance (half the circumference) but no unique initial course, which the calculator reports rather than inventing a heading. The page does not apply magnetic variation — pair the true course with the true/magnetic heading calculator — and it does not compute wind-corrected heading; use the wind triangle for that. For time en route at a given groundspeed, see time, speed, and distance.

Sources

Frequently asked questions

Can I enter an airport, navaid, or fix instead of latitude and longitude?

Yes. Each point accepts an airport ICAO or FAA LID (KSBA or SBA), a navaid ident (LAX VOR), or a five-letter fix (SADDE), or decimal latitude and longitude as before. Coordinates come from the public-domain FAA NASR 28-day subscription (APT_BASE, NAV_BASE, and FIX_BASE). Non-U.S. ICAO airports are merged from OurAirports, also public domain. If an identifier is used for more than one place, the page shows a picker with type, name, and state. The NASR cycle date is printed on the page.

Why is my distance a little different from a GPS or a chart plotter?

This page uses a sphere of radius 6,371 km. GPS receivers and many airline tools use the WGS-84 ellipsoid, which is slightly flattened. On a transcontinental leg the difference is typically a few nautical miles. Rhumb-line (constant-heading) distances are longer still. Identifier coordinates are airport reference points, navaid positions, or fix positions from NASR, which can differ slightly from a gate or a runway threshold.

What is the difference between initial course and arrival course?

On a great-circle the true course changes continuously except on the equator or a meridian. The initial course is the tangent at the departure point; the arrival course is the tangent at the destination. Neither is a magnetic heading.

Can I use this as a flight plan?

No. It is an educational range and course estimate. File and fly with a certified planner, current charts, and the winds and routing that apply to the flight. Identifier data can lag the current NASR cycle and is not a substitute for official source data.