Days Between Dates Calculator

Work out how many days, weeks and working days 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 holiday.

Number of days

278

January 1, 2026 · October 6, 2026

Whole weeks

39

Plus extra days

5

Working days (Mon–Fri)

198

Years

0

Plus months

9

Plus days

5

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 6, 2026 + Include end date0 (No) =Counts up toOctober 6, 2026

Step 2 · Number of days

Number of days278 =Number of days278

Step 3 · Whole weeks

rounded downNumber of days278 ÷ Days per week7 =Whole weeks39

Step 4 · Working days (Mon–Fri)

Working days198 =Working days (Mon–Fri)198

Step 5 · Whole months

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

Step 6 · End of the last whole month

(becauseday ofCounts up toOctober 6, 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 6, 2026 − End of the last whole monthOctober 1, 2026 =Plus days5

How the calculation works

Enter a start date and an end date and you see straight away how many days there are between them. You also see how many whole weeks that is, how many working days 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. Working days 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. Working days = 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.
  • Working days 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 31 April, 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 the summer holidays

    Number of days

    47

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

    From Monday 1 June to Saturday 18 July 2026.

  • Working days in a project

    Number of days

    117

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

    From Monday 2 March up to and including Friday 26 June 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 4 October 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 1 October to 5 October 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 holiday, 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 working days 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 working days.

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 29 February as the extra day.

How are months counted when they have different lengths?

One month later is the same day of the next month: 15 March to 15 April is 1 month. If that day does not exist, such as 31 April, the 1st of the following month counts. So 31 January to 1 March 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