Days Between Dates Calculator

Calculate how many days, weeks and workdays there are between two dates, with or without the end date.

The first day of the period. This day always counts.

The last date of the period. It is on or after the start date.

Include end date

Choose yes to count up to and including the end date, for example for the length of a vacation.

Please check

Number of days

282

January 1, 2026 · October 10, 2026

Whole weeks

40

Plus extra days

2

Workdays (Mon–Fri)

202

Years

0

Plus months

9

Plus days

9

Please note: The result is an estimate and has been rounded. Actual costs and values may differ, and no rights can be derived from this calculation.

How this number is calculated

The blocks use your input. Change a value above and they update with it.

Step 1 · Counts up to

End dateOctober 10, 2026 + Include end date0 (No) =Counts up toOctober 10, 2026

Step 2 · Number of days

Number of days282 =Number of days282

Step 3 · Whole weeks

rounded downNumber of days282 ÷ Days per week7 =Whole weeks40

Step 4 · Workdays (Mon–Fri)

Workdays202 =Workdays (Mon–Fri)202

Step 5 · Whole months

year ofCounts up toOctober 10, 2026 − year ofStart dateJanuary 1, 2026 × Months per year12 + month ofCounts up toOctober 10, 2026 − month ofStart dateJanuary 1, 2026 − (becauseday ofCounts up toOctober 10, 2026 at least day ofStart dateJanuary 1, 2026 ) 0 =Whole months9

Step 6 · End of the last whole month

(becauseday ofCounts up toOctober 10, 2026 at least day ofStart dateJanuary 1, 2026 ) First day of the last monthOctober 1, 2026 + day ofStart dateJanuary 1, 2026 − 1 =End of the last whole monthOctober 1, 2026

Step 7 · Plus days

Counts up toOctober 10, 2026 − End of the last whole monthOctober 1, 2026 =Plus days9

How the calculation works

Enter a start date and an end date and you see right away how many days there are between them. You also see how many whole weeks that is, how many workdays from Monday to Friday, and how many years, months and days.

The calculator counts the days from the start date to the end date. The start date counts, the end date only when you set ‘Include end date’ to yes: then it counts up to the day after. Weeks are whole weeks of 7 days, plus the days left over. Workdays are all Mondays to Fridays in the period; public holidays are not subtracted. For years, months and days it first counts the whole calendar months and then the days left over. Leap years are included automatically.

Formula

Days = end date − start date, plus 1 if the end date is included. Weeks = days ÷ 7, rounded down; the rest are extra days. Workdays = 5 × the number of weeks between the weeks of start and end + min(weekday of end, 6) − min(weekday of start, 6), with Monday = 1 and Sunday = 7.

Assumptions

  • The start date counts, the end date only if you choose so. Monday to Tuesday is 1 day, Monday up to and including Tuesday is 2 days.
  • Workdays are Monday to Friday. Public holidays, days off and leave are not subtracted.
  • The calculator uses the standard calendar with leap years: 2000 and 2024 are leap years, 2100 is not.
  • One month later is the same day of the next month. If that day does not exist, such as April 31, the 1st of the following month counts.
  • Only whole days count, without hours or time zones, for dates from 1900 to 2100.

Example calculations

The button fills in the calculator above, so you can carry on from there.

  • Days until summer vacation

    Number of days

    47

    Start date June 1, 2026 · End date July 18, 2026 · No

    From Monday, June 1 to Saturday, July 18, 2026.

  • Workdays in a project

    Number of days

    117

    Start date March 2, 2026 · End date June 26, 2026 · Yes

    From Monday, March 2 up to and including Friday, June 26, 2026. Subtract any public holidays yourself.

  • Days until Christmas

    Number of days

    82

    Start date October 4, 2026 · End date December 25, 2026 · No

    From Sunday, October 4 to Christmas Day 2026.

Frequently asked questions

How do I calculate the number of days between two dates?

Subtract the start date from the end date. From October 1 to October 5 is 4 days: the 1st counts, the 5th does not. Across several months you would have to add up the length of each month, which is easy to get wrong. The calculator does it in one go, including leap years.

Should I include the end date?

It depends on what you are counting. For the number of nights in a hotel, leave the end date out. For the length of a vacation, a course or a rental period you usually include it: Monday to Friday is 4 days, Monday up to and including Friday is 5 days. Set ‘Include end date’ to yes for the second.

How many workdays are there in 2026?

2026 has 261 days from Monday to Friday. Public holidays such as New Year's Day and Christmas Day have not been subtracted yet. Which holidays you have off depends on your country and your employer.

Does the calculator subtract public holidays?

No. The calculator counts every Monday to Friday, also when it is a public holiday. If a holiday falls on a weekday in your period, such as Easter Monday or Christmas Day, subtract it yourself from the number of workdays.

How do I know if a year is a leap year?

A year is a leap year if it is divisible by 4. Century years are only leap years if they are also divisible by 400. That is why 2000 and 2024 were leap years and 2100 is not. A leap year has 366 days, with February 29 as the extra day.

How are months counted when they have different lengths?

One month later is the same day of the next month: March 15 to April 15 is 1 month. If that day does not exist, such as April 31, the 1st of the following month counts. So January 31 to March 1 is 1 month and 0 days, even though in 2026 there are only 29 days in between.

Sources and checks

Sources

How we check it

This calculator has 36 fixed checks: 30 calculations with a result that is fixed in advance, and 6 cases of invalid input that must be rejected. They all run automatically every time we publish; if one fails, the calculator does not go live.

See the calculations
  • Start date January 1, 2026 · End date January 1, 2027 · No → Number of days 365
  • Start date January 1, 2026 · End date October 4, 2026 · No → Number of days 276
  • Start date January 1, 2026 · End date October 4, 2026 · Yes → Number of days 277
  • Start date February 28, 2024 · End date March 1, 2024 · No → Number of days 2
  • Start date February 28, 2026 · End date March 1, 2026 · No → Number of days 1
  • Start date February 28, 2000 · End date March 1, 2000 · No → Number of days 2
  • Start date February 28, 2100 · End date March 1, 2100 · No → Number of days 1
  • Start date January 1, 2024 · End date January 1, 2025 · No → Number of days 366
  • Start date January 1, 2026 · End date December 31, 2026 · Yes → Number of days 365
  • Start date December 31, 2025 · End date January 1, 2026 · No → Number of days 1
Changes
  • : Sources added and content reviewed.
  • : First version.

Last reviewed: · How we build and check our calculators

More calculators

Find a calculator

    More on the privacy page