Gloss Tools

Moon Phase Calculator

Enter a Gregorian date to see the Moon's age, illumination, and eight-phase name for that day (evaluated at 12:00 UTC), plus how many days remain until the next new and full moons and their dates in UTC and in your chosen offset — handy for planning moon watching, photography, or camping. Everything is computed locally with a fixed average synodic month; no network, no almanac lookup.

Date and offset

A Gregorian date in YYYY-MM-DD format, from 1900-01-01 to 2100-12-31.

Format +HH:MM or −HH:MM; minutes must be 00, 15, 30 or 45; range −12:00 to +14:00. It only changes the local dates shown for the next new and full moons; it does not affect the evaluation moment or any other output.

Nothing calculated yet. Enter a date or load the example.

How it works

The evaluation moment is fixed at 12:00 UTC on the chosen date. The Moon's age uses the fixed synodic month S = 29.530588853 days and the reference new moon JD 2451550.1: age = (JD − 2451550.1) mod S (positive modulo, in [0, S)). The eight phases are segments of width S/8 centred on the cardinal moments; illumination = (1 − cos(2π × age / S)) / 2. The next new and full moons come from the unrounded age, and their dates are converted to your UTC offset for the local view. Age, illumination, and day counts are displayed rounded half-up to one decimal; the phase and the event dates always use the unrounded values. Date and Julian-day conversions use integer algorithms only — no Date object, no dependence on your device's timezone.

Frequently asked questions

Which moment is the phase for?
Noon UTC on the chosen date; a single night can straddle a boundary, so the daily value is representative.
Why can the full moon differ by a day from an almanac?
The average synodic month is an approximation; actual times vary by hours and can fall on the other side of midnight.

All calculations run locally on this page; your input is never uploaded, stored, or logged.