Date calculator

Find the days between two dates or add and subtract calendar days, including leap years.

Calculated from your inputsProcessed locally

Preparing

End date − start date. Equal dates = 0; an earlier end gives a negative result. No extra inclusive day is added.

Result

Enter two valid values to see the result.

Gregorian calendar, years 0001–9999; includes weekends/holidays, not business days or lunar dates. Independent of time zones/DST; date results use YYYY-MM-DD.

Values are processed on this page, without automatic saving or uploading to a server.

How to use

Choose a calculation and enter dates. For addition, enter a signed whole number of days; negative values go backward. Date results use YYYY-MM-DD.

Methodology

Subtracts the start date from the end date in the Gregorian calendar, independent of time zones. Equal dates give zero; an earlier end date gives a negative result.