Days Between Dates

Pick two dates to see exactly how far apart they are, in days, weeks and months, plus working days.

…
Pick two dates.

Last reviewed:

How to count the days between two dates

The number of days between two dates is the end date minus the start date. Counted that way, the start date is day zero, so Monday to Tuesday is 1 day. If you want both the first and the last day to count, add 1.

Days between = end date − start date (+ 1 to count both ends)

Example: March 15 to June 1, 2026

  1. Days left in March after the 15th: 31 − 15 = 16
  2. All of April: 30
  3. All of May: 31
  4. Days into June: 1
  5. 16 + 30 + 31 + 1 = 78

There are 78 days from March 15 to June 1, 2026, or 79 if you count both dates.

Those 78 days are 11 weeks and 1 day, or 2 months and 17 days. The month figure counts whole calendar months first (March 15 to May 15) and then the days left over, which is how most people say it out loud.

Inclusive vs exclusive day counting

Off-by-one errors are the most common mistake in date math. It's the fencepost problem: a fence 10 meters long with a post every meter needs 11 posts, not 10. Before you count, decide whether you care about the gaps between days or the days themselves.

SituationCountExample
Hotel nightsExclusiveCheck in Monday, out Friday: 4 nights
Days to wait for an eventExclusiveFrom the 1st to the 10th: 9 days to wait
Festival or conference daysInclusiveFriday to Sunday: 3 days
A course of daily tabletsInclusiveThe 1st to the 10th: 10 doses
Age in daysExclusiveThe day you were born is day zero
Vacation days from workInclusive, weekdays onlyMonday to Friday off: 5 days

How many days are in each month

Seven months have 31 days, four have 30, and February has 28, or 29 in a leap year. The knuckle trick saves you reciting the rhyme: make a fist and count the months across your knuckles and the dips between them, starting with January on the first knuckle. July lands on the last knuckle, so start again at the first knuckle with August. Knuckle months have 31 days; dip months have 30, or fewer for February.

Figures in parentheses are for leap years
MonthDaysDay of the year on the 1st
January311
February28 (29)32
March3160 (61)
April3091 (92)
May31121 (122)
June30152 (153)
July31182 (183)
August31213 (214)
September30244 (245)
October31274 (275)
November30305 (306)
December31335 (336)

The last column is a shortcut for two dates in the same year: turn each into a day-of-year number and subtract. March 15 is day 60 + 14 = 74 and June 1 is day 152, so the gap is 152 − 74 = 78 days, the same answer as the worked example.

Leap years and the Gregorian rule

A year is a leap year if it divides evenly by 4, except century years, which must also divide by 400. So 2024 and 2028 are leap years and 2000 was one, but 1900 wasn't and 2100 won't be. Over 400 years that gives 97 leap days, and an average year of 365.2425 days.

YearDivisible by 4Century yearDivisible by 400Leap year
2024YesNoNoYes
2026NoNoNoNo
1900YesYesNoNo
2000YesYesYesYes
2100YesYesNoNo

Any span that crosses a February 29 is one day longer than the same span in other years. That's why counting days as years × 365 comes up short by about a day every four years.

Turning days into weeks, months and years

Weeks are exact: divide by 7 and keep the remainder as days. Months and years aren't, because months run from 28 to 31 days. For a quick estimate, divide by the average month or year instead.

Months ≈ days ÷ 30.44, and years ≈ days ÷ 365.24
30.44 = 365.2425 ÷ 12, the average length of a Gregorian month

So 78 days is about 2.6 months, and 1,000 days is about 2.7 years. Use the calendar answer (2 months and 17 days) when you need something exact, like a notice period, and the decimal when you're just comparing lengths.

To find the date a set number of days away, use the add or subtract days calculator. If public holidays need skipping, the business days calculator lets you list them, and a countdown keeps track as a big date gets closer.

Sources and further reading

Every tool in Date Calculator

How to use it

  1. 1Choose a start date and an end date.
  2. 2Decide whether to count the end date too.
  3. 3Read the difference in days, weeks, months and working days.

Questions

Should I include the end date?

Include it when both days count, like a hotel stay counted in days or a project that runs through the last day. Leave it off for 'how many days until'.

How are working days counted?

Monday to Friday, skipping Saturdays and Sundays. Use the business days calculator to skip public holidays too.

Which time zone is used?

Your device's local calendar. Dates are counted as whole days, so time zones and daylight saving don't change the result.

Also handy: Countdown Timer to Any Date, Online Calculator, World Clock