Two calculators in one
Days between answers “how many days until…” and “how long ago was…”. It gives the total number of days and breaks it down into years, months and days, and into weeks and days. Add / subtract answers “what date is 90 days from today?” — handy for deadlines, notice periods, return windows and due dates. For a dedicated page with 30, 60 and 90-day examples, see add days to a date.
Only need a day count? The days between dates calculator has that tool on its own page, with examples and answers to common counting questions.
How the days are counted
The calculator counts the number of midnights between the two dates — the same way a calendar, a spreadsheet (=B1-A1) or a
programming language does. From Monday to the following Monday is 7 days, not 8. If you need both the first and the
last day counted — for example the length of a hotel stay in days rather than nights, or an event that runs “from the 1st to the 10th inclusive” —
tick Include the end date.
days = end date − start date (+ 1 if the end date is included)
Months and years are calendar months
“2 months, 5 days” means two whole calendar months and five extra days, counted from the start date. Because months have 28 to 31 days, the same number of days can be a different number of months depending on when you start. When adding months, a day that doesn’t exist in the target month becomes that month’s last day: January 31 + 1 month = February 28 (29 in a leap year).
Examples
| Question | Answer |
|---|---|
| Days from Jan 1 to Dec 25, 2026 | 358 days (11 months, 24 days) |
| 90 days after Nov 3, 2026 | Monday, February 1, 2027 |
| 6 months after Aug 31, 2026 | Sunday, February 28, 2027 |
| Days in 2028 (a leap year) | 366 |
More date tools
Counting working days for a contract or delivery? The business days calculator skips weekends and US federal holidays. To find someone’s exact age, use the age calculator, and for a live countdown to a holiday or event, try the days until countdown.
Frequently asked questions
How do I calculate the number of days between two dates?
Pick the start and end dates in “Days between”. The calculator counts every midnight you pass from the start date to the end date, so January 1 to January 31 is 30 days. Turn on “Include the end date” to count both dates, which gives 31.
Does the date calculator account for leap years?
Yes. It uses the Gregorian calendar, so February has 29 days in leap years (2024, 2028…) and 28 otherwise. Century years are leap years only when divisible by 400, so 2000 was a leap year and 2100 will not be.
What happens when I add a month to January 31?
There is no February 31, so the result moves to the last day of February: February 28, or February 29 in a leap year. Most banks, contracts and spreadsheet functions such as EDATE follow the same rule.
How do I count only weekdays or business days?
The “Weekdays (Mon–Fri)” line in the results counts working days between the dates. To also skip US federal holidays, use the business days calculator.
Can I subtract days to find a date in the past?
Yes. Switch to “Add / subtract”, choose “Subtract −”, and enter the number of days, weeks, months or years. For example, 90 days before November 3, 2026 is August 5, 2026.
Sources
- Gregorian calendar — Wikipedia
- Leap year — Wikipedia
- ISO 8601 — Wikipedia
See how we build and test our tools in our editorial policy.