Great Circle Calculator

Calculate great-circle distance, angular separation, bearings, midpoint coordinates, and chord length from two coordinates and sphere radius. Great Circle Calculator helps navigators, geospatial analysts, travelers, engineers, and students solve spherical geometry problems.

Highlights

  • Calculate the shortest great-circle distance between two points.
  • Find initial and final bearings for accurate navigation.
  • Determine the midpoint coordinates along a great-circle route.
  • Measure angular separation in degrees, radians, arcminutes, or arcseconds.
  • Compute straight-line chord length using customizable sphere radius and units.

Table of Contents

  1. How Great Circle Calculator Works?
  2. Practical Use Cases
  3. Accuracy and Limitations
  4. Quick Examples
  5. Frequently Asked Questions (FAQs)
  6. Cite This Calculator

How Great Circle Calculator Works?

The Great Circle Calculator models the two coordinates as points on a sphere. Enter the first and second latitudes and longitudes, along with the sphere radius. Latitudes range from −90° to 90°, longitudes from −180° to 180°, and angular values may be expressed in degrees or radians. The radius can be entered in km, m, mi, nmi, ft, or yd.

Let φ₁ and φ₂ be the latitudes, λ₁ and λ₂ be the longitudes, and let R be the sphere radius. The longitude difference is Δλ=λ2−λ1.

The central angle, or angular separation, is calculated with the haversine relationship. This method is numerically stable for both short and long distances.

a=sin2(φ2−φ12)+cos(φ1)cos(φ2)sin2(Δλ2)
δ=2atan2(a,1−a)

The shortest surface distance follows the great-circle arc:

d=Rδ

The initial bearing is the forward direction leaving the first point, while the final bearing is the direction of travel as the route reaches the second point. Both use the two-argument arctangent function so that the correct quadrant is preserved.

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

The midpoint is found by representing the second point in a local three-dimensional form and averaging it with the first point along the great-circle geometry:

Bx=cos(φ2)cos(Δλ), By=cos(φ2)sin(Δλ)
φm=atan2(sin(φ1)+sin(φ2),(cos(φ1)+Bx)22+By2)
λm=λ1+atan2(By,cos(φ1)+Bx)

Finally, the chord length is the straight-line distance through the sphere between the two surface points:

c=2Rsin(δ2)

OutputMeaning
Great-Circle DistanceShortest surface arc between the two coordinates.
Angular SeparationCentral angle between the points.
Initial and Final BearingTravel directions at departure and arrival.
Midpoint CoordinatesLatitude and longitude halfway along the shortest arc.
Chord LengthStraight-line distance through the sphere's interior.

Practical Use Cases

Navigators can enter departure and destination coordinates to estimate the shortest route over a spherical Earth and obtain both the initial course and arrival bearing. The midpoint coordinates can help identify a halfway checkpoint or divide a long journey into manageable legs.

Geospatial analysts can use the calculator to compare locations, calculate angular separation, and estimate spherical distances for mapping, geographic information systems, spatial databases, and coverage studies.

Travelers can use the great-circle distance to understand the shortest geographic separation between cities or landmarks. The midpoint result provides a useful approximate halfway location for planning itineraries or selecting meeting areas.

Engineers can use the radius input and chord-length output in spherical geometry, antenna coverage, satellite links, spherical construction models, and simulations where surface paths must be distinguished from straight interior lines.

Students and educators can explore how latitude, longitude, central angles, bearings, midpoints, arc distances, and chords relate to one another. Entering known coordinate pairs makes it possible to verify the haversine formula and compare curved surface distance with three-dimensional chord length.

Accuracy and Limitations

The calculator uses double-precision trigonometric formulas for an ideal sphere, so its numerical results are generally reliable for valid latitude, longitude, and positive-radius inputs, including very short separations when the haversine method is used. Its distance accuracy depends on the selected sphere radius: using a single radius does not model Earth's ellipsoidal shape, local elevation, terrain, or geodetic datums. Bearings describe the shortest great-circle route, not a constant-compass or rhumb-line course. Midpoint and bearing results can also become mathematically indeterminate or highly sensitive when the points coincide or are nearly antipodal, because multiple shortest great-circle paths may exist.

Quick Examples

Example #1: New York to London

Calculate the great-circle route between New York City and London using Earth's approximate radius.

Example #2: Sydney to Tokyo

Estimate the spherical distance, bearings, midpoint, and chord length between Sydney and Tokyo.

Example #3: European Regional Route

Calculate a shorter regional great-circle route from Paris to Rome using nautical miles as the radius unit.

Frequently Asked Questions

It is the shortest path between two points on the surface of a sphere. On Earth, this path follows the curve created by a plane passing through the planet’s center.

A great-circle route is curved when projected onto most flat map formats. This is why long-distance flight paths may look indirect even though they represent the shortest path over the globe.

Surface distance follows the sphere’s exterior, while chord length is the straight-line distance through the sphere between two points. The chord is always shorter than or equal to the corresponding surface distance.

The initial bearing is the direction of travel when leaving the first point. The final bearing is the direction of travel upon reaching the second point along the shortest spherical route.

The midpoint is the location halfway along the shortest great-circle path between two points. It may not match the average of their latitude and longitude, especially over long distances.

Cite This Calculator