DevTools Logo

Ephemeris Calculator

Ephemeris Calculator

Tropical longitudes, declination and RA for the Sun, Moon and planets — fully offline

Time and location

Uses astronomy-engine (Jean Meeus / VSOP-class series) entirely in the tab. Enter a local time, timezone and coordinates to get longitude, latitude, RA, declination and retrograde flags. Nothing is uploaded.

Examples

J2000 Julian Date

Input
julianDate(new Date("2000-01-01T12:00:00Z"))
Output
2451545

Noon on 2000-01-01 is the standard J2000 epoch.

About this tool

Ephemeris Calculator computes tropical ecliptic longitudes, latitudes, right ascension and declination for the Sun, Moon and eight planets with computeEphemeris(utc, lat, lon).

Positions come from astronomy-engine. Retrograde is a half-day longitude decrease. Results export as JSON or CSV through ephemerisToCsv.

City search is an offline catalog. Local civil time converts with the IANA timezone so birth or event times never leave the device.

How to use this tool

  1. Pick a place

    Search a city or type latitude, longitude and timezone.

  2. Set the instant

    Enter the local date and time, then Calculate.

  3. Read the table

    Use zodiac text, RA hours, declination and the R flag.

  4. Export

    Copy JSON or download CSV for other tools.

Use cases

Checking a transit time

Get tropical degrees for a known UTC instant without an API key.

Seeding another calculator

Export CSV into a spreadsheet or natal-chart workflow.

Common mistakes

Mistake:Treating the local clock as UTC.

Fix:Set the IANA timezone so parseLocalDateTime can shift to UTC.

Mistake:Expecting sidereal longitudes here.

Fix:This table is tropical. Use the Sidereal / Tropical Converter for ayanamsa.

Frequently asked questions

What does this tool do?

It runs computeEphemeris for the Sun, Moon and eight planets, returning tropical longitude, latitude, RA, declination and a retrograde flag.

Which algorithms are used?

astronomy-engine implements Jean Meeus / VSOP-class series in TypeScript. There is no Swiss Ephemeris WASM file and no server.

Is my location uploaded?

No. City search is a local catalog and all math stays in the tab.

Why is the Sun not exactly 0° Aries on the calendar equinox?

The equinox is an instant, not a calendar day. Use the UTC time of the equinox if you need 0° Aries.

References & standards