Skip to main content

Time & Date · Duration

Date Difference Calculator

Find the number of days, weeks, or months between two dates — free, with no sign-in.

Date Difference Calculator

Enter two dates in either order, then select Calculate.

How this calculation works

The two dates are compared as calendar dates, not timestamps, so the result never depends on time zone. The total day count is the number of days between the earlier and later date; that same total is also shown as whole weeks plus remaining days, and as whole calendar years, months, and days (the same convention used by Age Calculator's own "how this works" section). By default the end date itself isn't counted (the standard "days between" convention); choose "Include the end date" to count both dates as part of the span instead — for example, a 5-day trip from day 1 through day 5 inclusive.

Examples

1 January 2024 to 8 January 2024 is 7 days — exactly 1 week, 0 days. 1 January 2024 to 31 December 2024 is 365 days — 52 weeks and 1 day, or 11 months and 30 days. 1 January 2024 to 5 January 2024 is 4 days by default, or 5 days if you include the end date.

About this calculation

This uses standard calendar-date arithmetic — no external source citation is needed for it.

Frequently asked questions

Does the order of the two dates matter?

No — enter them in either order. The calculator always measures the distance from the earlier date to the later one, the same way either order would be described in plain language.

Why does the calculator say my input is invalid?

One of the two date fields is empty or was not filled in as a real calendar date.

What does "include the end date" change?

By default the calculator counts the span between the two dates the same way a calendar would — the end date itself is the boundary, not counted as an extra day. Choosing "include the end date" adds one day to every result, useful when you want to count both the start and end date as part of the span (for example, how many days a trip or booking actually covers).