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 , month (January = 1), day and the integer part of :
where , and . For each fraction take only its integer part.
A Julian day begins at midday of UT1, so hours, minutes and seconds are added as:
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:
Here , where 2451545.0 is midday of 1 January 2000 in terrestrial time, and 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 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 to a fraction of a century |
| GMST base term | 280.46061837° | Constant of the GMST polynomial |
| GMST daily rate | 360.98564736629° | Multiplier of |
| Quadratic coefficient | 0.000387933 | Coefficient of |
| Cubic denominator | 38710000 | Divisor of |
| 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 and , so both the and 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.
- 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.
- If you enter only the time, the tool returns Greenwich mean and local sidereal time.
- To get local sidereal time for your position, also enter your longitude and choose your hemisphere: East uses the value +1, West uses −1.
- 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 and terms do?
They are long-term correction terms. With 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.