Nautical Science › Mathematics for Deck Officers › Further mathematics
Introduction
Three formulae solve every spherical triangle you will meet: the cosine (or haversine) formula when three sides, or two sides and the included angle, are known; the sine formula when a side and its opposite angle are known; and Napier’s rules when one angle or one side is 90°. The haversine is preferred because it never gives two answers.
This article is part of the MarineWise Mathematics for Deck Officers series, in the section “Further mathematics”. It explains naming the parts, the three formulae, why the haversine, and the ambiguity rule, right-angled and quadrantal triangles: Napier’s rules, polar triangles and the ambiguous cases and worked examples.
Before reading, it helps to know Probability: distributions and expected value.
Where this is used at sea
Every great circle calculation and every sight reduction solves a spherical triangle: the initial course and distance between two ports, the calculated zenith distance for an intercept, the hour angle for longitude by chronometer, and the azimuth and amplitude for compass error. Knowing which formula fits the data, and how to pick the right one of two answers, is what keeps these calculations from going wrong.
Understanding the idea
A spherical triangle is formed on the surface of a sphere by three great-circle arcs. Its sides are measured as angles at the centre of the sphere, and its angles add up to more than 180°, so plane trigonometry does not apply.
Three formulae solve every case met in navigation: the cosine (or haversine) formula when three sides, or two sides and the included angle, are known; the sine formula when a side and its opposite angle are known; and Napier’s rules for triangles with a right angle or a 90° side. The navigational triangle (PZX) and great-circle sailing are both spherical triangles solved this way.
Read the full topic in the app
- Naming the parts
- The three formulae
- Why the haversine, and the ambiguity rule
- Right-angled and quadrantal triangles: Napier's rules
- Polar triangles and the ambiguous cases
- Worked examples
Conclusion
Solving spherical triangles: haversine, Napier's rules and ambiguous cases in brief: the points below are what an examiner expects you to state clearly and what you will use on watch.
- Three sides, or two sides and the included angle: haversine or cosine formula — one answer.
- Sine formula: two possible answers; the greater side has the greater angle opposite to it.
- hav θ = (1 − cos θ) ÷ 2 rises steadily from 0° to 180°: no ambiguity.
- Napier: sin middle = tan adjacent × tan adjacent = cos opposite × cos opposite.
- Polar triangle: sides and angles are supplements of the original angles and sides.
The complete “Solving spherical triangles: haversine, Napier's rules and ambiguous cases” – every section, diagram and worked example – plus exam questions and the AI assistant, with MarineWise Pro. The first 5 topics of every subject are free.
Continue in the MarineWise app← Probability: distributions and expected value · All Mathematics for Deck Officers topics

Leave a Reply