Moon Phase & Illumination Calculator

Calculate moon phase, illumination %, and lunar age for any date

Uses Julian date math to compute lunar age in days, the named phase, and percent illumination for any calendar date. For astrophotographers avoiding moonlit nights and outdoor enthusiasts planning by the moon. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

How is the moon phase calculated without a live ephemeris?

The tool converts your date to a Julian Day Number and measures how far it is past a known reference new moon. Dividing that by the synodic month length of about 29.53 days gives the lunar age, which maps directly to the phase.

The Moon’s appearance follows a predictable 29.53-day cycle from new moon to full and back. This calculator converts any calendar date into a Julian Day Number, compares it to a known new moon, and reports the lunar age in days, the named phase, and the percentage of the disc that is illuminated.

The eight named phases

The lunar cycle is divided into eight phases based on how far through the synodic month the date falls:

PhaseApproximate ageApprox. illumination
New Moon0–1.85 days~0%
Waxing Crescent1.85–7.38 days~1–49%
First Quarter7.38–9.22 days~50%
Waxing Gibbous9.22–14.77 days~51–99%
Full Moon14.77–16.61 days~100%
Waning Gibbous16.61–22.15 days~99–51%
Last Quarter22.15–24.0 days~50%
Waning Crescent24.0–29.53 days~49–1%

How it works

The date is first converted to a Julian Day Number (JDN), a continuous count of days used across astronomy so that dates from any calendar can be compared arithmetically. The lunar age is then the JDN distance past a known reference new moon, reduced to fall within one synodic month:

age   = (JDN − reference_new_moon_JDN) mod 29.53059
frac  = age / 29.53059          (0 = new, 0.5 = full)
illum = (1 − cos(2π × frac)) / 2 × 100%

The cosine model maps the phase angle to the lit fraction of the disc. It peaks at 100% at full moon (frac = 0.5) and falls to roughly 0% at new moon (frac = 0). The named phase comes from which eighth of the cycle the age falls into.

Why Julian Day Numbers?

The Julian Day Number system assigns a single integer to every day in history, independent of which calendar (Gregorian, Julian, etc.) was in use at the time. It makes it trivial to calculate how many days have elapsed between any two dates — exactly what you need to find how far the Moon has progressed past a known new moon.

Practical use: planning around moon phase

Astrophotography: the most critical variable for deep-sky imaging is sky brightness. Even a crescent at 20–30% illumination can wash out faint nebulae through a wide-field telescope. Most deep-sky imagers schedule sessions within 3–4 days of new moon, when illumination stays below ~25%. Narrowband filters (H-alpha, OIII) are more tolerant of moonlight but still benefit from darker conditions.

Nature and outdoor planning: full moon nights provide natural illumination useful for hiking and photography but affect nocturnal wildlife behavior significantly. Fishing guides, hunters, and wildlife photographers often plan around the lunar calendar for this reason.

Cultural and agricultural calendars: many traditional and religious calendars are lunar (Islamic Hijri, Hebrew, Buddhist, Hindu) or lunisolar. This calculator gives a quick reference for any date without needing a printed almanac.

Accuracy note

The cosine illumination model is accurate to within a percent or two of a full ephemeris for planning purposes. For scientific applications or precise event timing (exact new moon to the minute), use a dedicated astronomical ephemeris such as JPL Horizons.