Date Difference Calculator

Date Difference Calculator

Your data stays in this browser and is never sent to a server.

Settings may be saved only in this browser.

Practical guide

Date Difference Calculator

Use this calculator for a quick elapsed-day estimate between two dates, such as the span of a trip, the time since a milestone, or the gap between planned events. Enter the dates in a clear year-month-day format to reduce browser parsing differences.

How to use it

  1. Enter the first and second date separated by a comma.
  2. Prefer YYYY-MM-DD, YYYY-MM-DD, such as 2026-01-01, 2026-01-11.
  3. Select Run to display the absolute difference in days.

Worked example

Input
2026-01-01, 2026-01-11
Result
10 days

How the result is produced

Each value is parsed by the browser as a JavaScript date. The absolute millisecond difference is divided by 86,400,000 and rounded to the nearest whole day.

Because the absolute value is used, reversing the two dates produces the same result.

Important limits

  • The result is elapsed 24-hour periods, not inclusive calendar-day counting.
  • Business days, holidays, months, anniversaries, and custom cut-off times are not calculated.
  • Dates containing times or ambiguous regional formats can be affected by time zones and daylight-saving changes.

Questions and answers

Why is Jan 1 to Jan 11 shown as 10 days?

The tool measures the elapsed gap. Counting both endpoint dates as occupied calendar days would be a different 11-day convention.

Can it count weekdays only?

No. The current calculation treats every 24-hour day equally.