Age & Date Calculator

Days Between Two Dates

Exact day count between any two dates — inclusive or exclusive — plus the same span expressed in weeks, months, and years.

Advertisement

Off: Monday → Friday = 4 days (the gap). On: Monday through Friday = 5 days (both endpoints counted).

Calendar breakdown
In weeks
In hours / minutes
Weekend days in span

Advertisement

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

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.

Note: All calculations run entirely in your browser. For legal deadlines, always confirm the counting convention (inclusive/exclusive, business vs. calendar days) specified in your contract or statute.