geoprimsField-grade geospatial math

Great-circle and composite sailing

The great-circle distance, initial and final courses, vertex, and points along the track by Bowditch's spherical formulas, with the 84 geodesic beside it and a composite track under a limiting latitude.

Planning and education aid. Not for primary navigation. Full disclaimer

Experimental: not yet fully verified. How results are checked

D = 4693.5NM, initial course 253.0° T

The great circle: D = 4693.5 NM, initial course 253.0° T.

Great-circle distance
Initial course
Final course
Vertex latitude
Vertex longitude
Vertex
Provenance
Computed by
navigation.sailing.great-circle 1.0.0, core 0.1.0
Model
cos D = sin L₁ sin L₂ + cos L₁ cos L₂ cos DLo; tan C = sin DLo / (cos L₁ tan L₂ − sin L₁ cos DLo) (Bowditch §1307); vertex cos Lv = cos L₁ |sin C|; track points tan L = tan Lv cos(λ − λv); composite cos DLov = tan Lx / tan Lv with the legs tangent to the limiting parallel (§1308); the WGS 84 geodesic (Karney) beside it
Accuracy
Exact on the sphere of 1 NM per minute of arc; the WGS 84 geodesic beside it differs by up to about 0.5%
Notes
1 shown with the answer
Cites
National Geospatial-Intelligence Agency, The American Practical Navigator (Bowditch), NGA Pub. No. 9, Volume I

Something look off?

Your values

Showing an example. Change anything.
More options 2
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: cos D = sin L₁ sin L₂ + cos L₁ cos L₂ cos DLo; tan C = sin DLo / (cos L₁ tan L₂ − sin L₁ cos DLo) (Bowditch §1307); vertex cos Lv = cos L₁ |sin C|; track points tan L = tan Lv cos(λ − λv); composite cos DLov = tan Lx / tan Lv with the legs tangent to the limiting parallel (§1308); the WGS 84 geodesic (Karney) beside it

Show your work

  1. Distance

    cos D = sin L₁ sin L₂ + cos L₁ cos L₂ cos DLo

    22°00.0'S 116°00.0'E to 20°00.0'S 31°00.0'E = 4693.5 NM

  2. Initial course

    tan C = sin DLo / (cos L₁ tan L₂ − sin L₁ cos DLo)

    final course 289.4° = D = 4693.5 NM, initial course 253.0° T

The same steps an agent gets from the MCP server with explain: true.

Accuracy: Exact on the sphere of 1 NM per minute of arc; the WGS 84 geodesic beside it differs by up to about 0.5%

When to use this: Use this to plan an ocean passage on the shortest track: the distance, the course to start on, the vertex where the track is farthest from the equator, and points to steer for every so many degrees of longitude. Give a limiting latitude to keep the track out of high latitudes with a composite sailing.

Limitations: Bowditch's great circle is on a sphere; the geodesic on WGS 84 beside it is the true shortest track and differs by up to about 0.5%. The course along a great circle changes continuously, so in practice it is sailed as a series of rhumb lines between the track points. Antipodal places have no single great circle.

Worked example: 22°S 116°E to 20°S 031°E across the Indian Ocean. Source: Bowditch 2024 §1307 example 1: 4,693.5 NM, 253° T; example 3: final course 289.4° T. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

Start latitude
22 S
End latitude
20 S
Start longitude
116 E
End longitude
31 E

You get

Answer
D = 4693.5 NM, initial course 253.0° T
Great-circle distance
4,693.5 NM
Initial course
253°
Final course
289.4°
Vertex latitude
-27.55°
Vertex longitude
76.7577°
Vertex
27°33.0'S 76°45.5'E, on the track
Geodesic on WGS 84
4,703.9 NM
Geodesic initial course
253°
Distance difference
-10.34 NM

Review: Not yet independently reviewed by a geodesist.

Last verified: 2026-09-19, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Checked against: 21 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources

Terms

WGS: World Geodetic System
The US Department of Defense global reference frame and ellipsoid that GPS uses; the current version is WGS 84. Source: Department of Defense World Geodetic System 1984

Experimental means this tool has not yet met the stable bar: at least 20 golden vectors, differential tests, and an independent worked example.

WGS — World Geodetic System

The US Department of Defense global reference frame and ellipsoid that GPS uses; the current version is WGS 84.

Source: Department of Defense World Geodetic System 1984