← Guides

How many days until a date: countdown math and leap years

Everyday Tools ·

"How many days until Christmas?" sounds like it has one answer, but it has three: the gap between today and the day itself, the gap plus the holiday, or the working days you have left. They differ by only a day or two, which is enough to miss a shipping cutoff. This guide explains how a countdown is counted, how the Everyday Tools date calculator does it, and where leap years change the result. Every number below comes from the calculator with Thursday, October 29, 2026 as the start date.

Counting the gap

The usual countdown counts the gap: the later date minus the earlier one. From Thursday, October 29, 2026 to Friday, December 25, 2026 the gap is 57 days, which the calculator also shows as 8 weeks and 1 day. This is the figure almost every "days until" countdown shows, and it is what the calculator reports by default under Days between dates: set Start date (or press Use today), set End date, and leave Count on Calendar days.

To count both ends, as you would for the days of a trip or a sale, tick Include end date and the count rises by one: Monday, November 2 to Friday, November 6, 2026 is 4 days by default and 5 with the box ticked, and the Christmas countdown becomes 58. Reversed dates give a negative number (December 25 back to October 29 is minus 57), a quick sign that the dates are in the wrong order.

Countdowns from October 29, 2026

  1. Thanksgiving, Thursday, November 26, 2026: 28 days, exactly 4 weeks. Thanksgiving is the fourth Thursday in November, so its date moves every year [2].
  2. Christmas Day, Friday, December 25, 2026: 57 days, or 8 weeks and 1 day [2].
  3. New Year's Day, Friday, January 1, 2027: 64 days, or 9 weeks and 1 day [2].
  4. The next leap day, Tuesday, February 29, 2028: 488 days, or 69 weeks and 5 days.

For a working day countdown, switch Count to Work days (business days). With Exclude left on Weekends + U.S. federal holidays, Christmas is 39 work days away, and the calculator lists the two holidays it skipped: Veterans Day on Wednesday, November 11, and Thanksgiving on Thursday, November 26. Change Exclude to Weekends only and the count is 41, the figure a carrier that skips weekends but not holidays would use.

Where leap years come in

The seasons repeat every tropical year, about 365.2422 days [1]. A calendar of 365 days every year would fall short by about 0.2422 days a year, so the seasons would slowly slide through the calendar [1]. Adding a day every fourth year, the Julian calendar rule from 46 B.C., makes the average year 365.25 days, which runs long by about 0.0078 days a year [1]. The Gregorian calendar, introduced in 1582 and used today, keeps that rule but drops the leap day in century years not evenly divisible by 400 [1]. So 1700, 1800, 1900 and 2100 are not leap years, while 1600, 2000 and 2400 are [1]. The average Gregorian year is 365.2425 days, which takes about 3,300 years to drift one day from the seasons [1].

For a countdown, any span crossing a February 29 is one day longer than a quick estimate suggests. January 1, 2027 to January 1, 2028 is 365 days, but January 1, 2028 to January 1, 2029 is 366 days because 2028 is a leap year. October 29, 2026 to October 29, 2030 is 1,461 days: four years plus the leap day in 2028. The same four year span from 2097 to 2101 is 1,460 days, because 2100 skips its leap day under the century rule [1]. The calculator applies the rule for you and refuses impossible dates: February 29, 2027 and February 29, 2100 both return an error asking for a valid calendar date.

To check whether a year is a leap year, open Explore a date, enter any date in that year and press Show date details. The result ends with the day of the year and the year's length: "Day 60 of 366" and "Leap year" for February 29, 2028, or "Day 359 of 365" and "Common year" for Christmas 2026.

Counting forward instead

When you know the number of days but not the date, use Add or subtract time: enter the Starting date, type the number in Days and press Find date. 100 days from October 29, 2026 is Saturday, February 6, 2027. 365 days lands on Friday, October 29, 2027, the same calendar date a year later, because no leap day is crossed. 1,000 days lands on Wednesday, July 25, 2029; without the leap day of 2028 it would land a day later.

Common mistakes

  1. Adding the start day and the end day by hand. The default count already includes one of them; Include end date adds the other.
  2. Reusing last year's countdown for a moving holiday. Thanksgiving is the fourth Thursday in November, and the Monday holidays move too [2].
  3. Assuming every year has 365 days. Any span crossing a February 29 gains a day, and 2100 will not be a leap year [1].
  4. Worrying about time zones or clock changes. The calculator counts calendar dates, not hours, so the result is the same at 7 in the morning and 11 at night.

Sources

Explore all four tools