Simulation Inputs
All calculations are performed entirely in your browser. No data is transmitted.
Lunar Phase Visualizer
-
Select a date above
Ephemeris Readout
Current Phase -
Illumination -
Lunar Age -
Days Since New Moon -
Days to Full Moon -
Days to New Moon -
Next Full Moon -
Next New Moon -
Synodic Cycle Progress -
30-Day Lunar Phase Calendar
Full Moon   New Moon   Selected Date
Key Lunar Astronomy Terms Explained
Ephemeris
A table or data set listing the calculated positions or phases of a celestial body at regular time intervals. Astronomers use an ephemeris to predict when and where the Moon (or a planet) will appear in the sky.
Synodic Month
The 29.53058867-day cycle it takes the Moon to return to the same phase as seen from Earth. This is longer than the Moon's actual orbital period because Earth is also moving around the Sun during that time.
Waxing
The period when the Moon's illuminated area is growing larger each night, moving from New Moon toward Full Moon. Waxing phases include Waxing Crescent, First Quarter, and Waxing Gibbous.
Waning
The period when the Moon's illuminated area is shrinking each night, moving from Full Moon back toward New Moon. Waning phases include Waning Gibbous, Last Quarter, and Waning Crescent.
Gibbous
A phase where more than half of the Moon's visible face is illuminated. Gibbous moons appear between First Quarter (50%) and Full Moon (100%) on the waxing side, and between Full Moon and Last Quarter on the waning side.
Crescent
A phase where less than half of the Moon's visible face is illuminated, showing a thin arc of light. Crescent moons occur close to the New Moon phase, either waxing (growing) just after New Moon or waning (shrinking) just before.
Lunar Age
The number of days elapsed since the most recent New Moon. A lunar age of 0 means it is New Moon, about 7.38 days means First Quarter, about 14.77 days means Full Moon, and 22.15 days means Last Quarter.
Illumination Percentage
The fraction of the Moon's Earth-facing hemisphere that is currently lit by the Sun, expressed as a percentage from 0% (New Moon, fully dark) to 100% (Full Moon, fully lit). It is calculated from the phase angle between the Sun, Earth, and Moon.

The Complete Guide to Lunar Phase Ephemeris Calculation

Whether you are planning a night photography session, tracking a lunar gardening calendar, preparing for an astronomical observation, or simply curious about the night sky, understanding the Moon's current phase and upcoming cycle is fundamental. This simulator gives you precise, date-accurate lunar data for any point in history or the future.

How to Use This Lunar Phase Simulator

Set the Observation Date using the date picker in Panel 1. The Moon visualizer in Panel 2 will instantly redraw to reflect the accurate phase shape for that date, morphing between crescent, quarter, gibbous, and full illumination. The Ephemeris Readout in Panel 3 updates simultaneously with key metrics including phase name, illumination percentage, lunar age, and countdowns to the next Full Moon and New Moon. Adjust the time and time zone to refine the calculation within a given day. The 30-day calendar below the panels shows a mini-view of the entire upcoming lunar cycle from your selected date.

The Mathematical Foundation: Synodic Month and Meeus Approximation

The core calculation follows the approach in Jean Meeus's "Astronomical Algorithms." The mean synodic month is exactly 29.53058867 days. A known New Moon reference epoch is used: January 6, 2000 at 18:14 UTC (Julian Day 2451549.259). To find the current lunar phase, the algorithm computes the Julian Day Number for the selected date and time, subtracts the reference epoch, and divides by the synodic month length. The fractional part of the result gives the Moon's position within the current cycle as a number from 0 (New Moon) to 1 (return to New Moon). Multiplying by 360 gives the phase angle, and illumination is derived as (1 - cos(phase angle in radians)) / 2.

Reading the Lunar Phase Canvas

The canvas visualizer draws the Moon as a circle with a terminator line separating the lit and dark hemispheres. During waxing phases the right side is illuminated. During waning phases the left side is illuminated. The width of the lit arc grows from a thin sliver at Crescent through a half-circle at Quarter to a fully lit disk at Full Moon. The dark portion uses a deep midnight blue to simulate the night sky background, while the lit portion uses Lunar Silver to represent reflected sunlight. The exact boundary curve is calculated from the illumination fraction so the shape is mathematically consistent with the telescope view from the Northern Hemisphere.

Understanding the 30-Day Lunar Calendar

Starting from your selected observation date, the calendar grid renders 30 consecutive days with a phase icon for each one. Full Moon days are marked with a gold ring and New Moon days with a dim circle. Your selected date is highlighted with a purple border. This gives you a quick visual ephemeris spanning one complete synodic cycle, useful for planning events around specific lunar conditions such as dark sky periods for deep-sky observation (near New Moon) or bright full-moon nights for landscape photography.

Precision and Accuracy Notes

This simulator uses the mean synodic month and a single reference epoch. This approach is accurate to within a few hours for dates within several decades of 2000. For events centuries in the past or future, higher-order perturbation terms from solar and planetary gravity would improve precision. For practical day-level planning, the results here are well within a 24-hour margin. Phase names are determined by eight equal segments of the synodic cycle, each spanning 45 degrees of phase angle.

Frequently Asked Questions About Lunar Phase Calculators

Lunar age is the number of days elapsed since the most recent New Moon. The calculator finds the Julian Day Number for your chosen date, subtracts the Julian Day of a known New Moon reference epoch (January 6, 2000 at 18:14 UTC), and divides by the mean synodic month length of 29.53058867 days. The fractional remainder, multiplied by 29.53058867, gives the current lunar age in days. A lunar age of 0 is a New Moon, age 14.77 is a Full Moon, and age 29.53 returns to New Moon.
The 29.53-day synodic month is the time it takes for the Moon to return to the same position relative to the Sun as seen from Earth. Because Earth itself is orbiting the Sun, the Moon must travel slightly more than one full orbit around Earth to realign with the Sun. The sidereal month (one pure orbit around Earth) is only 27.32 days, but the extra distance Earth travels during that time means the Moon needs about 2.2 more days to catch up, giving a synodic month of roughly 29.53 days.
The astronomical New Moon is the instant when the Moon is perfectly aligned between Earth and the Sun, making its illuminated face invisible from Earth. The visible crescent first appears roughly 18 to 24 hours after that instant, once the Moon has moved far enough from the Sun for a thin sliver to be lit and seen above the horizon after sunset. This simulator calculates the astronomical New Moon; the first visible crescent depends on local horizon conditions, atmospheric transparency, and the observer's latitude.
The fraction of the Moon we see illuminated depends on the angle between the Sun, Earth, and Moon. As Earth orbits the Sun and the Moon orbits Earth, this three-body angle changes continuously. Illumination percentage is approximated as (1 - cos(phase angle)) / 2, where the phase angle is derived from the Moon's current position in its synodic cycle. Near New Moon the phase angle is near 0 degrees and illumination approaches 0%. Near Full Moon the phase angle approaches 180 degrees and illumination approaches 100%.
The main factors are the accuracy of the synodic month constant used, the precision of the New Moon epoch reference date, and whether the algorithm accounts for orbital perturbations. This simulator uses the Meeus mean synodic month of 29.53058867 days and a verified J2000.0-era New Moon epoch. For precise astronomical ephemeris work within a few hours, higher-order perturbation terms from planetary gravity are needed. For date-level accuracy over decades, the mean synodic approach used here is well within one day.
Accuracy Notice: This tool uses mean synodic month approximations (Meeus method) and is suitable for date-level lunar phase planning. Results are typically accurate to within a few hours. For precise astronomical timing (occultations, eclipses, or exact New/Full Moon times to the minute), consult a dedicated ephemeris service such as the US Naval Observatory or JPL Horizons. This tool is not affiliated with any observatory or astronomical authority.