Guides

How to Calculate Sidereal Time: Greenwich and Local

Calculate sidereal time: convert the date to Julian time, apply the GMST formula, turn degrees into hours, and adjust for longitude to get local sidereal time.

Miryori Editorial Team4 min read
Try the Sidereal Time Calculator

Astronomers do not measure the sky with ordinary clock time. Because Earth both spins on its axis and travels around the Sun, the stars return to the same place roughly four minutes earlier each night. Sidereal time is the clock that follows that stellar rhythm, and you can compute it from a single date and time with a short chain of formulas.

To calculate sidereal time, first convert the UT1 date and time to a continuous Julian time value. Insert that value into the Greenwich mean sidereal time (GMST) formula, which returns an angle in degrees. Reduce it modulo 360°, then divide by 15 to express it in hours. For an observer away from Greenwich, add the longitude in hours to obtain local mean sidereal time, or use the apparent value when nutation is included.

What is the Julian date and Julian time formula?

Julian time is a continuous count of days from an initial reference date, 1 January 4713 BC, extended with hours, minutes and seconds. The Julian day number JDN is found from the year yy, month mm (January = 1), day dd and the integer part zz of (m−14)/12(m-14)/12:

JDN=A4+B12−C4+d−32075\text{JDN} = \frac{A}{4} + \frac{B}{12} - \frac{C}{4} + d - 32075

where A=1461y+4800+zA = 1461y + 4800 + z, B=367(m−2−12z)B = 367(m - 2 - 12z) and C=3(y+4900+z100)C = 3\left(\frac{y + 4900 + z}{100}\right). For each fraction take only its integer part.

A Julian day begins at midday of UT1, so hours, minutes and seconds are added as:

JT=JDN+h−1224+min1440+sec86400\text{JT} = \text{JDN} + \frac{h - 12}{24} + \frac{\text{min}}{1440} + \frac{\text{sec}}{86400}

If the time is before 12 UT1, assign it to the previous day's JDN. UT1 is the time scale tied to the distant stars; it differs from UTC by less than 0.8 seconds.

What is the Greenwich mean sidereal time formula?

Once Julian time is known, GMST follows from a polynomial in the elapsed time since the reference epoch:

GMST=280.46061837+360.98564736629⋅Dtt+0.000387933 t2−t338710000\text{GMST} = 280.46061837 + 360.98564736629 \cdot D_{tt} + 0.000387933\, t^2 - \frac{t^3}{38710000}

Here Dtt=JDT−2451545.0D_{tt} = \text{JDT} - 2451545.0, where 2451545.0 is midday of 1 January 2000 in terrestrial time, and t=Dtt/36525.0t = D_{tt}/36525.0 is the fraction of a century elapsed. The result is an angle in degrees. Each sidereal day is one complete rotation, so the angle is reduced modulo 360° and divided by 360/24=15360/24 = 15 to convert it to hours.

The constants used in these formulas are all fixed by the source data:

Quantity Sourced value Role
Julian date epoch 1 January 4713 BC Start of the continuous day count
JDN constant 32075 Offset in the Julian date formula
J2000.0 reference 2451545.0 Midday 1 January 2000, terrestrial time
Century divisor 36525.0 Converts DttD_{tt} to a fraction of a century
GMST base term 280.46061837° Constant of the GMST polynomial
GMST daily rate 360.98564736629° Multiplier of DttD_{tt}
Quadratic coefficient 0.000387933 Coefficient of t2t^2
Cubic denominator 38710000 Divisor of t3t^3
Degrees per hour 15 360° / 24, converts angle to hours
UT1 versus UTC under 0.8 s Maximum stated difference

Worked example: GMST at the J2000.0 epoch

At the reference instant itself, midday 1 January 2000, JDT equals 2451545.0. That makes Dtt=0D_{tt} = 0 and t=0t = 0, so both the t2t^2 and t3t^3 terms vanish and GMST is simply 280.46061837°. Dividing by 15 gives 18.697374558 hours, or 18h 41m 50.55s.

Now add an observer's longitude. For a hypothetical site at 45° east, divide 45 by 15 to get 3 hours of longitude. The local mean sidereal time is 18.697374558 + 3 = 21.697374558 hours, that is 21h 41m 50.55s. These are arithmetic results from the sourced constants; only the observer's longitude was chosen for the example.

How do I use the sidereal time calculator?

The calculator follows the same four-step workflow: convert UT1 and the date to Julian time, apply the angle formula, convert the angle to hours, and include nutation when apparent time is wanted.

  1. On opening the tool you see your local time as the default value. Change it with the drop-down interface or by typing numbers in the correct format.
  2. If you enter only the time, the tool returns Greenwich mean and local sidereal time.
  3. To get local sidereal time for your position, also enter your longitude and choose your hemisphere: East uses the value +1, West uses −1.
  4. Click "additional parameters" to inspect the longitude and obliquity components used for the equation of the equinoxes, plus the Julian date conversion.

FAQ

What time standard does the calculation use?

UT1, an accurate measurement of time based on the position of distant stars. The source states it differs from coordinated universal time (UTC) by a variable quantity smaller than 0.8 seconds.

Why does the Julian day start at midday?

The Julian day is defined to begin at 12 UT1. That is why the Julian time formula subtracts 12 hours in the numerator. When the clock time is earlier than 12 UT1, the day number belongs to the previous day.

Why reduce the GMST angle modulo 360°?

Every sidereal day corresponds to one complete rotation of Earth. Reducing the angle to the 0–360° range keeps the sidereal time within a single daily cycle before it is converted to hours.

What do the t2t^2 and t3t^3 terms do?

They are long-term correction terms. With tt measured in centuries from 2451545.0, the coefficients 0.000387933 and 1/38710000 refine the GMST value for dates away from the J2000.0 reference epoch.

References

  • Explanatory Supplement to the Astronomical Almanac (Seidelmann), cited in the source material for equinox-related corrections.
  • Astronomical Almanac conventions for Julian dates, UT1 and Greenwich sidereal time.
  • Standard angular conversion: a full circle of 360° corresponds to 24 hours, or 15° per hour.
Calculator

Sidereal Time Calculator

Sidereal Time: how do you calculate the sidereal time? What is the sidereal time? Does it matter? Learn all the answers with us!. Free, fast and private.

Try the Sidereal Time Calculator