Days between dates calculator
Pick two dates to see how many days lie between them, in weeks and in years, months and days, and how many are weekdays. Or start from one date and add or subtract a number of days.
Gregorian calendar arithmetic, tested against hand-worked examples. Checked October 29, 2026 (sources). Free, no sign-up, nothing you type is stored.
Days between
-
Pick a start and an end date. The count updates as you type.
The start date is not counted and the end date is, the way a countdown works: today to tomorrow is 1 day.
How the days are counted
The calculator turns each date into a day number and subtracts. Time of day and time zones do not enter into it, so daylight-saving changes cannot shift the answer by a day.
| Setting | Monday → Friday | Good for |
|---|---|---|
| Default (end date counted) | 4 days | countdowns, “days until”, age of something in days |
| Both dates counted | 5 days | trips, rentals, leave, anything where the first day is used too |
ExampleJanuary 1 → December 31, 2026
- Days (default)
- 364
- Weeks
- 52 weeks, 0 days
- Years, months, days
- 11 months, 30 days
- Both dates counted
- 365 days
Months are calendar months
The “years, months, days” line counts whole calendar months first and then the days left over. A month is complete when the same day number comes round again: March 15 to April 15 is one month. When the later month is shorter (January 31 → February 28), that month is not complete yet.
Weekdays
The weekday count takes out Saturdays and Sundays only. Public holidays differ by country and are not removed here; the business days calculator can remove U.S. federal holidays.
FAQ
Sources
- ISO 8601 date and time format (overview) — checked October 29, 2026. The YYYY-MM-DD format used in shared links. The calendar is the proleptic Gregorian calendar.
- U.S. Naval Observatory: Leap years — checked October 29, 2026. Leap year rule: divisible by 4, except century years not divisible by 400.
Spotted a mistake? Tell us. No ads on this page.