Days Between Dates Calculator
Count the days between two dates, and see the gap in weeks, in years, months and days, and in weekdays. Choose whether to include the end date.
How to use the days between dates calculator
- Pick a start date and an end date.
- Choose whether to count the end date. The standard way (excluding it) answers "how many days from A to B". Including it answers "how many days does this period cover", such as a hotel stay counted by days or an event that runs on both dates.
How the count works
The calculator subtracts the start date from the end date in calendar days, accounting for leap years and the different lengths of months.
Example: January 1 to December 25, 2026 is 358 days: 51 weeks and 1 day, or 11 months and 24 days. 256 of those days are weekdays.
Including or excluding the end date
| Question | End date |
|---|---|
| How many days until my trip? | Exclude |
| How long ago was a date? | Exclude |
| How many days is a rental from the 1st to the 7th, counting both? | Include (7 days) |
| How many nights in a hotel from the 1st to the 7th? | Exclude (6 nights) |
Weekdays and business days
The weekday count skips Saturdays and Sundays only. If you also need to skip public holidays, for example to count working days for a deadline, use the business days calculator, which knows US federal holidays.
Frequently asked questions
How do I count days between two dates?
Subtract the start date from the end date. The calculator handles months of different lengths and leap years for you.
How many days are in a year?
365 days, or 366 in a leap year. Leap years fall every four years, except century years not divisible by 400.
Does the day count include both dates?
By default, no. Choose "include both days" if you need to count the start and end dates.