Day Counter

0 days between the two dates

Years, Months, Days
Total Weeks
Total Weekdays
Total Weekend Days
Start Day of Week
End Day of Week

Counting Days Between Two Known Dates

This calculator does the opposite of a date-offset tool: instead of starting from one date and adding or subtracting a number of days to find a new date, it takes two dates you already know and tells you exactly how much time separates them. Internally it converts each calendar date to a serial day number (a straightforward proleptic Gregorian day count) and subtracts the two, which is the standard, unambiguous way to measure elapsed days across any span — including leap years, since every February 29 inside the range is automatically counted as its own day.

Inclusive vs. Exclusive Counting

There's a genuine ambiguity in "how many days between March 1 and March 3": exclusive counting (the difference in day numbers) gives 2 days, while inclusive counting (treating both the start and end date as counted days, the way you'd count nights of a hotel stay differently from calendar days attended) gives 3. Neither is "more correct" — it depends on what you're measuring — so this calculator lets you choose the mode explicitly rather than silently picking one. The Years/Months/Days breakdown is calculated separately using calendar arithmetic (whole months and years are subtracted first, with the remainder expressed in days), which is why it can look slightly different from simply dividing the total day count by 30 or 365.

Related Tools

If you instead know a start date and a number of days, weeks, or months to add or subtract — and want to find the resulting calendar date — use the date calculator, which solves that inverse problem. For counting elapsed time down to the hour and minute rather than the day, see the time duration calculator.

Frequently Asked Questions

Should I use inclusive or exclusive counting?

Exclusive counting (the default) measures the span between two dates, like counting nights of a hotel stay - March 1 to March 3 is 2 days. Inclusive counting counts every calendar date touched, including both endpoints, so the same range is 3 days. Use inclusive counting for things like "how many days was I on vacation" where the first and last day both count as full days.

Why does the Years/Months/Days breakdown not match dividing the total days by 365?

The Years/Months/Days figure is calculated using calendar arithmetic - it subtracts whole years and months first, then expresses the leftover as days - so it correctly accounts for months of different lengths and leap years. Dividing total days by 365.25 only gives an approximation, which is why the two figures can differ by a day or two.