Overview

Calculate the difference between two dates in days, weeks, months, or years.

Use this tool when a deadline, notice period, trip or countdown depends on an exact number of days. Students count down to exams, renters check how long a lease runs, HR teams confirm probation periods, and travelers check stay limits. Pick a start date and an end date, decide whether the end day itself should count, and you get the same span expressed three ways: total days, weeks plus leftover days, and full calendar months plus leftover days. That makes it easy to match whatever unit a contract, visa rule or project plan uses, without counting squares on a calendar.

Formula and example

Total days=End date−Start date+End day\displaystyle \text{Total days} = \text{End date} - \text{Start date} + \text{End day}
Weeks=⌊Total days7⌋\displaystyle \text{Weeks} = \left\lfloor \frac{\text{Total days}}{7} \right\rfloor
Days=Total days−7×Weeks\displaystyle \text{Days} = \text{Total days} - 7 \times \text{Weeks}
Months=max⁡{ m:Start date+m months≤End date+End day }\displaystyle \text{Months} = \max\{\, m : \text{Start date} + m \text{ months} \le \text{End date} + \text{End day} \,\}
Remaining days=(End date+End day)−(Start date+Months)\displaystyle \text{Remaining days} = (\text{End date} + \text{End day}) - (\text{Start date} + \text{Months})

Where:

Total days
— The number of calendar days in the span, shown as Total Days.
End date
— The last date of the period.
Start date
— The first date of the period.
End day
— 1 when Include End Day is checked, so the end date itself is counted, and 0 otherwise.
Weeks
— The number of complete 7-day weeks in the span.
Days
— The days left over after removing complete weeks, from 0 to 6.
Months
— The largest number of whole calendar months that can be added to the start date without passing the end of the span.
Remaining days
— The days left after stepping forward by the whole months from the start date.

Worked example

Start on June 15, 2026 and end on September 1, 2026, with Include End Day unchecked.

  1. Total days

    Sep 1−Jun 15=15+31+31+1=78\displaystyle \text{Sep 1} - \text{Jun 15} = 15 + 31 + 31 + 1 = 78
  2. Weeks and days

    ⌊787⌋=11,78−7×11=1\displaystyle \left\lfloor \frac{78}{7} \right\rfloor = 11, \quad 78 - 7 \times 11 = 1
  3. Whole months

    Jun 15+2 months=Aug 15≤Sep 1<Sep 15\displaystyle \text{Jun 15} + 2 \text{ months} = \text{Aug 15} \le \text{Sep 1} < \text{Sep 15}
  4. Remaining days

    Sep 1−Aug 15=17\displaystyle \text{Sep 1} - \text{Aug 15} = 17

Result

The span is 78 days, which reads as 11 weeks, 1 day or 2 months, 17 days, with 56 business days and 22 weekend days. Checking Include End Day makes it 79 days.

FAQs

How many days are there between two dates?

Subtract the start date from the end date in calendar days. For example, January 1, 2026 to December 25, 2026 is 358 days, or 51 weeks and 1 day. If you also count December 25 itself, it becomes 359 days.

Should I include the end date when counting days?

It depends on the rule you are following. A countdown such as 'days until Christmas' usually excludes the end day, while leave requests, hotel nights booked by date, or 'within 30 days inclusive' rules often count both ends. Turning on Include End Day simply adds one day to the total.

How many days until Christmas 2026 from October 28, 2026?

From October 28, 2026 to December 25, 2026 is 58 days, which is 8 weeks and 2 days, or 1 month and 27 days. Change the start date to today to get a live countdown.

How are full months and their leftover days counted?

Only full calendar months are counted, then the leftover days are added. January 15 to March 14, 2020 is shown as 1 month and 28 days, not 2 months, because the second month would end on March 15. March 1 to March 31 shows 0 months and 30 days, or 1 month and 0 days if you include the end day.

How many days are in a year?

A common year has 365 days and a leap year has 366. January 1, 2026 to January 1, 2027 is 365 days, while January 1, 2028 to January 1, 2029 is 366 days because 2028 is a leap year. The calculator handles leap days automatically.

Can I count business days only?

Yes. Business Days (Mon–Fri) counts the weekdays in the span and Weekend Days counts the Saturdays and Sundays; together they add up to Total Days. Public holidays are not subtracted, so take off any that fall on a weekday where you live. For example, June 15 to September 1, 2026 has 56 business days and 22 weekend days.

How to use

Enter two dates and read the span between them in days, weeks and months.

  1. Enter the Start DatePick the first date of the period, such as today, a contract start date or the day a countdown begins.
  2. Enter the End DatePick the last date of the period, such as a deadline, event or departure date. It must be the same as or later than the start date.
  3. Decide on Include End DayLeave Include End Day unchecked to count the days between the two dates (Monday to Friday is 4 days). Check it when both the first and last day count, as with a hotel booking or leave request (Monday to Friday is 5 days).
  4. Read the Total Days and breakdownsTotal Days is the headline count. Full Weeks and Full Months, each with their leftover days, show the same span in larger units, and Business Days and Weekend Days split it into Monday-to-Friday and Saturday-Sunday days.

Assumptions

  • Total Days counts every calendar day. Business Days counts Monday to Friday only and does not subtract public holidays or other non-working days.
  • Business and weekend days cover the same days as Total Days: from the start date up to the day before the end date, or through the end date itself when Include End Day is checked.
  • The end date must be on or after the start date; the result is never negative.
  • Months vary in length, so the months view counts whole calendar months from the start date rather than assuming 30 days per month.

Explore more