Date Difference Calculator

Count the days, weeks, months and business days between two dates.

Live results

About the Date Difference Calculator

How many days until a deadline, a holiday or a wedding? Pick two dates to count the days, weeks, whole months and business days between them.

How it works

By default the end date is not counted (from Monday to Wednesday is 2 days). Choose "Include end date" when you need to count both the first and last day, for example for hotel stays priced per day or leave applications. Business days exclude Saturdays and Sundays but not public holidays.

The formula

Days = (end date − start date) ÷ 86,400,000 ms

Weeks = days ÷ 7. Business days count each Monday–Friday in the range.

Worked example

From 1 January 2027 to 1 April 2027 is 90 days (12 weeks 6 days), 3 whole months and 64 business days.

Frequently asked questions

Does it handle leap years?

Yes. Dates are counted on the real calendar, so 29 February is included in leap years.

Are public holidays excluded?

No. Business days only exclude weekends, because holidays differ by country and region.