DATE & TIME
Days Between Dates Calculator
Calculate the number of days between two calendar dates.
How it works
The result is the absolute difference between the two calendar dates. It does not count the start date as an additional full day.
How to use
- Choose the start date.
- Choose the end date.
- Calculate the elapsed calendar days.
- Check whether you need inclusive counting for your use case.
Related calculators
Date Calculator · Age Calculator · Birthday Calculator
Quick guide: how to use this calculator
Enter the two dates and choose the counting convention shown on the page to calculate the elapsed days.
Formula or method
Elapsed days are calculated from the calendar difference between the two dates.
Useful note
Inclusive counting can differ by one day from the standard elapsed-time convention.
Before you use the result
The result depends on the inputs, units and assumptions shown on this page. Check those details before using the result for a real-world decision.
How to count days between dates
Date differences depend on whether the start date, end date or both are included. A standard elapsed-time calculation often counts the number of full date boundaries between two dates, while an inclusive count adds both endpoints.
Leap years matter
Leap years add February 29 and therefore change date differences that cross the extra day. Calendar calculations should also account for months having different numbers of days.
Date difference FAQ
Why can two date calculators disagree by one day?
They may use different inclusive or exclusive counting conventions. Check the definition used by each tool.
Does time of day matter?
If only calendar dates are entered, the calculation ignores time of day. Exact elapsed hours or minutes require timestamps and time zones.
Calculation context
This calculator measures the elapsed number of calendar days between two dates. Inclusive and exclusive interpretations can differ, so the displayed result should be read according to the calculator's convention.
Choosing the correct counting convention
The standard elapsed-day difference counts the number of date boundaries between the start and end dates. For example, the elapsed difference from 10 March to 15 March is five days. If a form asks for every calendar date touched, including both 10 March and 15 March, the inclusive count is six days. Always match the convention requested by your assignment, policy or document.
Month lengths and leap years
Calendar months do not all contain the same number of days. A difference that crosses February depends on the year, because leap years include February 29. This is why date differences should be calculated from actual calendar dates rather than by multiplying the number of months by 30.
What this result does not measure
When you enter dates without times, the calculator returns a calendar-day difference. It does not calculate exact hours between timestamps, account for time zones, or exclude weekends and holidays. For a business-day count, check the applicable workweek and holiday schedule; for a precise duration, use timestamps with the correct time zone.
Elapsed days versus inclusive calendar counting
A standard date difference counts the number of midnight-to-midnight date boundaries between two dates. For example, the difference from 1 March to 5 March is 4 elapsed days. If a form, school assignment or booking asks for both the start and end dates to be counted, inclusive counting would give 5 calendar dates instead; add one day when that convention is appropriate.
Leap years and month lengths
Calendar date arithmetic must account for months with different lengths and leap days. A Gregorian leap year is generally divisible by 4, except century years that are not divisible by 400. The calculator uses calendar dates rather than assuming every month has 30 days.
Choose the correct date basis
For deadlines, contracts, employment, travel and legal time limits, the applicable rules may exclude weekends, holidays or the first day, or use a specific local time zone. This result is a raw calendar-day difference, not a legal deadline determination or a business-day count.
Reverse order
The displayed interval is an absolute difference, so entering the later date first gives the same number of days. Keep a note of which date is the start and which is the end if direction matters to your calculation.