Date Difference Calculator
Count the exact days between two dates. Change any value and the answer updates instantly.
For general information only. USD for money results. Read the Terms of Use and calculator limitations. Verify important results independently.
Before you rely on this: Check important measurements, dates, and totals against an authoritative source before relying on them.
How this calculator works
The result is the absolute number of calendar days between the two dates. It excludes the start date when counting forward and does not add an inclusive final day.
Which days are included?
This calculator measures elapsed calendar days: the number of day boundaries between two dates. October 14 to October 15 is 1 day. October 14 to October 14 is 0 days. Reversing the two inputs gives the same nonnegative difference.
Some plans instead count every date touched, including both endpoints. October 14 through October 15 then covers 2 calendar dates. The explanation beside your result shows that alternative separately. Use the convention your task calls for; do not silently add a day to an elapsed-time result.
Worked example: crossing New Year
From December 29, 2025 to January 3, 2026, the boundaries are December 30, December 31, January 1, January 2, and January 3: 5 elapsed days. Including both the starting and ending calendar dates would count 6 dates. For a stay arriving December 29 and leaving January 3, the elapsed count also corresponds to 5 nights.
| First date | Second date | Days |
|---|---|---|
| February 28, 2024 | March 1, 2024 | 2 |
| February 28, 2025 | March 1, 2025 | 1 |
| October 20, 2026 | October 14, 2026 | 6 |
| October 14, 2026 | October 31, 2026 | 17 = 2 weeks + 3 days |
Calendar dates are not local timestamps
The calculation represents each selected date at UTC midnight, subtracts, takes the absolute value, and divides by 86,400,000 milliseconds per day. This avoids daylight-saving changes affecting a calendar-date count. It does not say how many hours passed between two real events in a particular timezone.
All weekends, holidays, and leap days are included. Calendar months have different lengths, so this tool does not turn a day count into an exact age. Use the age calculator for completed years and months, or add or subtract days when you already know the duration. Do not use the count alone to determine filing, contractual, medical, or other consequential deadlines.
Date-counting questions
Does the start date count as day one?
No. The start is day zero for elapsed-day counting; the following date is one day later. The separate inclusive count includes both endpoints, so identical dates count as one calendar date under that convention.
Why does a leap year change the result?
A leap year contains February 29. Crossing from February 28 to March 1 therefore spans two day boundaries in 2024, but only one in 2025. The calendar calculation includes this automatically.
Can this count business days?
No. It counts every calendar day and has no country-specific holiday calendar. A business-day rule needs the applicable weekend, holiday, and start/end-date conventions.