Date Difference Calculator — Free Online | EverydayCalcSkip to main content
everydaycalc.

Find calculators and file viewers

Press Esc to close · / or Ctrl+K to open

Home›Dates & Time›Date Difference Calculator
Dates & Time

Date Difference Calculator

Find the number of days and weeks between two dates, with optional inclusive counting.

✦ INSTANT CALCULATION

Date Difference Calculator

YOUR RESULT
—

ⓘ Calculated locally in your browser. Results depend on the values and units you enter.

How this calculator works

The difference between two calendar dates is calculated in whole UTC days, ignoring daylight-saving clock changes. For elapsed time, the start date is excluded. Inclusive counting includes both dates, which adds one day to the absolute date difference. Reverse-ordered dates show the same magnitude.

Formula and reasoning

D = |d₂ − d₁| + I, I ∈ {0,1}

  1. 1. Start with the measurements
    Start date2026-10-01End date2026-10-11Counting methodElapsed days (exclude start)
  2. 2. Substitute into the formula

    Start date = 2026-10-01 ? End date = 2026-10-11 ? Counting method = no

  3. 3. Check the computed answer

    Result for the sample inputs10 days

Worked example

October 1 to October 11 is 10 elapsed days or 11 days counting both endpoints.

Frequently asked questions

Does it include the starting date?

Choose inclusive counting to count both the first and the last date.

What about time zones?

Only calendar dates are compared; daylight saving time does not change the number of days.

Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.

Add this calculator to your website

Share a working calculator on your blog or website. Choose a fixed size or let the height fit the content.

Fixed height

Works on websites that accept iframe HTML.

Responsive height

Automatically adjusts the height. Your website must allow scripts.

Open calculator preview ↗

Powered by EverydayCalc