Inclusive vs. exclusive: the off-by-one that matters
Almost every argument about "how many days" comes down to whether you count both endpoints. If a project runs from Monday to Friday, most planners mean a 4-day gap (exclusive). But if a prescription says "take for 5 days starting Monday", Friday is the fifth day (inclusive). Hotels count nights (exclusive); car rentals often count calendar days touched (inclusive). This calculator gives you the toggle so you can match whichever convention your situation uses — and it labels the result clearly so there's no ambiguity when you share it.
How the weeks / months / years breakdown works
A raw day count is precise but hard to feel. "1,000 days" becomes much more meaningful as "2 years, 8 months, 26 days". The breakdown here is calendar-walked, not divided: we count complete years from the start date, then complete months (respecting that January has 31 days and February 28 or 29), then leftover days. That's why the months figure is exact rather than an average — dividing by 30.44 would sometimes be a day off, and for legal or billing periods a day matters.
Leap years are handled natively. Any span crossing February 29 of 2020, 2024, or 2028 is one day longer than the equivalent span in a common year, and the calculator reflects that automatically because it works with real dates rather than day-length assumptions.
Common uses for a date duration calculator
- Deadlines and notice periods: "60 days' notice" from a lease termination letter — count it exactly, and check the convention in the contract.
- Anniversaries and streaks: days since a wedding, sobriety date, or workout streak. (For days until something, try the countdown timer.)
- Pregnancy and medical spans: weeks between appointments or since a procedure.
- Payroll and invoicing: the number of days in a billing period. If you need working days only, use the business days calculator, which also knows US federal holidays.
- Age math: for a person, the age calculator adds zodiac signs, birthday countdown, and more.
Everything runs locally in your browser — you can use dates far in the past (back to 1900) or the future, and nothing you type leaves your device.
Frequently asked questions
What's the difference between inclusive and exclusive counting?
Exclusive counts the gap (Mon → Fri = 4 days); inclusive counts both endpoint days (Mon through Fri = 5 days). Different contracts use different conventions — the toggle covers both.
How are months counted when they have different lengths?
By walking the real calendar: complete months first, then leftover days using each month's true length, including leap-year February.
Are leap years handled?
Yes — spans crossing February 29 are exactly one day longer, automatically.
Can the start date be after the end date?
Yes. Enter dates in either order; the tool reports the absolute duration and notes which date comes first.