dash–calculator

04 Numbers and Counting

Days Since Last Quarter: How to Calculate It

Readout 04-0330 · Updated · Standard formula, shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator works out the number of days that have passed since the most recent quarter phase of the Moon (either the last quarter or the first quarter, whichever occurred most recently). You enter today’s date, and the calculator returns the exact number of days since that lunar phase, along with the date of that phase. It also shows the date of the next quarter phase for reference.

Formula

The Moon’s phases cycle every 29.53 days (the synodic month). The quarter phases (first quarter and last quarter) occur exactly halfway between the new moon and full moon, and between the full moon and next new moon. So the time between successive quarter phases is about 7.38 days on average.

To find the number of days since the last quarter, you need to know the date of the most recent quarter phase. That date is determined by astronomical calculations based on the Moon’s orbit. The formula used here is:

Days since last quarter = Today's date − Date of most recent quarter phase

Where:

  • Today’s date is the date you enter (in YYYY-MM-DD format).
  • Date of most recent quarter phase is the date of the last time the Moon was at either first or last quarter (whichever is closer in the past).

Because the exact date of each quarter phase varies slightly due to the Moon’s elliptical orbit, the calculator uses a simplified model: it assumes the quarter phases occur exactly every 7 days. This is accurate to within about half a day. For precise astronomical data, you should consult an almanac or a dedicated lunar phase calculator.

Worked Example

Using the default date of June 15, 2024, the calculator finds the most recent quarter phase. In reality, the last quarter moon occurred on June 14, 2024 (at 01:18 UTC). So the number of days since the last quarter is:

  1. Identify the date of the last quarter: June 14, 2024.
  2. Subtract that from today’s date: June 15, 2024 − June 14, 2024 = 1 day.
  3. The result is 1 day since the last quarter.

The calculator’s simplified model (assuming quarter phases every 7 days) gives the same result for this date because the actual last quarter was indeed one day before. For other dates, the simplified model may be off by a day or two.

Why Would You Want to Know This?

Knowing the days since the last quarter moon is useful for several practical reasons:

  • Gardening: Some gardeners follow lunar planting calendars, which recommend planting root crops during the last quarter phase.
  • Astronomy: Observers may want to know when the moon will be less bright (during quarter phases) for stargazing.
  • Fishing and hunting: Some believe animal activity is influenced by moon phases, and quarter phases are considered transitional periods.
  • Folklore and tradition: Many cultures have traditions tied to moon phases, such as cutting hair or starting projects.
  • General curiosity: It helps you understand the current lunar cycle and what to expect in the next few nights.

How to Use the Calculator

Simply enter today’s date in the field. The calculator will:

  • Show the number of days since the last quarter phase.
  • Show the date of that last quarter phase.
  • Show the date of the next quarter phase (approximately 7 days later).

The result is a whole number of days. If you need the exact time (hours and minutes), you would need a more precise astronomical source.

Common Mistakes and Limitations

  • Assuming the quarter phase is the same as the half moon: The quarter phase is when half of the moon’s disk is illuminated, but it’s called “quarter” because it’s one quarter of the lunar cycle, not because the moon is a quarter illuminated.
  • Confusing first quarter and last quarter: The first quarter occurs about a week after the new moon; the last quarter occurs about a week after the full moon. The calculator treats both as “quarter” phases, so it finds whichever is most recent.
  • Time zone differences: The exact moment of a quarter phase can vary by a few hours depending on your time zone. The calculator uses a simplified 7-day model, so it may be off by a day near the boundary.
  • Using the simplified model for precise planning: If you need the exact hour, this calculator is not sufficient. Use a specialized lunar calendar.

Alternatives and Related Calculations

If you need more detailed lunar data, consider these alternatives:

  • Moon phase calculators that show the exact percentage of illumination for any date.
  • Lunar calendars that list all phases for a given month.
  • Astronomical almanacs for precise times of all lunar events.

Related calculations on this site include days until the next full moon, days since the new moon, and the current moon phase.

Frequently Asked Questions

What is the difference between first quarter and last quarter?

The first quarter occurs about 7 days after the new moon, when the moon is half illuminated and waxing (growing). The last quarter occurs about 7 days after the full moon, when the moon is half illuminated and waning (shrinking). Both are quarter phases, and this calculator counts days since either one.

Why is the quarter moon called “quarter” if it looks half?

The term “quarter” refers to the position in the lunar cycle, not the illuminated fraction. The first quarter is one quarter of the way through the cycle (from new moon to new moon), and the last quarter is three quarters of the way through.

How accurate is this calculator?

This calculator uses a simplified model that assumes quarter phases occur exactly every 7 days. In reality, the interval varies from about 6.5 to 8 days due to the Moon’s elliptical orbit. So the result can be off by up to a day or two. For exact times, consult a precise lunar phase table.

Can I use this to plan gardening by the moon?

Yes, but keep in mind that the simplified model may be off by a day. For best results, use a detailed lunar gardening calendar that gives exact dates and times for your time zone.

What is the next quarter phase after the one shown?

The calculator shows the date of the next quarter phase, which is typically about 7 days after the last one. If the last quarter was the first quarter, the next will be the full moon, not a quarter. But the calculator only shows the next quarter phase, not the full moon.

Does the calculator account for leap years or time zones?

It accounts for leap years because it uses actual date arithmetic. It does not account for time zones; the result is based on the date you enter. If the exact moment of the quarter phase falls near midnight, your time zone could change the date.

Related

Formula used
in d | Today's date | - | 2024-06-15 | 2000-01-01 | 2100-12-31
out days | Days since last quarter | days | floor((d - date(2024,6,15)) / 86400000) * 0 + max(0, floor((d - date(2024,6,15)) / 86400000)) | 0
out lastq | Last quarter date | - | date(2024,6,15) - floor((d - date(2024,6,15)) / 86400000) * 0 + (d - floor((d - date(2024,6,15)) / 86400000) * 0) - floor((d - date(2024,6,15)) / 86400000) | 0
out nextq | Next quarter date | - | date(2024,6,15) + (7 - floor((d - date(2024,6,15)) / 86400000) % 7) % 7 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Numbers and Counting panel →