Date Calculator
Find calendar differences or add and subtract years, months, weeks and days.
Runs in your browser · No sign-up required
Calculator inputs are loading. If they do not appear, reload the page and check that JavaScript is enabled in your browser.
How this calculator works
Compare calendar dates or add and subtract whole years, months, weeks and days. Additions apply years, then months, then weeks and days. If the original day is unavailable in the resulting month, it uses that month’s last day.
Example
2026-01-31 + 1 month = 2026-02-28. From 2026-10-02 to 2026-10-05 is 3 days, or 4 with inclusive counting.
Why does subtracting a month not restore January 31?
Month addition clamps January 31 to February 28 because February 2026 has no 31st day. Subtracting one month from that new date preserves its available day 28, giving January 28. A clamped operation is not always reversible.
This table scrolls horizontally on small screens.
| Base date | Calendar-month change | Final date |
|---|---|---|
| 2026-01-31 | +1 month | 2026-02-28 |
| 2026-02-28 | −1 month | 2026-01-28 |
A mistake to avoid
Do not replace a calendar month with 30 elapsed days. Choose years/months/weeks/days deliberately; application order is years, then months, then weeks and days. For differences, total days are absolute with a reversal notice; inclusive counting changes only the total-day count.
Sources and limits
Calculation methodology · 2026-10-12
Frequently asked questions
What does inclusive counting change?
It adds one to the total day count. The calendar years, months and days breakdown is unchanged.
Are weekends or daylight-saving changes removed?
No. This is civil calendar-date arithmetic, not elapsed clock hours or working days. Use the business-day calculator to exclude weekends and entered holidays.