DevTools Logo

Moon Phase & Eclipse Predictor

Moon Phase & Eclipse Predictor

Illumination, upcoming lunations and solar/lunar eclipses from Jean Meeus algorithms

Epoch

Phase angle and illumination come from astronomy-engine. Quarter and eclipse searches walk forward from the chosen UTC epoch.

Examples

April 2024 total solar eclipse

Input
upcomingEclipses(new Date("2024-01-01T00:00:00Z"), 1)
Output
solar total on 2024-04-08

The global search finds the 8 April 2024 total solar eclipse.

About this tool

computeMoonPhase reports phase angle, illumination percent, age and a named phase. nextMoonQuarters walks New/First/Full/Last.

upcomingEclipses lists lunar and global solar eclipses for the next N years via astronomy-engine searches.

All math is client-side; the disc is a simple SVG, not a photograph.

How to use this tool

  1. Set UTC

    Pick the epoch datetime.

  2. Predict

    Read illumination, age and the phase name.

  3. Scan ahead

    Use the lunation and eclipse lists.

Use cases

Planning night photos

See illumination and the next full moon.

Eclipse lists without a weather API

Get peak times locally.

Common mistakes

Mistake:Reading the disc as a sky view from your city.

Fix:Illumination is geocentric phase, not a local horizon rendering.

Frequently asked questions

What does this tool do?

It reports illumination and age, lists the next eight lunation quarters, and lists solar/lunar eclipses for three years.

Are eclipse times local?

Peaks are UTC instants from a geocentric/global search, not a city-specific visibility map.

Is my date uploaded?

No. Searches run in the browser.

Why is a new moon not at 0% exactly on the clock?

The named phase uses 45° bins; the exact new moon is the quarter event in the list.

References & standards