Moon Phase Calculator
Calculate the approximate moon phase for any given date
About This Tool
You're planning a camping trip and want to know if you'll have a bright moon for night-hiking, or you're curious if your kid was born under a full moon (a remarkable number of people believe full moons cause busy ER nights — the data is mixed but the question is fun).
Enter a date. The calculator returns the approximate moon phase: new, waxing crescent, first quarter, waxing gibbous, full, waning gibbous, last quarter, waning crescent. The math uses the synodic month length (29.53 days) and a known reference new moon to compute the phase angle for your target date. Accuracy is within a few hours, which is fine for casual purposes — astrophotographers and astronomers should use a tool that accounts for orbital eccentricity and parallax for sub-hour precision.
The calculation: take the days elapsed between a known reference new moon (e.g., January 6, 2000) and your target date. Divide by the synodic month length (29.53059 days), take the fractional part, and multiply by 8 to map to one of eight phase bins. Phase 0 is new moon, phase 4 is full moon, etc. The synodic month is the average period between successive identical phases — it's longer than the sidereal month (27.32 days, the time for the moon to orbit Earth once relative to the stars) because Earth has moved around the sun in the meantime, requiring the moon to travel slightly farther to reach the same phase.
A worked example: target date is July 4, 2024. Days from reference new moon (Jan 6, 2000): about 8,946 days. Divide by 29.53059: 302.94. Fractional part: 0.94. Multiply by 8: 7.52, rounding to phase 7 (waning crescent). So July 4, 2024 was in waning crescent — about 5 days before the next new moon. The actual astronomical phase was about 5% illuminated, which matches "waning crescent" categorization. Accuracy is plenty for camping or hiking decisions; the moon's brightness varies most dramatically between full and crescent phases, and the few-hour error doesn't affect that decision.
The limitations of a synodic-month approximation: the moon's orbit is elliptical, so the actual phase advance varies through the cycle. The moon moves faster near perigee (closest approach to Earth) and slower near apogee. Real phase calculations use orbital mechanics that account for these variations, plus the moon's parallax (your viewing angle from Earth's surface), which can shift the apparent phase slightly. For most purposes, the simple calculation here is within a few percent of true illumination, which is below the threshold of casual visual perception. For astrophotography, eclipse prediction, or precise timing of phenomena like the lunar terminator, use a tool that does proper ephemeris calculations — NASA's JPL Horizons system is the gold standard. For "will the moon be bright tonight," the simple calculation is plenty.
The about text and FAQ on this page were drafted with AI assistance and reviewed by a member of the Coherence Daddy team before publishing. See our Content Policy for editorial standards.