Sidereal Time Calculator
Calculate Greenwich Mean Sidereal Time (GMST) and Local Sidereal Time (LST) based on date, time, and longitude.
Understanding Sidereal Time
Sidereal time is a timekeeping system that astronomers use to locate celestial objects. Unlike solar time, which is synchronized to the position of the Sun, sidereal time is based on Earth's rotation relative to distant, fixed stars.
Because Earth is constantly orbiting the Sun, a solar day is slightly longer than a sidereal day. As Earth rotates on its axis, it also moves along its orbit around the Sun. To align the Sun at the same position in the sky again, Earth must rotate slightly more than 360 degrees. This extra rotation takes about 4 minutes. In contrast, for the stars to return to the same position, Earth only needs to complete one true 360-degree rotation.
The Math Behind Sidereal Time
The calculations begin with the Julian Date (JD), which represents the continuous count of days since the start of the Julian Period. We calculate Greenwich Mean Sidereal Time (GMST) in degrees using the following approximation:
\[ \text{GMST} = 280.46061837 + 360.98564736629 \times (JD - 2451545.0) + 0.000387933 \times T^2 - \frac{T^3}{38710000} \]where \(T\) is the number of Julian centuries elapsed since the J2000.0 epoch (January 1, 2000, at 12:00 UTC):
\[ T = \frac{JD - 2451545.0}{36525} \]Once GMST is calculated, we normalize the result to the range [0, 360) degrees. To calculate Local Sidereal Time (LST), we adjust the GMST based on the observer's longitude:
\[ \text{LST} = \text{GMST} + \text{Longitude} \]In this convention, longitude east of the prime meridian is positive, and longitude west of the prime meridian is negative.
Solar Time vs. Sidereal Time
A standard solar day is exactly 24 hours. A sidereal day is approximately 23 hours, 56 minutes, and 4.09 seconds. This difference means that any given star rises about 4 minutes earlier each day. If you want to view a specific constellation or track a planet, sidereal time tells you exactly when that object will cross your local meridian.
If you are interested in tracking other astronomical events, you can check our Moon Phase Calculator to plan your night sky observations.
Frequently Asked Questions
What is a sidereal day?
A sidereal day is the time it takes for Earth to complete one full rotation on its axis relative to the fixed stars. It is equal to approximately 23 hours, 56 minutes, and 4.09 seconds.
Why is sidereal time useful for astronomers?
Astronomy relies on fixed coordinates. Because sidereal time matches the rotation of Earth relative to the background stars, a star will always cross the local meridian at the same sidereal time every single day. This makes it easy to locate objects using telescopes.
How does longitude affect Local Sidereal Time (LST)?
LST depends directly on your longitude. LST is calculated by adding your longitude (in degrees) to the Greenwich Mean Sidereal Time (GMST). If you are east of the prime meridian, your LST is ahead of GMST, and if you are west, it is behind.
What is the difference between GMST and GAST?
Greenwich Mean Sidereal Time (GMST) is the sidereal time at the Greenwich meridian neglecting the short-term fluctuations caused by the gravitational pull of the Sun and Moon on Earth's axis (nutation). Greenwich Apparent Sidereal Time (GAST) includes these effects, adjusting for the equation of the equinoxes.