Home · Date & Time · Date Differences · Days Between Dates Calculator
Days Between Dates Calculator
Count the exact number of days between two dates, with the same span also shown in weeks, hours and a calendar breakdown.
What this calculator does
Count the exact number of days between two dates, with the same span also shown in weeks, hours and a calendar breakdown. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Subtract the start date from the end date on the proleptic Gregorian calendar; if the end is earlier, the two dates are swapped so the count is never negative.
Dates use the proleptic Gregorian calendar: a year is a leap year when divisible by 4, except century years not divisible by 400.
Worked example
With the example inputs this page opens with, the result is 59 days — days between the dates.
Quick reference
| Figure | Value |
|---|---|
| Days between the dates | 59 days |
| Weeks | 8 weeks, 3 days |
| Calendar breakdown | 0 years, 2 months, 0 days |
| Hours | 1,416 |
| Minutes | 84,960 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Does the count include both the start and end dates?
No. It is the plain difference between the dates, so Jan 1 to Jan 2 is 1 day. Counting both endpoints would add one.
What if the end date is before the start date?
The dates are swapped and the same positive difference is reported, since the distance between two dates does not depend on direction.
How does the Days Between Dates Calculator work?
Count the exact number of days between two dates, with the same span also shown in weeks, hours and a calendar breakdown. Start date · End date → Days between. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Days Between Dates Calculator need?
Start date · End date → Days between. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.