Celestial navigation
Fix from 2 or 3 altitudes – position lines, cocked hat and plotting sheet
The goal of all celestial navigation: the vessel's position from two or three measured altitudes. NauticTools2 turns every sight into a position line, runs earlier lines on to the time of the last one, draws everything on a plotting sheet and gives the observed position, the fix run from the DR position and the complete working.
- Intercept method
- Position lines
- Running fix with COG/SOG
- Cocked hat
- Noon latitude as a position line
- Plotting sheet
The road to the fix
Behind every position line there is a whole chain of calculations. NauticTools2 works through it automatically for every sight – but each step is also available as a tool of its own, to follow it in detail or to practise by hand:
Ephemeris
Declination and Greenwich hour angle (GHA) of the body at the time of the sight; with the DR longitude this gives the local hour angle (LHA).
Sextant altitude corrections
From the sextant reading Hs via index correction, dip, refraction, semi-diameter and parallax to the observed altitude Ho.
Altitude and azimuth
The altitude Hc the body should have from the DR position, and its bearing – from the navigational triangle.
Position line
Intercept Δh = Ho − Hc: that many nautical miles from the DR position towards the body (away from it if negative), at right angles to the azimuth.
Fix
Crossing two or three position lines – that is this tool.
What is a position line?
All places from which a body appears at the same altitude at the same moment lie on a circle around its geographical position. The circle is so large that the part near the DR position is drawn as a straight line – the position line. It is laid off from the DR position: the intercept in nautical miles along the azimuth, then at right angles to it. A second position line from a body in a different direction crosses the first at the observed position.
When do you need it?
- At sea without GPS: if the electronics fail, celestial navigation is the only independent way of fixing the position offshore.
- Checking the GPS: a celestial fix shows whether the satellite position is plausible – and keeps your sextant skills fresh.
- Stars at twilight: during nautical twilight the horizon and bright stars are visible at the same time. Three stars in well spread directions give a fix with a cocked hat.
- The sun through the day: a sun line in the morning, the noon latitude at midday, another sun line in the afternoon – each run on to the time of the last.
Formulas and working
For each position line
Ephemeris, sextant corrections, Hc and azimuth as above; from these the intercept. Each position line starts from its own DR position.
Noon latitude as a position line
The time is the meridian passage at the DR longitude, the computed altitude is Hc = 90° − (Lat − Dec) with the sun bearing south, azimuth 180°. The position line is the east-west parallel of the noon latitude.
Running fix
Earlier position lines are moved parallel by SOG · Δt along COG to the time of the last sight. Without COG and SOG they stay where they are.
Intersection
Two position lines: the point where they cross. Three position lines: the centre of the cocked hat formed by the three pairwise intersections.
Fix run
Direction and distance from the DR position of the last position line to the observed position, plus the smallest angle of cut as a measure of how well the lines cross.
Worked example
22 October 2026, nautical twilight off Martinique. From the DR position 14° 30.0′ N, 061° 20.0′ W, Vega, Shaula and Saturn are shot
one after another (index error −1.0′, height of eye 3 m). The yacht makes good 280° at 6 kn.
Vega 22:08:35 UT, Hs 58°33.0′ · Shaula 22:09:55 UT, Hs 26°59.0′ · Saturn 22:12:25 UT, Hs 22°36.0′. Where is the yacht?
Vega: intercept −3.3′, azimuth 324.8°, run 0.4 nm on 280°
Shaula: intercept +1.2′, azimuth 213.9°, run 0.2 nm on 280°
Saturn: intercept −5.3′, azimuth 094.6°
Angle of cut 50° · fix run 227.8° / 4.3 nm
Observed position: 14° 27.1′ N, 061° 23.3′ W
Things to watch out for
- Angle of cut: two position lines should cross at 30° or more, ideally around 90°. With three bodies, bearings about 120° apart are ideal.
- Size of the cocked hat: a few nautical miles are normal. If it is much larger, check the sight, the time or the body chosen.
- Be realistic about the fix run: three to five nautical miles are already a good result in practice – a sextant on a rolling yacht is not a laboratory instrument.
- Take the time accurately: four seconds of time error shift the fix by up to one minute of longitude.
- Order: the last position line is the latest sight – the others are run on to its time, so it has no run itself.
How it works in NauticTools2
First position line
Choose the body (sun or moon with limb, Venus, Mars, Jupiter, Saturn, a star or the noon latitude), then date and time, DR position, sextant reading, index correction and height of eye. Labels shown in blue tell you what is still missing.
More position lines
“+ Add line of position” – up to three. “Copy from 1st line of position” copies date, DR position, index correction, height of eye and COG/SOG. With COG and SOG a position line is run on.
Read off the fix
As soon as two position lines cross, the plotting sheet, position, fix run and working appear.
Print and save
The printout fits even three position lines with their working on one page, with the plotting sheet on the second. Exercises can be saved and loaded again.
Exercises with Ho, Hc and azimuth
For exercises where observed altitude, computed altitude and azimuth are already given, there is the input mode “Enter Ho, Hc and Az directly”.
Printable record
Every fix can be printed as a record or saved as a PDF. Even with three position lines, the inputs, the working of each position line, the result and the working of the fix fit on one page – the plotting sheet follows on the second.
View the example record as PDF ›
Frequently asked questions
How many bodies do you need for a fix?
Two position lines give an intersection and therefore a fix. Three are better: they form a cocked hat whose size shows how well the sights agree.
What is a cocked hat?
Because of small errors in the sights and the timing, three position lines hardly ever meet in one point. The observed position is taken as the centre of the triangle; a large triangle points to a mistake.
What is a running fix?
If the vessel moves between two sights, the earlier position line is moved parallel by SOG times the time difference along COG. All position lines then refer to the time of the last sight.
Can the noon latitude be combined with other position lines?
Yes. It is itself a position line, an east-west parallel, and NauticTools2 offers it as its own type of position line – for example with the sun in the morning or a planet in the evening. The classic case is also covered by the sun-run-noon fix.
Related tools
- Ephemeris calculation – declination and Greenwich hour angle
- Sextant altitude corrections – from the reading Hs to the observed altitude Ho
- Computed altitude and azimuth – Hc and azimuth from the navigational triangle
- Noon latitude – latitude from the sun's meridian altitude
- Sun-run-noon fix – the sun in the morning plus the noon latitude
- Star chart and rising and setting – which stars are up at twilight
NauticTools2 is available for Windows 10 and 11 (free) and for Android (€9.99 one-off).
Windows: get it from the Microsoft Store Android: get it on Google Play