How CycleCalcs Computes the Sky

Every position, phase, eclipse and cycle on this site is worked out live in your browser from a precise astronomical model, not looked up from a stored table. This page explains the engine behind those numbers, how accurate they are, and the data and references they rest on.

Everything runs in your browser

There is no server doing the astronomy. When you open a page, a compact ephemeris library runs on your own device and computes the Sun, Moon and planet positions, the Moon's phase, rise and set times, conjunctions, eclipses, and the equinoxes and solstices for the exact date and time you are looking at. The location you choose and anything you type are processed on your device and are not sent to us or stored; the result is simply drawn on the page. That is why the live pages are always current and never stale.

The astronomy engine

The calculations use Astronomy Engine (version 2.1.19), an open-source ephemeris library written by Don Cross and released under the permissive MIT License. It is the only calculation library the site ships, vendored as astronomy.browser.min.js. Astronomy Engine implements the standard models used across professional ephemerides, VSOP87 for the planets, an abridged lunar theory for the Moon, and the IAU series for precession, nutation and Earth orientation, and it is tested against NASA JPL's Horizons ephemeris.

How accurate is it?

For dates from roughly 1700 to 2200, positions are good to well under a degree, typically to about an arcminute (a sixtieth of a degree) for the Sun, Moon and planets. Accuracy tapers gracefully for dates far outside that window, which is why the tools cap their date ranges there. The underlying models, VSOP87 for the planets and the IAU precession and nutation series, are the standard ones documented in Jean Meeus's Astronomical Algorithms, so the results match what an almanac or a planetarium program would give to within a fraction of a degree.

A few of the very longest cycles are quoted as round or approximate figures on purpose, and are flagged as such. The Great Year of precession is given as the traditional 25,920 years, a cultural round number that works out to exactly 72 years per degree; and the deep-time Milankovitch and galactic cycles (tens of thousands to hundreds of millions of years) are approximate averages that themselves drift over time.

Data sources

References and further reading

What this is not

CycleCalcs is positional astronomy and mathematics, presented clearly. It is not astrology: none of these positions, cycles or alignments are claimed to influence people, events, markets or the weather. The only predictions here are the astronomical events themselves, which follow from celestial mechanics. Each tool's own notes describe exactly what it computes and any limits.

Found an error, or have a source we should add? Email info@cyclecalcs.com.