Date Difference Calculator

Days, weeks, months and years between two dates, with weekdays and weekends counted separately.

How it works

Type two dates (leave one blank to use today) and see the gap in days, weeks and days, and years, months and days. If the first date is later than the second, the tool swaps them for you.

By default the gap is the plain difference, so 1 January to 2 January is 1 day. Tick the box if you want to count both the first and last day (2 days), which is common for leave and hostel stay.

The formula

Days = later date - earlier date (+1 if both ends are counted)

Worked example

1 January 2026 to 1 December 2026 is 334 days, which is 47 weeks and 5 days, or 11 months exactly. Of those 334 days, 238 are weekdays and 96 are weekend days.

Good to know

Common questions

Why is my answer one day more than another site?
That site probably counts both end dates. Tick the inclusive box here to match.
Do leap years count?
Yes. The days are real calendar days.
Can I get working days minus holidays?
Use the Working Days Calculator for that.
Are hours exact?
They are days x 24. Daylight saving does not apply in India.

More in Utilities.