Calculators

Date difference calculator

Count calendar days and weeks between two dates, with optional inclusive counting.

Make it yours

Processed in your browser

Your result

A little input. A useful result.

Adjust the example inputs, then select Calculate difference.

A LITTLE KNOW-HOW

About this tool

Find the distance between two calendar dates without daylight-saving changes affecting the result. By default the start date is excluded; turn on inclusive counting to count both endpoints.

How to use it

  1. 1

    Choose the start and end dates.

  2. 2

    Enable inclusive counting if you want both endpoints counted.

  3. 3

    Calculate the signed day difference and its week breakdown.

Questions, answered

Does it account for leap years?

Yes. Real Gregorian calendar dates are used, so 29 February is counted in leap years. Invalid dates such as 29 February 2023 are rejected.

What if the end date is before the start?

The day count is negative. Inclusive counting keeps that direction and increases the absolute count by one; the same date counts as one day when inclusive counting is on.