Days Between Dates Calculator
Count the days between two dates, with weeks, weekdays (business days) and years-months-days.
Reviewed by CalClu
Days
27
- Weeks
- 3 weeks and 6 days
- Weekdays (Mon–Fri)
- 19
- Years, months, days
- 0 years, 0 months, 27 days
- Hours
- 648
Show steps
- 2026-12-04 to 2026-12-31 = 27 days
- Weekdays (Mon–Fri) in that span: 19
Results are calculated from the values you enter and rounded for display. Double-check important figures.
How to use the Days Between Dates Calculator
- Pick a start date and an end date. The number of days between them appears immediately.
- Turn on Include the end date to count both the first and last day — useful for trips, rentals or events (Monday to Friday is then 5 days, not 4).
- Weekdays counts Monday to Friday only. Public holidays aren't removed, so subtract any that apply to you.
Formula
The calculator counts calendar days between midnight on the start date and midnight on the end date, which automatically handles leap years and isn't affected by daylight-saving changes. Weeks are days ÷ 7; weekdays skip Saturdays and Sundays.
Worked example: January 1 to December 31, 2026
- From Jan 1 to Dec 31 is 364 days.
- Including the end date adds 1: 365 days.
- That's 52 weeks and 1 day, with 261 weekdays.
364 days between the dates, or 365 days counting both.
What the result means
Days between dates are useful for countdowns to holidays or events, for notice periods, warranty and return windows, interest calculations, pregnancy and visa stays. For long periods, the years-months-days result is easier to read, while the total days figure is what most contracts and calculations use. If you need business days only, remember to subtract any public holidays that fall on weekdays in the period.
If you enter the dates the wrong way round, they're swapped and the count is the same.
For deadlines like 'within 30 days', check whether the rule counts the first day; legal and contract rules differ.
Frequently asked questions
How do I count the days between two dates?
Subtract the earlier date from the later one in calendar days. This calculator does it exactly, including leap years.
Should I include the end date?
Include it when you're counting days of something that happens on both dates (a 3-day trip from Friday to Sunday). Leave it off for elapsed time or 'days until'.
How many weekdays are between two dates?
The Weekdays result counts Mondays to Fridays. Subtract public holidays yourself, since they vary by country and employer.
How many weeks are between two dates?
Divide the number of days by 7. The Weeks result shows whole weeks plus the days left over — for example, 100 days is 14 weeks and 2 days.
How many days are in a year?
365, or 366 in a leap year. Leap years are divisible by 4, except century years that aren't divisible by 400 (2000 was a leap year, 2100 won't be).