Skip to content
Devtoolry

Date Difference Calculator

Calculate the exact difference between two dates online in years, months, days, hours and business days. Count days until a deadline or since an event.

Runs in your browser · Nothing uploadedFree · No sign-up

Something not working, or missing a feature? Send feedback

About the Date Difference Calculator

The Date Difference Calculator works out the exact time between two dates in years, months, weeks and days, and counts business days, which is useful for deadlines, notice periods and age calculations.

Times come from your browser’s built-in IANA time zone database, so daylight saving rules are always current.

How to use the Date Difference Calculator

  1. Choose the start and end dates.
  2. Read the difference in each unit.
  3. Check the business days count for working-day deadlines.

Example

Count a notice period

Input

Start 2026-01-15, end 2026-04-30

Result

Difference      3 months, 15 days
Total days      105
Weeks           15
Business days   75 (Mon–Fri)

With "Include end date" on, the totals become 106 days and 76 business days.

Common mistakes

  • Months have different lengths. From 31 January to 29 February 2024 is 29 days but no whole month. Use total days when a contract counts days, and months only when it counts calendar months.
  • Public holidays. Business days exclude weekends only. Subtract your country’s public holidays in the period by hand.
  • Inclusive or exclusive periods. Many leave and rental periods count both the first and the last day. Switch on "Include end date" for those.

Works well with the Date Difference Calculator

Frequently asked questions

Are weekends excluded from business days?

Yes, Saturdays and Sundays are excluded. Public holidays differ by country and are not removed.

Is the end date included?

Not by default: the difference counts the days between the two dates. Switch on "Include end date" to count the last day too, as many leave and rental periods do.

How do I calculate someone’s age?

Enter the birth date as the start and today as the end; the years and months in the difference are the age.

What if the end date is before the start date?

The absolute difference is shown, with a note that the dates are reversed.

Guides and tutorials