Skip to content

Calculators

Date Difference Calculator

Count the days between two dates, including working days only, plus an exact years/months/days breakdown. Timezone-safe.

Runs on your device — nothing is uploaded

Count the days between two dates — total days, working days, and a calendar-accurate years/months/days breakdown.

How to use this tool

  1. Pick a start and end date.
  2. Optionally count the end date as a full day.
  3. Total days, working days, and the calendar breakdown appear below.

Should you count the end date?

This trips people up constantly, and the right answer depends on what you are measuring:

  • Leave it off for a gap — how many days until a deadline, or how long between two events. From the 1st to the 8th is 7 days.
  • Turn it on for a duration — how many days a booking, holiday, or hire covers. A stay from the 1st to the 8th inclusive is 8 days.

Hotels, car hire, and payroll all use the inclusive count. Deadlines usually do not.

Working days

The working-day count includes Monday to Friday only. Public holidays are not excluded, because they vary by country, region, and year — check your local calendar and subtract them yourself.

Timezone safety

Dates are handled in UTC internally. This sounds like a detail but it prevents a real bug: naïve date maths across a daylight-saving boundary can produce a result that is off by one, because one "day" that week is 23 or 25 hours long. This tool always counts whole calendar days.

The calendar breakdown

The years/months/days figure steps month by month rather than dividing by an average. That is why "1 month" from 31 January lands correctly rather than drifting — months genuinely have different lengths, and averaging hides that.

Related tools

FAQ

Is my data uploaded?

No. Everything is computed in your browser.

Does it account for leap years?

Yes. The count works on real calendar dates, so 29 February is included wherever it exists.

Are public holidays excluded from working days?

No — they differ by country and year. Subtract your local holidays from the working-day figure manually.

What if I enter the dates backwards?

The tool reports the gap as a positive number and notes that the second date is earlier.

Can I calculate a future date by adding days?

Not directly — this measures between two known dates. Pick an end date and check the count to reach the same answer.

Why does the years/months/days total not match the day count divided by 365?

Because months and years vary in length. The breakdown follows the actual calendar; dividing by 365 assumes an average year and drifts.

More calculators

Try these next