NauticTools2

Celestial navigation

Ephemeris calculation – GHA and declination for any moment

Every celestial position line needs the Greenwich hour angle and the declination of the body. NauticTools2 calculates them for the sun, moon, Venus, Mars, Jupiter, Saturn and 83 stars – to the second, for any date, without looking up and interpolating in the Nautical Almanac.

Deneb on 22 October 2026 at 16:37:54 UT1 – in the Android version.

What is calculated?

Sketch: view from above onto the celestial equator – GHA of Aries 280°36.1′ plus the sidereal hour angle of Deneb 49°24.9′ gives the GHA of Deneb 330°01.0′, all measured westward Greenwich Aries ♈ Deneb SHA 49°25′ GHA ♈ = 280°36.1′ GHA ★ = 330°01.0′ celestial north pole view from above · measured westward
For a star the GHA has two parts: the GHA of Aries (blue) and the sidereal hour angle SHA from Aries to the star (green). Together they give the GHA of Deneb (yellow).

When do you need it?

Formulas and working

GHA ★ = GHA ♈ + SHA · LHA = GHA + λ
  1. Time

    Date and time in UT1, to the second – the sun's GHA grows by 15′ per minute.

  2. Sun, moon and planets

    GHA and declination come from a modern astronomy library that runs offline – reliable even far outside 1950 to 2050.

  3. Stars

    SHA and declination are brought from epoch 2000.0 to the date (precession, nutation, aberration). The GHA of Aries comes from sidereal time; the sum is the GHA of the star.

  4. Local hour angle

    LHA = GHA + λ – add east longitude, subtract west longitude.

Example

GHA and declination of Deneb on 22 October 2026 at 16:37:54 UT1 – and the local hour angle at Kiel (010° 08.0′ E)?

SHA = 049°24.9′
GHA ♈ = 280°36.1′
GHA = 280°36.1′ + 049°24.9′ = 330°01.0′
Declination = 45°22.6′ N
LHA = 330°01.0′ + 010°08.0′ = 340°09.0′

Things to watch out for

How it works in NauticTools2

  1. Enter the time

    Date and time (UT1); the current time is filled in.

  2. Choose the body

    Sun, moon, one of the planets or a star from the list. The list starts with the 57 navigational stars of the Nautical Almanac with their numbers, then Polaris, then further bright stars in alphabetical order.

  3. Local hour angle

    Optionally tick “Calculate local hour angle t” and enter your longitude.

  4. Calculate, save, print

    The values appear in the result; inputs can be saved and loaded, the result printed as a record or saved as a PDF.

Frequently asked questions

What is the Greenwich hour angle?

The angle between the Greenwich meridian and the body, measured westward. Together with the declination it fixes the point on Earth directly beneath the body – its geographical position.

Why do you get SHA and GHA Aries for stars?

The stars hardly move relative to each other. So the almanac gives each star only its sidereal hour angle from Aries, plus the GHA of Aries for every hour. Their sum is the GHA of the star – NauticTools2 shows both parts.

Does the tool replace the Nautical Almanac?

It gives the same values for any moment and any year. For exams and as a backup on board, the printed almanac is still worth having.

Related tools

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

Get it from the Microsoft Store