numberrule

Every formula, written out

Days Between Dates Calculator

Pick two dates and this counts the gap between them in days, weeks and months — plus working days, with weekends excluded.

Days between

358days

Days
358
Weeks
51 and 1 days
Months
11
Working days
257
In full
0 years, 11 months, 24 days
  • Working days exclude weekends but not public holidays, which differ by country and region and change every year.
  • Both dates are compared at midnight, so a time of day never quietly costs you a day.

About the days between dates calculator

Counting days by hand goes wrong for two reasons: months have different lengths, and leap years exist. Neither is difficult, but both are easy to forget halfway through a mental calculation, and the error is usually a day or two — just small enough to go unnoticed and just large enough to matter for a deadline.

The working-days figure counts Monday to Friday and skips weekends. It deliberately does not account for public holidays, because those differ by country, by region within a country, and change every year. Building them in would make this a page that quietly goes out of date, so it stays out and the page says so.

Both dates are compared at midnight. That sounds like a detail and is not: comparing a nine o'clock start against an eight o'clock finish the next day should be one day, and treating the times literally would return zero.

What it works out

  • Days, weeks and months between two dates
  • Working days, weekends excluded
  • The gap expressed in years, months and days
  • Leap years and month lengths handled properly

The formula

days = date₂ − date₁, compared at midnight

Subtracting one date from another sounds trivial and is complicated by the calendar itself. Months run from 28 to 31 days, February gains a day in leap years, and leap years are not simply every fourth year — century years are skipped unless they divide by 400, which is why 1900 was not a leap year and 2000 was.

The rule matters less often than you would think, but it matters absolutely when it applies. Any calculation spanning a February in a leap year is a day out if it is missed.

Expressing the same gap several ways is useful because the natural unit depends on the question. Days suit deadlines, weeks suit schedules, and years-months-days suits anything about age or tenure. The month count is whole months elapsed, with the leftover days reported separately rather than rounded away.

Working days count Monday to Friday inclusive of both endpoints. A Monday-to-Friday span is five working days, and extending it across the weekend to Sunday is still five — the extra days are not working days, so they add nothing.

From
The earlier date. Given the later one, they are swapped for you.
To
The later date.
Working days
Weekdays only. Public holidays are not deducted, since they vary by region and year.

A worked example

From the first of January 2026 to Christmas Day the same year.

That works out to 358 days.

Days
358
Weeks
51 and 1 days
Months
11
Working days
257
In full
0 years, 11 months, 24 days

Questions

How many days between two dates?

Enter both above. The calculation handles varying month lengths and leap years, which is where mental arithmetic usually slips by a day.

Are public holidays excluded from working days?

No. Holidays differ by country and often by region within a country, and the dates change every year. Including them would make this page go out of date, so it counts weekdays only and you deduct your own holidays.

Does the count include both the start and end dates?

The day count is the gap between them, so 1 January to 2 January is one day. Working days count both endpoints, so a Monday to a Friday is five.

How are leap years handled?

Correctly. A leap year is any year divisible by four, except century years, which must also be divisible by 400. So 2024 and 2000 are leap years, while 1900 was not.

Why does it say months and days rather than just months?

Because months are not a fixed length, so a gap of "two months" is ambiguous. Reporting whole months elapsed plus the leftover days is exact where a decimal number of months would not be.

Can I use this to work out my age?

Yes — put your date of birth as the start and today as the end. The years, months and days figure is your age expressed the way people normally say it.

← All dates & time calculators