Date Difference Calculator — Days Between Dates

Count the number of days between any two dates instantly.

Formula

days = |date2 − date1| (in whole days)

Examples

InputResult
2026-01-01 → 2026-01-3130 days
2026-01-01 → 2027-01-01365 days
2026-03-01 → 2026-03-1514 days

Frequently Asked Questions

Does the result include both end days?

The calculator returns the difference in days. Add 1 if you want to count both the first and the last day.

Does it handle leap years?

Yes, leap years are fully accounted for.

Can I use past and future dates?

Yes, any two calendar dates work.

Related Calculators

Age Calculator