Online CalcKit

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.

Days 364
Weeks 52.00
Months (approx) 11.96
Years (approx) 1.00

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 the result include the start day and end day?

The total day count is the calendar gap between the two dates — counting the end day as a tick later than the start. So 1 January to 2 January is 1 day. If you want to include both endpoints (e.g. a 'how many days does the trip last including both arrival and departure?' count), add 1 to the figure shown.

Why is 'approx months' different from the calendar Y/M/D breakdown?

The approximate months figure divides total days by the average month length (30.44 days). The calendar breakdown counts actual elapsed months and days using calendar logic — '1 month' means a full calendar month regardless of whether that's 28, 30, or 31 days. The two will line up exactly when both dates fall on the same day-of-month; otherwise they'll differ slightly.

Does it handle leap years correctly?

Yes. The total day count is exact regardless of leap years (Feb 29 is included if the range crosses it). The calendar breakdown also handles leap years — March 1 to March 1 across a leap year is still '1 year', and Feb 28 to Mar 1 is '0 years 0 months 1 day' on non-leap years and '0 years 0 months 2 days' on leap years.

What if my end date is before my start date?

The calculator shows the absolute gap and notes 'end is before start'. The number is the same either way — calendar arithmetic doesn't care about direction for counting days.

Can I use this for project planning?

Yes for elapsed-days counting. For working days only (excluding weekends), use the Working Days Calculator. For 'when will X be done if I start today?', use the Deadline Calculator.

Why not just subtract dates in a spreadsheet?

You can — Excel and Google Sheets both subtract dates as serial numbers, returning days. This calculator adds the calendar Y/M/D breakdown and approximations on top, which spreadsheets can do but require formulas. If you've already got a spreadsheet open, the subtraction is faster.