CALCULATORS

Date difference calculator

Measure the interval between two dates in days, weeks, and calendar components.

✓ Free✓ No sign-up✓ Instant result
Interactive online tool
INTERACTIVE TOOL

Date difference calculator

Loading tool…

How to use this tool

  1. Choose start and end dates.
  2. Decide whether both endpoints count.
  3. Check the direction of the interval.
Formula or method usedTotal days = millisecond difference ÷ 86,400,000 using UTC dates.

Worked example

From the first to the tenth, nine days elapse; including both dates counts ten.

Assumptions and limits

Weekends and holidays are not removed.

Frequently asked questions

Why do weeks and months not always align?+

Weeks always have seven days, while months vary from 28 to 31 days.

What happens to my inputs?+

Calculation inputs are processed locally in your browser. Favorites and preferences may be saved on this device. The site may perform separate network requests for live panels; these do not include the values entered into this local calculator. Do not paste secrets into public tools.

How should I check the result?+

Weekends and holidays are not removed.