Methodology and Sources

This page documents how our calculators are built, how we test them, and exactly which sources back every number on the site.

How the calculators work

Each calculator uses a published physics or astronomy formula (shown on its own page) together with constants stored in a single source file and reused across every page that needs them — so a constant is only ever defined once. Before publishing, we run an automated test suite that checks each formula against known reference values (for example, 1 AU = 149,597,870.7 km, the speed of light c = 299,792.458 km/s, and standard gravity = 9.80665 m/s²), plus published escape velocities and five known USNO Moon phase dates.

Declared accuracy

Every calculator states its own limitations on its page. The Moon Phase calculator, specifically, uses the mean synodic month (29.530588 days) rather than the Moon's true date-by-date orbit, and we declare a ±2-day margin of error based on our own tests against USNO reference dates.

Primary sources used across this site

Updates

When a source updates a figure we use, we update the corresponding constant, cite the new access date, and re-run our test suite before republishing.