FREE ONLINE DATE TOOL

Days Between Dates Calculator

Count the exact number of calendar days between two dates, with options to include or exclude the selected dates.

Standard difference calculates the elapsed calendar days between the two dates.

How to Use the Days Between Dates Calculator

  1. Select the beginning date in the Start Date field.
  2. Select the ending date in the End Date field.
  3. Choose a counting method: standard difference, include both dates, or exclude both dates.
  4. Click the Count Days button.
  5. Review the total counted days, complete weeks, and remaining days.
  6. Use Swap Dates to exchange the selected dates.
  7. Click Reset to clear the calculation and start again.

How Are the Days Between Two Dates Counted?

The Standard Difference measures the number of calendar days that have elapsed from the start date to the end date. The starting date is not counted as a completed day.

For example, the standard difference between January 1 and January 2 is one day. If both selected dates are identical, the standard difference is zero days.

The Include Both Dates option adds the start date and the end date to the count. Therefore, January 1 to January 2 produces an inclusive result of two days.

The Exclude Both Dates option removes both boundary dates from the result. If there are no complete dates between the selected dates, the result will be zero.

The calculator uses calendar dates rather than clock time, so daylight-saving time changes do not affect the result. Leap years and months with different lengths are handled automatically.

Frequently Asked Questions

What is the standard difference between two dates?

The standard difference represents the elapsed number of calendar days from the start date to the end date without counting the start date as a completed day.

What does Include Both Dates mean?

This option counts both the selected start date and the selected end date. Its result is normally one day greater than the standard difference.

What does Exclude Both Dates mean?

This option removes both the start date and the end date from the count and only counts the complete calendar dates between them.

What result will I get if both dates are the same?

The standard difference will be zero days, the inclusive count will be one day and the exclusive count will be zero days.

Does the calculator account for leap years?

Yes. Leap years, February 29 and months containing different numbers of days are handled automatically.

Does this website save the dates I enter?

No. The calculation runs inside your browser, and the selected dates are not submitted or stored by this calculator.

Related Date and Time Calculators

Explore more free tools for date differences, working days and calendar calculations.