NauticTools2

Celestial navigation

Computed altitude and azimuth – solving the navigational triangle

Every celestial position line needs the altitude the body should have from the DR position and the direction in which it lies. From DR latitude, declination and local hour angle NauticTools2 calculates the computed altitude Hc and the azimuth – the working step between the ephemeris and the position line.

The Vega textbook example – in the Android version.

The navigational triangle

The celestial north pole, the observer's zenith and the body form a spherical triangle. Two sides and the angle between them are known: from pole to zenith 90° − φ, from pole to body 90° − δ, and the angle at the pole is the local hour angle. Wanted are the third side – the zenith distance 90° − Hc – and the angle at the zenith, the azimuth.

Sketch: navigational triangle with celestial north pole, zenith and body – sides 90° − φ, 90° − δ and 90° − Hc, angle LHA at the pole and azimuth at the zenith Pole P Zenith Z (DR position) Body 90° − φ 90° − δ 90° − Hc LHA Az
The navigational triangle: from the sides 90° − φ and 90° − δ and the included angle LHA follow the zenith distance 90° − Hc and the azimuth at the zenith.

When do you need it?

Formulas and working

sin Hc = sin φ · sin δ + cos φ · cos δ · cos LHA
  1. Inputs

    DR latitude φ, declination δ (both signed, north positive) and local hour angle LHA = GHA + λ from the ephemeris calculation.

  2. Computed altitude

    With the formula above, the cosine rule of the navigational triangle.

  3. Azimuth

    From the auxiliary values hy = −sin LHA and hz = cos φ · tan δ − sin φ · cos LHA; their ratio and the sign of hy fix the quadrant, azimuth from 0° to 360°.

  4. Intercept

    With the observed altitude Ho from the sextant corrections: intercept = Ho − Hc, in minutes of arc equal to nautical miles.

Worked examples

22 October 2026 off Martinique, DR position 14° 30′ N, 061° 20′ W. For the star Vega at 22:08:35 UT the ephemeris gave declination 38°48.4′ N and local hour angle 022°42.3′. What are Hc and azimuth?

Hc = 58°31.6′
Azimuth = 324.8°
With Ho = 58°28.3′ from the sextant corrections: intercept = 3.3 nm away, i.e. offset 3.3 nm in direction 145°

Same DR position, star Shaula at 22:09:55 UT: declination 37°07.2′ S, local hour angle 038°38.5′.

Hc = 26°51.8′ · azimuth = 213.9°
With Ho = 26°53.0′: intercept = 1.2 nm towards, in direction 214°

Things to watch out for

How it works in NauticTools2

  1. Enter the values

    DR latitude, declination and local hour angle in degrees and minutes, each with N/S. At sea, “Take latitude from GPS” fills in the current latitude as DR latitude.

  2. Calculate

    Hc and azimuth appear in the result, the working below.

  3. Carry on

    For two or three bodies, Fix from altitudes brings all steps together to the fix. Inputs can be saved and the result printed.

Frequently asked questions

What is the computed altitude Hc?

The altitude the body should have at the time of the sight as seen from the DR position. Comparing it with the observed altitude Ho gives the intercept by which the position line is offset from the DR position.

What does a positive intercept mean?

The observed altitude is greater than the computed one – you are closer to the body's geographical position. The position line then lies intercept miles towards the body along the azimuth; a negative intercept means away from it.

Why is one minute of arc one nautical mile?

A nautical mile is defined as one minute of arc on a great circle of the Earth. An altitude difference of 1′ therefore offsets the position line by exactly 1 nm.

Related tools

NauticTools2 is free and runs on Windows 10 and 11. An Android version is in preparation.

Get it from the Microsoft Store