Browser-only calculator

Date Difference Calculator

Compare dates without timezone or daylight-saving shifts affecting date-only results.

Loading calculator…
Browser-only processingCalculations are performed locally in your browser. Your entered values are not sent to our servers.

Date Difference Calculator formula

Total days use calendar day numbers; years, months and days use calendar-aware borrowing.

Worked example

January 1 to January 8 is 7 days, or 8 days when the end date is included.

How to use this calculator

  1. Choose start and end dates.
  2. Choose whether to include the end date.
  3. Calculate or swap the dates.

Important assumptions and limitations

Reverse ranges are reported clearly and measured by absolute duration.

Related calculators

Frequently asked questions

What does include end date do?

It adds one calendar day to the inclusive range.

Can the end date be earlier?

Yes. The calculator identifies the direction and still reports the duration.