HomeArticlesShip Navigation

Ship Navigation: Sextants, Sight Reduction and GPS Triangulation

How a single sextant angle becomes a line of position, how dead reckoning fills the gaps, and how GPS solves the same triangulation problem with radio time-of-flight.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

Fixing a position with no landmarks

Long before satellites, a navigator out of sight of land had exactly two tools for finding position: a clock and the sky. Celestial navigation reduces to a single geometric trick — measure the angle between a known celestial body (the sun, a star, a planet) and the horizon with a sextant, note the exact time, and that single measurement puts you somewhere on a circle on the Earth's surface called a circle of equal altitude. Two such circles from two different bodies (or the same body at two different times) intersect at two points, and a rough idea of where you already are picks the right one.

live demo · dead reckoning track drifting from the true course● LIVE

The angle a body appears above the horizon is called its altitude (h), and the point on Earth directly beneath the body is its geographic position (GP). A body at altitude 90° minus its zenith distance z sits on a circle of radius z (in nautical miles, since 1 minute of arc ≈ 1 nautical mile) centred on the GP. The core equation of sight reduction compares the altitude you measured with the altitude you would expect from an assumed position, using standard spherical trigonometry:

sin(h) = sin(Lat)·sin(Dec) + cos(Lat)·cos(Dec)·cos(LHA)

h   = calculated altitude at the assumed position
Lat = assumed latitude          Dec = body's declination (from the almanac)
LHA = local hour angle = GHA(body) − assumed longitude (west positive)

The difference between the sextant altitude and this calculated altitude, the intercept, tells you to slide the line of position toward or away from the body's azimuth. Draw that line on the chart from your assumed position and you have a line of position (LOP); two or three LOPs from different bodies, taken close together in time and adjusted for the ship's motion between sights, cross in a small triangle — the “cocked hat” — and your fix sits inside it.

Dead reckoning between fixes

Celestial fixes are occasional — clouds, daylight and the horizon all get in the way. Between them, a navigator advances the position by dead reckoning: keep a running plot of every course steered and every distance logged, correct for the known set (current) and drift, and the estimated position walks forward minute by minute. Dead reckoning accumulates error steadily — an uncorrected compass, a current you didn't know about, or leeway from the wind all bias the plot in one direction — which is exactly why a celestial or electronic fix is needed periodically to reset it.

GPS: the same triangulation, radio instead of stars

A GPS receiver solves a strikingly similar problem with radio waves instead of starlight. Each satellite broadcasts its own precise position and the exact time the signal left it; the receiver measures how long the signal took to arrive and multiplies by the speed of light to get a pseudorange — “pseudo” because the receiver's own clock is a cheap quartz oscillator, not an atomic one, so every range is off by the same unknown clock bias. Four unknowns (three position coordinates plus that clock bias) need four equations, which is why a GPS fix needs a minimum of four visible satellites:

ρᵢ = √[(x−xᵢ)² + (y−yᵢ)² + (z−zᵢ)²] + c·Δt      for i = 1..4

ρᵢ = pseudorange to satellite i     (xᵢ,yᵢ,zᵢ) = satellite i position
c  = speed of light                 Δt = receiver clock bias (unknown)

The receiver solves this nonlinear system by least-squares iteration, and the geometry of the visible satellites matters as much as the ranging accuracy — satellites clustered together in the sky give a poorly conditioned solution (a large Dilution of Precision), while satellites spread widely across the sky pin the position down tightly.

Why navigators still learn the sextant

GPS can fail — jamming, spoofing, a solar storm, or simply a dead receiver — and a vessel with no backup has no way to know where it is. Celestial navigation needs nothing but an almanac, a sextant, an accurate clock and a clear sky, which is why merchant and naval academies still require it and why the Nautical Almanac is still printed every year. Dead reckoning, likewise, is not a relic: it is the method that fills the gaps between any two fixes, satellite or celestial, and understanding its error growth is what tells a navigator how much to trust the plot before the next fix arrives.

Frequently asked questions

Why do you need at least three stars for a celestial fix?

One star gives a circle of position, which by itself only narrows your location to a line once you approximate it locally as a straight line of position. Two lines of position cross at a point, but errors in each sight make that crossing uncertain; a third star from a different direction turns the intersection into a small triangle whose size tells you how much to trust the fix.

Why does GPS need four satellites instead of three?

Your position has three unknown coordinates, but the receiver's clock is also unknown and drifts independently of the satellites' atomic clocks. That is a fourth unknown, so a fourth pseudorange equation is needed to solve for it — with only three satellites the clock bias and the position error are tangled together and cannot be separated.

How much does dead reckoning error grow over time?

It depends entirely on the quality of the course and speed data, but error accumulates roughly linearly with time and distance run, since every uncorrected heading or current error keeps pushing the estimated position in the same direction until the next independent fix resets it.

Try it live

Everything above runs in your browser — open Ship Navigation and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Ship Navigation simulation

What did you find?

Add reproduction steps (optional)