# Local sidereal time calculator

> Sidereal time is the Earth's rotation measured against the stars instead of the Sun. It fixes which degree of the zodiac is rising, so it sits underneath every ascendant and house cusp. Enter a local time and longitude to get it.

Source: https://astronode.dev/tools/sidereal-time-calculator · Updated: 2026-12-01

The interactive tool runs in the browser at https://astronode.dev/tools/sidereal-time-calculator; this file is its explanation.

## Sidereal time in one paragraph

A solar day is 24 hours; one rotation of the Earth relative to the stars is about **23 h 56 min 4 s**, because the Earth also moves along its orbit. Greenwich mean sidereal time (GMST) is that stellar clock read at Greenwich; local mean sidereal time (LMST) adds your longitude, `LMST = GMST + lng / 15` hours. Multiply LMST by 15 and you have the RAMC - the right ascension of the meridian, the angle house-system formulas start from.

## How it is computed

From the UT Julian Day: the Earth Rotation Angle `ERA = 360° × (0.7790572732640 + 1.00273781191135448 × (JD - 2451545.0))`, plus the IAU 2006 polynomial in Terrestrial-Time centuries `(0.014506 + 4612.156534 T + 1.3915817 T² - …)″`. This is the expression Swiss Ephemeris's `swe_sidtime0` uses by default; the TypeScript port here leaves out only its non-polynomial terms, which are below 0.0003 s.

*Agreement with Swiss Ephemeris (scripts/check-marketing-tools.mjs)*

| Range | Largest difference | Why |
| --- | --- | --- |
| 1900-2049 | 0.0002 s | Same expression |
| 2050-2100 | 0.13 s | Swiss Ephemeris switches to its long-term sidereal-time model from 1 Jan 2050 |

Two sanity checks you can run in the tool: J2000 (2000-01-01 12:00 UT, offset `0`, longitude `0`) gives GMST **18:41:50.55**, and the sample birth used across these pages - 1973-04-24 17:25 IST in Mumbai (`lng 72.8777`) - gives LMST **06:55:58.66**.

## What the API does with it

You never send sidereal time; the engine derives it from your UT moment and `lng` inside Swiss Ephemeris's house routine. Vedic endpoints read only the ascendant from it (computed with equal houses, which are defined at every latitude, then made sidereal). KP charts use Placidus cusps, and Western endpoints accept `house_system`: `placidus`, `koch`, `equal`, `whole-sign` or `porphyry`.

Placidus and Koch divide the time a degree takes to rise, and inside the polar circles some degrees never rise - so for some moments their cusps do not exist. The API answers those with `400` and a message naming the house system, and for Western endpoints suggests `porphyry`, `equal` or `whole-sign`, which work everywhere.

## Common mistakes

- **Using local civil time as UT.** Sidereal time needs the UT instant; with a 330-minute offset that is a 5.5-hour error, which moves the ascendant through several signs.
- **West-positive longitude.** Some older software stores longitude west-positive. The API's `lng` (and this tool) are east-positive: New York is about `-74`.
- **Mean versus apparent.** Apparent sidereal time adds the equation of the equinoxes (nutation), at most about a second. This tool shows mean time; house routines use apparent, so expect a difference of up to about 15″ of RAMC.
- **Comparing to a solar clock.** Sidereal time gains about 3 min 56 s a day on clock time, so a table for one date cannot be reused for another.

## FAQ

**Why does the ascendant change so fast?**

The whole zodiac rises once per sidereal day, so the ascendant moves about one sign every two hours on average - a 4-minute error in birth time can move it a full degree.

**Does the API return sidereal time?**

No. It is an internal step. Use this tool to check an ascendant or house cusp by hand, or to debug a time conversion.

**Why is there a jump in accuracy at 2050?**

Swiss Ephemeris uses one sidereal-time expression from 1850 to 2049 and a long-term model outside that window. The port uses the first everywhere, so it differs from Swiss Ephemeris by about 0.13 s after 2050 - about 2″ of RAMC.

## Related endpoints

- [`POST /v1/charts/birth`](https://astronode.dev/capabilities/vedic/charts-birth) - Birth Chart (Kundli) API
- [`POST /v1/western/natal/houses`](https://astronode.dev/capabilities/western/western-natal-houses) - Western Natal Houses API
- [`POST /v1/kp/house-cusps`](https://astronode.dev/capabilities/kp/kp-house-cusps) - KP House Cusps and Sub-lords API
