Date difference calculator

Works out how much time lies between two dates: in days, weeks, months, years, hours and minutes.

Days
—
Years, months, days
—
Weeks
—
Full months
—
Full years
—
Hours
—
Minutes
—

Runs in your browser. Nothing you enter is sent to our server.

About this tool

Useful for contract terms, holidays, pregnancy, projects and countdowns. Besides the total number of days, you get the calendar difference as years, months and days.

You can add start and end times for exact hours and minutes. Every day counts as 24 hours: daylight saving changes are ignored because the calculation is not tied to a time zone.

How to use

  1. Pick the start and end dates.
  2. Optionally add times or include the end date (+1 day).
  3. Read the difference in every unit.

Examples

Input
1 Jan 2026 – 31 Dec 2026
Result
364 days, 52 weeks, 11 months 30 days
Input
Same, end date included
Result
365 days — exactly 1 year

Frequently asked questions

Should I include the end date?

For “how many days have passed”, leave it off. For the length of a period where both days count (a holiday from the 1st to the 14th), turn it on — you get 14, not 13.

What if the end date is before the start date?

Nothing breaks: the difference is shown as a positive number with a note.

How are full months counted?

A month completes when the same day of the next month arrives. If that day does not exist (the 31st), it completes on the last day of the month.