Skip to main content
date

Moon Phase Calculator

Calculate the approximate moon phase for a given date based on the lunar synodic cycle.

By Christopher FloiedPublished Updated

Whole numbers only

Four-digit year

Range: 1 – 12. Whole numbers only

Range: 1 – 31. Whole numbers only

Results

Day in Lunar Cycle

20.5 of 29.5

Illumination

67.3%

Lunar Cycles Since Jan 6, 2000

324.69

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Moon Phase Calculator. Follow the units and input format printed next to each field. Where a unit selector is available, choose the units that match your data.

2

Review your inputs

Double-check that all values are correct and match the units or format shown for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Moon Phase Calculator computes the output in your browser and displays the results, with units clearly labeled, as soon as they are ready — no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

When to Use This Calculator

  • •Use the Moon Phase Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
  • •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
  • •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
  • •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.

Related Calculators

Age in Days Calculator

Calculate your exact age in days from your birth date to today or any target date. Includes total days lived, accounting for leap years. Perfect for milestone celebrations, fun facts about your age, and understanding the passage of time in daily increments.

Age in Months Calculator

Calculate your exact age in months from your birth date to any target date. Shows total months elapsed plus remaining days. Commonly used for pediatric development tracking, subscription billing cycles, and understanding age in monthly increments.

Age in Weeks Calculator

Calculate your exact age in weeks from your birth date to any target date. Shows total weeks and remaining days. Commonly used for tracking infant development milestones, pregnancy progress, and understanding your age in weekly increments.

Anniversary Calculator

Calculate upcoming anniversaries and milestones from a given start date. Enter a start date and find out the date of any numbered anniversary (1st, 5th, 10th, 25th, 50th, or custom). Also shows the calendar-day difference from January 1, 2025.

Birthday Calculator

Calculate your age in completed years, and the exact number of months, weeks, and days you have been alive, from your date of birth to today or any other date.

Countdown Calculator

Calculate the time remaining until a future event in days, weeks, hours, and minutes, counted in whole calendar days. Enter any future date and get a precise countdown breakdown. Perfect for tracking deadlines, event planning, vacation countdowns, and goal-setting milestones.

About Moon Phase Calculator

The Moon Phase Calculator estimates the current phase of the Moon for any date. The lunar cycle (synodic month) lasts approximately 29.53 days, progressing from New Moon through Waxing Crescent, First Quarter, Waxing Gibbous, Full Moon, Waning Gibbous, Last Quarter, and Waning Crescent before returning to New Moon. This calculator is useful for astronomy enthusiasts, photographers planning moonlight shoots, gardeners following lunar planting guides, and anyone curious about the night sky.

The Math Behind It

The Moon's phases result from its orbital position relative to the Earth and Sun. As the Moon orbits Earth (approximately every 29.53 days), the angle between the Sun, Moon, and Earth changes, altering how much of the Moon's illuminated surface is visible from Earth. The synodic month (29.53 days) is the time between successive new moons. This differs from the sidereal month (27.32 days), which is the time for the Moon to complete one orbit relative to the stars. The difference arises because Earth has moved along its own orbit during the Moon's revolution, requiring the Moon to travel slightly more than 360 degrees to reach the same Sun-Moon-Earth alignment. The eight commonly recognized phases divide the lunar cycle into roughly equal segments. New Moon (day 0): the Moon is between Earth and Sun, invisible. Waxing Crescent (days 1-7): a sliver grows on the right. First Quarter (day 7.4): the right half is illuminated. Waxing Gibbous (days 7-15): more than half illuminated, growing. Full Moon (day 14.8): fully illuminated. Waning Gibbous (days 15-22): shrinking from the right. Last Quarter (day 22.1): left half illuminated. Waning Crescent (days 22-29): a sliver on the left fades. The illumination calculation uses a cosine function to approximate the percentage of the visible disk that is sunlit. At new moon (phase = 0), illumination is 0%. At full moon (phase = 0.5), illumination is 100%. This calculator provides an approximation. The actual lunar orbit is elliptical and affected by solar perturbations, so precise phase calculations require more complex astronomical algorithms. The approximation is typically accurate to within a day.

Formula Reference

Lunar Phase

Phase Day = (frac(JD - 2451550.1) / 29.53059) * 29.53059

Variables: JD = Julian Day Number, 2451550.1 = JD of known new moon (Jan 6, 2000), 29.53059 = synodic month in days

Worked Examples

Example 1: Moon phase on April 8, 2026

Calculate the approximate moon phase for April 8, 2026.

Step 1:Calculate Julian Day Number for April 8, 2026
Step 2:Find days since known new moon: JD - 2451550.1
Step 3:Divide by 29.53059 to get lunar cycles elapsed
Step 4:Take fractional part and multiply by 29.53059 for day in cycle
Step 5:Use cosine function to estimate illumination percentage

The calculator provides the approximate day within the 29.53-day lunar cycle and estimated illumination percentage.

Common Mistakes & Tips

  • !Expecting exact results; this is an approximation that may differ by up to a day from precise astronomical calculations.
  • !Confusing waxing (growing) and waning (shrinking) phases.
  • !Not accounting for time zones; the moon phase changes throughout the day and depends on observation location.

Related Concepts

Frequently Asked Questions

How accurate is this moon phase calculator?

This calculator is accurate to within approximately one day. It uses a simplified algorithm based on the synodic month length and a known new moon date. For precise astronomical predictions (within hours), professional software accounts for orbital perturbations and elliptical motion.

What is the synodic month?

The synodic month is the time between successive new moons, approximately 29.53059 days. It is longer than the Moon's orbital period (27.32 days) because Earth's movement around the Sun requires the Moon to travel extra distance to reach the same phase alignment.

Add the live Moon Phase Calculator to your site. Free to embed, with a link back to MegaCalc.