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.

Your figures

Example result — edit the figures to make it yours

59 days

Days between the dates

Weeks8 weeks, 3 days
Calendar breakdown0 years, 2 months, 0 days
Hours1,416
Minutes84,960

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

Days between = end date − start date, counted in whole calendar days

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

Quick reference — the worked example in full
FigureValue
Days between the dates59 days
Weeks8 weeks, 3 days
Calendar breakdown0 years, 2 months, 0 days
Hours1,416
Minutes84,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.