calcmintly← Back to all tools

Dates

Date Difference Calculator

Measure the calendar interval between two dates in days, weeks, and a years–months–days breakdown.

Your inputs

Results update as you type. No calculate button. All calculations run locally in your browser.

Result

—

Weeks: —Inclusive count: —

Enter a start and an end date.

Breakdown

QuantityValue
Days (end − start)—
Weeks and days—
Calendar breakdown—
Inclusive days (both endpoints counted)—

The headline count excludes the end date (1 January to 2 January is 1 day). Add 1 for the inclusive count, which counts both endpoints.

Formula

Calendar difference = end date − start date, evaluated using local calendar dates. The years–months–days breakdown counts completed calendar years, then completed months, then remaining days, in the same way as an age calculation.

Worked example

From 1 January 2026 to 31 December 2026: 364 days, exactly 52 weeks, and a calendar breakdown of 11 months and 30 days. The inclusive count, counting both 1 January and 31 December, is 365 days. Use Reset example above to reproduce this result.

Scope and limitations

Only whole local calendar dates are compared; times of day and time zones are ignored. Leap years are handled by the calendar itself — 2026 is not a leap year, while an interval spanning 29 February 2028 would include that day. Month lengths differ, so the years–months–days breakdown is a calendar statement, not days divided by 30. No public holidays are involved in this count; for weekdays only, use the workday calculator.

FAQ

Is the end date included?

No, in the headline count. From 1 January to 2 January is 1 day. The inclusive count (both endpoints) is shown separately and is always one more.

Why not just divide days by 30 for months?

Because months are 28–31 days long. Dividing by 30 gives an approximation that drifts; the calendar breakdown here counts completed months exactly.

How are leap years handled?

By the real calendar. A 29 February falling inside the interval adds one day to the count automatically.

What if the end date is before the start date?

The day count is negative and the page flags it. The calendar breakdown is then shown for the interval in the other direction, labelled as such.

Does this count holidays?

No. It counts calendar days only. To exclude weekends, use the workday calculator.

Related tools

Results are estimates only and do not constitute professional advice.