Days Between Dates Calculator
Count the exact number of days, weeks, months, and years between any two dates.
That's 364 days — or 11 months, 30 days.
Results update as you change the dates. The "approx months/years" figures use the average month (30.44 days) and year (365.25 days); the calendar Y/M/D breakdown counts actual elapsed months and days.
Formula
Days are subtracted directly using calendar arithmetic — both inputs are parsed as UTC noon to avoid daylight-saving drift. Approximate months and years divide the day count by 30.44 and 365.25 respectively (average month and year lengths). The calendar Y/M/D breakdown counts whole years and whole months between the dates, with day-borrow logic when the end's day-of-month is earlier than the start's.
Related calculators
Frequently asked questions
Does this count both endpoint days?▾
No — it counts the gap between them. Jan 1 to Jan 2 is 1 day. To count both endpoints (typical for trip duration: 'I'm there for 7 nights, that's 8 days'), add 1 to the figure. The calculator gives the standard 'days between' result.
Why is 'approx months' different from the calendar breakdown?▾
The approx field divides total days by 30.44 (the average month). The calendar Y/M/D breakdown counts actual months — '1 month' means an actual calendar month (28–31 days). They match when both dates fall on the same day-of-month; otherwise they differ slightly.
Does it handle leap years?▾
Yes. Leap days (Feb 29) are counted in the day total when the range crosses one. The calendar breakdown also respects leap years.
What if I swap the order of the dates?▾
The calculator shows the same absolute count and flags that the end is before the start. Day counts are direction-agnostic; the flag is so you know if you've ordered them as you intended.
Is this useful for legal deadlines?▾
It counts elapsed days — 'X calendar days from a contract date'. Some legal deadlines count business days only (excluding weekends and federal holidays); for those, use the Working Days Calculator. Confirm with your jurisdiction or attorney whether elapsed or business days apply.
Can I count age in days?▾
Yes — enter date of birth as start, today as end. For a richer breakdown (years, months, days, plus next-birthday countdown), use the dedicated Age Calculator.