Home › Date & Time › Date Difference Calculator
📅

Date Difference Calculator

Pick two dates to see the exact gap — in years, months, weeks, days and working days.

Your data stays on your device. This tool processes everything directly in your browser. Nothing you enter is sent to our servers.

How it works

  1. Pick a start date and an end date.
  2. Tick "Include the end date" if both days should count (for example, trips or leave).
  3. Read the difference in years, months and days, plus totals in days and weeks.
  4. Check the business-day count for work schedules and deadlines.

Frequently asked questions

Is the end date included?

By default no: from Monday to Tuesday is 1 day. Tick "Include the end date" to count both days, which is common for hotel stays, leave requests and event durations.

How are months counted when days differ?

The calculator adds whole calendar months first — clamping to the end of shorter months, so 31 January plus one month is 28 or 29 February — then counts the remaining days.

Do business days include public holidays?

Business days count Monday to Friday only. Public holidays differ by country and region, so subtract any that fall in your date range.

Are leap years and time zones handled?

Yes. Leap days are counted correctly, and dates are compared as whole calendar days, so daylight saving changes never produce "23-hour days".

Count the days between any two dates

How many days until a deadline? How long was a project, a contract or a trip? The date difference calculator gives the answer in years, months and days, and also as total days, weeks, months, hours and business days.

Useful for

  • Counting down to holidays, weddings and exams
  • Calculating notice periods, warranties and subscription lengths
  • Working out project durations and working days for planning
  • Checking how long ago something happened

Business days

Business days count Monday to Friday. Public holidays are not removed automatically because they vary by country, state and industry — subtract any that fall in your range for an exact working-day count.

Accurate calendar maths

The calculator compares whole calendar days, accounts for leap years, and handles month-end dates sensibly, so results match what you would count on a calendar.

Keyboard shortcuts

/
Search all tools
?
Show this help
Esc
Close search or dialogs
Ctrl + Enter
Run the tool's main action (Format, Generate, Calculate…)
Ctrl + K
Clear the tool's input

Tool shortcuts work while you're using a tool, including inside its text boxes.