How to use the day counter
Enter any two dates. They can go in either order, and the result tells you whether the second date is before or after the first.
Then choose how to count. Elapsed interval measures time passed, so the end date isn't counted. Inclusive range counts both dates, which is what you want for "how many days is my trip" or "how many days does the event run."
- Enter the first date.
- Enter the second date.
- Choose Elapsed interval or Inclusive range.
- Press Count days.
- Read the day count, then the weeks, calendar span, weekday split and milestones.
Examples of days between dates
These results come straight from the calculator. The elapsed column doesn't count the second date. The inclusive column counts both.
| From | To | Elapsed days | Inclusive days | Calendar span |
|---|---|---|---|---|
| January 1, 2026 | January 8, 2026 | 7 | 8 | 7 days |
| January 1, 2026 | July 7, 2026 | 187 | 188 | 6 months, 6 days |
| January 31, 2026 | March 31, 2026 | 59 | 60 | 2 months, 0 days |
| October 5, 2026 | December 25, 2026 | 81 | 82 | 2 months, 20 days |
| January 1, 2026 | December 31, 2026 | 364 | 365 | 11 months, 30 days |
| January 1, 2028 | December 31, 2028 | 365 | 366 | 11 months, 30 days |
Should you count the end date?
It depends on the question. "How long ago was it?" and "how long until?" are elapsed questions, so you leave the end date out. January 1 to January 8 is 7 days.
"How many days are on the list?" is an inclusive question. A hotel stay, a festival or a leave request from January 1 through January 8 covers 8 dates. Inclusive is always the elapsed count plus one.
A quick check: the same date compared with itself is 0 elapsed days and 1 inclusive day.
Elapsed days = later date - earlier date (in calendar days)Inclusive days = elapsed days + 1Weeks and days = elapsed days / 7, with the remainder as days
Weeks, months and years between dates
The same gap can be written several ways. January 1 to July 7, 2026 is 187 days, 26 weeks and 5 days, or 6 months and 6 days on the calendar.
The calendar span counts whole years first, then whole months, then leftover days. That's why January 31 to March 31 is exactly 2 months even though it's only 59 days. Dividing days by 30 would give a rougher answer.
Weekdays, weekends and leap days in the range
The result splits the counted days into weekdays (Monday to Friday) and weekend days (Saturday and Sunday). For 2026 counted inclusively, that's 261 weekdays and 104 weekend days.
Public holidays still count as weekdays here. If you need working days with holidays removed, use the business days calculator. The result also counts any February 29 in the range: 2028, a leap year, has 366 days and one leap day.
When a deadline uses its own counting rule
Phrases like "within 30 days," "no later than" and "business days" can carry rules that plain subtraction can't settle. Court rules, contracts and agencies often say whether the first day counts and what happens when the last day lands on a weekend or holiday.
Use this tool to get the calendar count right, then check it against the rule that governs your deadline.
Sources
These references cover the date format, the leap-year rule and official deadline rules.