Inputs. Formula. A clear result.

Days between dates calculator

Compare two calendar dates with an inclusive option.

Your inputs

Example values — adjust to your situation

Check the calculation rules, rounding, and date conventions →

Your inputs stay in this browser.
Worked example

Calendar days

14days
Elapsed difference (end − start)
14 days
See the formula below ↓
The details behind your result

How this calculation works

Choose elapsed difference or inclusive dates

The default result is end date minus start date, measured in calendar days. It can be negative if the end precedes the start. The inclusive option instead returns the absolute number of named dates between the endpoints, counting both. It always returns at least one because even an identical start and end names one date.

Choose elapsed difference for questions such as how many days after a start an event occurs. Choose inclusive count when you are listing every date belonging to a schedule. Neither option removes weekends or holidays; use the work-days calculator for that.

Examples around a leap day

February 28 to March 1, 2024 spans two calendar days because February 29 occurs between them. Counting both endpoints gives three dates: February 28, February 29, and March 1. In 2025 the same month/day endpoints span only one elapsed day or two inclusive dates.

Reversing the 2024 endpoints gives −2 for elapsed difference. Inclusive mode still gives three because it reports a count of dates rather than a direction. The supporting result always shows the signed difference so the distinction remains visible. Same-day input returns zero elapsed days and one inclusive date.

Frequently asked questions

Does this count nights in a hotel?

Elapsed dates often match nights, but confirm the booking’s check-in and check-out rules.

Will daylight saving change the day count?

No. Date-only differences are calculated independently of local clock shifts.

Can I get business days?

Use Work days and provide the applicable weekends and holidays.

Check the calculation conventions

Review the shared calendar and time checks for independent verification, rounding and input conventions. How calculation data is handled.

Sources and calculation conventions

Elapsed days are signed end-minus-start differences. Inclusive mode counts both endpoint dates and returns a positive count.

References checked: October 21, 2026. These links support method checking; they do not imply endorsement or affiliation.