Date Difference Calculator

Measure the gap between any two dates as exact years, months and days — plus the totals in days, weeks, weekdays and hours.

—
Years
—
Months
—
Days
Total days—
Total weeks—
Weekdays (Mon–Fri)—
Weekend days—
Total hours—
Pick two dates to see the difference.

How to use the Date Difference Calculator

Select the from date and the to date.

Press Calculate difference to see the gap in years, months and days.

Read the totals on the right — days, weeks, weekdays and hours.

Frequently asked questions

How is the difference calculated?

It uses the standard calendar borrow method: subtract the day, month and year parts and borrow days from the previous month or months from the year when needed, so the result is calendar-accurate.

How are weekends counted?

Total weekdays are Monday to Friday days in the span. Total days always counts every calendar day between the two dates.

Does it handle leap years?

Yes. Because the maths works with real calendar dates, 29 February and differing month lengths are handled automatically.

Related tools