Days between two dates
Pick two dates. Choose whether the last day should be counted.
Result
365Number of days
- 52 weeks and 1 days
- Monday to Friday days
- 261
Inputs
- First date
- 2026-01-01
- Second date
- 2026-12-31
- Count the last day?
- Yes
How it is calculated
Each date is turned into a day number, then we take the difference.
Result
Number of days
- Monday to Friday days
- 261
How it is calculated
- Each date is turned into a day number, then we take the difference.
- Public holidays are not removed from weekdays.
Example
From 1 Jan 2026 to 31 Dec 2026, counting the last day: 365 days.
Good to know
- Public holidays are ignored: they vary by country and region.
When to use it
- Count the days of a holiday, a notice period or a project.
- Get the number of weekdays between two dates for a rough work plan.
- To find the date reached after a number of days, use the Date calculator: add or subtract days.
Frequently asked questions
Should I count the last day?
For hotel nights or a loan in days, usually not. For a stay or an event where both first and last days count, choose yes.
How are leap years handled?
A year has 366 days if it divides by 4, except century years that do not divide by 400. So 2000 was a leap year and 2100 will not be.
Which days count as weekdays?
Monday to Friday. In countries with another weekend, such as Friday and Saturday, adjust the count yourself.