Moon Phase Calculator

Calculate the moon phase for any date using the Julian Day method and the 29.5306-day synodic month.

Everyday 8 named phases 29.5306-day synodic cycle Accurate to ~1 hour
Rate this calculator

What phase is the moon in?

Phase name · age · illumination · days to next new/full moon · Julian Day

Instructions — Moon Phase Calculator

1

Pick the date

Choose any date between 1900 and 2100. The calculator defaults to today. Use the «Today» shortcut to jump back, or pick a specific anniversary, eclipse date, or planned camping night.

2

Optionally add a UTC time

If you need the phase at a specific moment — for a launch window, a tide forecast, or an astrophotography session — enter the UTC hour and minute. Leave blank and the result is computed for noon UTC.

3

Read the phase, age, and illumination

The headline gives one of the eight named phases. Moon age is days since the last new moon. Illumination is the percent of the visible disk lit by the Sun. The progress bar shows where in the synodic cycle the moon currently sits.

UTC matters: phase moments are universal — full moon at 14:00 UTC happens at 09:00 in New York and 23:00 in Tokyo. The calculator works in UTC throughout.
Synodic vs sidereal: this tool tracks the synodic month (Sun–Earth–Moon alignment, 29.53 days), the cycle you actually see in the sky. The sidereal month (27.32 days) is the orbit relative to the stars and is not what drives phases.

Formulas

Three steps: convert the date to a Julian Day Number, subtract a known reference new moon to get a delta in days, then take modulo the synodic month to land somewhere in the 0–29.53 day cycle.

JULIAN DAY NUMBER
$$ JD = d + \left\lfloor \tfrac{153m + 2}{5} \right\rfloor + 365y + \left\lfloor \tfrac{y}{4} \right\rfloor - \left\lfloor \tfrac{y}{100} \right\rfloor + \left\lfloor \tfrac{y}{400} \right\rfloor - 32045.5 + f $$
Fliegel–Van Flandern formula. a = floor((14−M)/12), y = Y+4800−a, m = M+12a−3. f is the fractional day from midnight (0 at 00:00 UTC, 0.5 at 12:00 UTC).
MOON AGE
$$ \mathrm{age} = (JD - JD_{\mathrm{ref}}) \bmod S $$
JDref = 2451550.1 (the new moon of 6 January 2000, 14:24 UT). S = 29.53058770576 days — the mean synodic month.
ILLUMINATION
$$ I = \frac{1 - \cos(2\pi P)}{2} \times 100\% $$
P = age / S is the fraction through the cycle. At P = 0 or 1 the moon is new (0% lit); at P = 0.5 it is full (100% lit). The cosine smoothly interpolates the visible crescent area.
DAYS TO NEXT NEW & FULL MOON
$$ \Delta_{new} = S - \mathrm{age}, \quad \Delta_{full} = (\tfrac{S}{2} - \mathrm{age}) \bmod S $$
The next full moon is half a cycle (~14.77 days) after the previous new moon. The modulo wraps the value into the 0–29.53 range when the current age is past mid-cycle.

Reference

Eight named phases & cycle position
PhaseAge (days)Illumination
New Moon 0–1.850–2%
Waxing Crescent 1.85–5.542–35%
First Quarter 5.54–9.2335–65%
Waxing Gibbous 9.23–12.9265–98%
Full Moon 12.92–16.6198–100%
Waning Gibbous 16.61–20.3098–65%
Last Quarter 20.30–23.9965–35%
Waning Crescent 23.99–29.5335–0%
Key constants
QuantityValue
Synodic month29.53058770576 days
Sidereal month27.32166 days
Reference new moon (JD)2451550.1
Reference UT date2000-01-06 14:24
Mean Earth–Moon distance384,400 km
Metonic cycle19 years ≈ 235 synodic months
Saros cycle (eclipses)6,585.32 days ≈ 18 yr 11 d
Quick reference: 2026 primary lunar phases (UTC)
MonthNew moonFirst quarterFull moonLast quarter
JanJan 18Jan 26Jan 3Jan 10
FebFeb 17Feb 24Feb 1Feb 9
MarMar 19Mar 25Mar 3Mar 11
AprApr 17Apr 24Apr 2Apr 10
MayMay 16May 23May 1, 31May 9
JunJun 15Jun 22Jun 29Jun 8

Article — Moon Phase Calculator

A moon phase calculator returns the lunar phase for any date by converting that date to a Julian Day Number, subtracting a known reference new moon, and taking modulo the synodic month of 29.53058770576 days. The remainder is the moon’s age in days; the cosine of its fractional position gives the percent illumination. The math is a few lines long and stays within about one hour of the true phase transition for any date between 1900 and 2100.

What sounds like a children’s astronomy topic is actually a useful calculation across photography, fishing, gardening, religious calendars, and tide prediction. The full method has just enough nuance — Gregorian-to-Julian conversion, the difference between synodic and sidereal months, the cosine illumination curve — that it is worth walking through carefully.

The 29.53-day moon phase cycle

The Moon orbits Earth once every 27.32 days relative to the fixed stars. That figure is the sidereal month. But the phases we see depend on the Sun–Earth–Moon geometry, and Earth has moved ~27 degrees around the Sun in those 27 days. The Moon must travel an extra 2.2 days to catch back up to the same Sun–Earth alignment. That longer cycle — 29.53058770576 days — is the synodic month, and it is what every moon phase calculator works with.

The synodic month is a mean value. Real lunations vary by up to seven hours because the Moon’s orbit is elliptical, Earth’s orbit around the Sun is elliptical, and the Sun’s gravity perturbs the system. NASA’s eclipse-quality ephemerides include thousands of correction terms; a calculator built on the mean synodic month skips all of that and accepts roughly an hour of slop in exchange for simplicity.

Did you know

The synodic month is the source of the seven-day week. Each of the four primary phases — new, first quarter, full, last quarter — sits roughly 7.4 days from the next. Babylonian astronomers rounded that to seven, and the rounding stuck through Judaic, Greek, Roman, and Christian calendars all the way to the modern weekday.

The eight named moon phases

Astronomers divide the synodic cycle into eight named phases of roughly 3.69 days each. Four are primary phases (new, first quarter, full, last quarter) defined by exact Sun–Earth–Moon angles; four are intermediate phases (waxing crescent, waxing gibbous, waning gibbous, waning crescent) named for the shape and direction of change of the illuminated face.

  • New moon — Moon between Earth and Sun; the near side is dark and the Moon rises and sets with the Sun
  • First quarter — 90° from the Sun; right half lit (Northern Hemisphere); rises at noon, sets at midnight
  • Full moon — opposite the Sun; fully lit near side; rises at sunset, sets at sunrise
  • Last quarter — 90° on the other side; left half lit; rises at midnight, sets at noon
  • Waxing — the lit portion is growing (between new and full)
  • Waning — the lit portion is shrinking (between full and new)

A waxing crescent or gibbous moon in the Northern Hemisphere has its illuminated edge on the right. South of the equator the geometry flips and the bright edge appears on the left. The phase itself is the same everywhere on Earth at the same UTC moment — only the orientation differs by hemisphere.

Julian Day math behind the moon phase

To compute a phase for an arbitrary calendar date you first translate that date into a single continuous number. The Julian Day Number system, invented by Joseph Scaliger in 1583, counts days continuously from noon UT on 1 January 4713 BC. The system has no leap-year gaps, no calendar reforms, and no negative years to worry about — just one integer per day.

The Fliegel–Van Flandern formula (published by the U.S. Naval Observatory in 1968) converts a Gregorian date to a JD in seven additions and three integer divisions. Take a fractional day for sub-day precision, subtract a reference new moon JD (a popular choice is 2451550.1, the new moon of 6 January 2000 at 14:24 UT), and the difference in days is what you take modulo the synodic month.

Watch the half-day epoch shift

A Julian Day starts at noon UT, not midnight. Naive implementations that treat midnight as the start of the day are off by half a day, which shifts every phase result by about 12 hours. Either subtract 0.5 from the integer JDN before adding the time fraction, or use a noon-referenced epoch consistently.

How moon phase illumination is computed

Once you have the moon’s age in days, divide by the synodic month length to get a fractional position P in the cycle (0 at new moon, 0.5 at full, 1 back at new). The visible illuminated fraction follows a cosine curve:

I = (1 − cos(2πP)) / 2

That formula returns 0 at new moon, rises to 1 at full moon, and falls back to 0 by the next new moon. Multiply by 100 for a percentage. The cosine is a geometric simplification — it treats the Moon as a perfect sphere lit by parallel rays from the Sun — but for visualisation purposes it matches what you see in the sky to within a percent or two.

Did you know

The Moon spends more time looking almost full than it does looking new. Because illumination follows a cosine, the curve is flat near 100% and steep near 0%. Roughly 11 days of every 29.5-day cycle have an illumination above 75%; only 3 days sit below 5%. That is why an evening walk in any random week usually has a clearly visible moon.

Practical uses of moon phase data

Lunar phase information drives more practical decisions than its hobbyist reputation suggests. Astronomers schedule deep-sky observations and astrophotography around new moon, when ambient light is at its lowest. Tide forecasters depend on phase because spring tides (the largest tides) occur near new and full moon and neap tides (the smallest) occur near the quarters.

Religious calendars formalise the cycle. The Islamic calendar has 12 strictly lunar months totalling 354–355 days. The Jewish calendar interleaves lunar months with periodic leap months to stay aligned with the solar year. The date of Easter is set by the first Sunday after the first ecclesiastical full moon on or after 21 March. Each of those rules requires a moon phase calculator to put into a single concrete date.

  • Astrophotography — deep-sky targets need the days within 5 of new moon
  • Tidal forecasting — spring tides at new and full moon are ~20% larger than neap tides at quarters
  • Wildlife observation — coral spawning, sea turtle hatching, and grunion runs key on full moons
  • Religious dating — Ramadan, Passover, Easter, Diwali, Chinese New Year all derive from lunar phases
  • Agriculture — many traditional planting calendars schedule by lunar phase, though no peer-reviewed evidence shows a real yield effect

Accuracy limits of moon phase formulas

The mean-synodic-month method is accurate to about ±1 hour against precise ephemerides over centuries near the year 2000. Errors grow slowly going forward and backward in time because the Earth–Moon system loses rotational energy to tides — the synodic month is slowly lengthening. Over a few centuries the drift stays inside an hour; over thousands of years it widens to several hours.

Do not use this calculator for eclipse timing

Eclipses require the Moon at a node of its orbit at the moment of new or full phase. The node calculation depends on the regression of the lunar ascending node (an 18.6-year cycle) and is not part of the synodic-month method here. For eclipse predictions use NASA’s Eclipse Web Site or the USNO data services, which solve the full positional problem.

«Supermoon» and «blood moon» are not phases

A supermoon is a full moon near lunar perigee (the closest point in its elliptical orbit). A blood moon is a total lunar eclipse, where Earth’s atmosphere refracts red sunlight onto the Moon. Both are special-case events overlaid on a regular full moon — not separate phases. This calculator returns the underlying phase; supermoon/eclipse status requires additional orbital data.

Time zones matter for borderline dates

A full moon at 23:50 UTC on the 14th is the morning of the 15th in Tokyo and the evening of the 14th in Los Angeles. Always check whether published phase tables are in UTC or a local time zone. The calculator here works strictly in UTC; for local moonrise and moonset times use a dedicated rise/set tool.

FAQ

The calculation is based on the mean synodic month (29.53058770576 days) and a reference new moon of 6 January 2000 at 14:24 UT. Expect accuracy within about ±1 hour of the true phase transition for any date between 1900 and 2100. For sub-minute precision, use NASA JPL Horizons or the USNO Astronomical Almanac.
The sidereal month (27.32 days) is the time the Moon takes to return to the same position relative to the fixed stars — one full orbit. The synodic month (29.53 days) is the time between the same phase repeating, e.g. new moon to new moon. The difference exists because Earth has moved around the Sun during the orbit, so the Moon needs ~2.2 extra days to catch back up to the same Sun-Earth alignment.
Yes, essentially. The Moon is ~384,400 km away — thousands of times farther than Earth’s radius — so the Sun-Earth-Moon geometry is the same to within a tiny parallax for any observer. The phase you see in Sydney at any instant is the same one seen in London. Only the time of day, moon altitude, and orientation of the illuminated edge differ.
You are upside-down relative to a Northern observer, so the same illuminated half of the Moon appears mirrored. A waxing crescent that has its bright edge on the right in New York shows it on the left in Sydney. The underlying phase is identical — the orientation flips because of your latitude.
A supermoon is a full moon (or new moon) that occurs within ~90% of the Moon’s closest approach to Earth, called perigee. The Moon appears up to 14% larger and 30% brighter than at apogee. It is not a separate phase — it is a regular full moon at a particularly close point in its elliptical orbit.
Yes. The largest tides (spring tides) occur near new moon and full moon, when the Sun and Moon are aligned and their gravitational pulls combine. The smallest tides (neap tides) occur near first and last quarter, when Sun and Moon pull at right angles. NOAA tide tables incorporate phase data directly.
The Moon is above the horizon for about 12 hours per day. For roughly 25 days of every synodic cycle some of those 12 hours overlap with daylight. The moon is easiest to spot in daylight during first quarter (afternoon sky) and last quarter (morning sky), when it is bright enough to stand out against blue. Only at exact new moon is daytime viewing essentially impossible — the Moon is too close to the Sun.
The Metonic cycle is the observation, named for the Greek astronomer Meton (5th century BC), that 19 tropical years almost exactly equal 235 synodic months. After 19 years the moon phases recur on the same calendar dates within a few hours. The Jewish calendar uses a 19-year cycle of seven leap years to stay aligned with this. The cycle’s leftover error is about 2 hours per 19 years.
Julian Days give every moment a single continuous decimal number, independent of calendar reforms (Julian to Gregorian in 1582), time zones, or leap years. JD arithmetic reduces to simple subtraction — no awkward day-count calculations across month or year boundaries. The system has been astronomy’s standard since Joseph Scaliger introduced it in 1583.
No. An eclipse requires the Moon at a node of its orbit (where the lunar orbital plane crosses the ecliptic) at the moment of new or full phase. The node calculation requires the longitude of the ascending node, which regresses on an 18.6-year cycle. This calculator gives you the phase but not the node geometry. For eclipses use NASA’s Eclipse Web Site (eclipse.gsfc.nasa.gov).