Date Add / Subtract Calculator
Add or subtract days, weeks, months, or years from any date.
Related Tools
Reviewed by
Marcus WebbSoftware Engineer & Developer Tools Specialist
About the Date Add / Subtract Calculator
Adding or subtracting time from a date sounds simple, but months have different lengths (28–31 days) and years have different lengths (365 vs 366 days in leap years). This means "add one month" cannot always mean "add 30 days" — doing so would cause end-of-month dates to drift incorrectly.
This calculator uses proper calendar arithmetic: when you add months, it moves to the same day-of-month in the target month, clamping to the last valid day when necessary. For example, January 31 + 1 month = February 28 (not March 2). When you add years, it preserves the month and day — with February 29 clamping to February 28 in non-leap target years.
Month-End Edge Cases Explained
| Operation | Result | Why |
|---|---|---|
| Jan 31 + 1 month | Feb 28 | Feb has 28 days; result clamps to last day |
| Jan 31 + 1 month (leap year) | Feb 29 | Feb has 29 days in a leap year |
| Mar 31 − 1 month | Feb 28 | Feb has no 31st; clamps to 28th |
| Feb 29 + 1 year | Feb 28 | Next year may not be a leap year |
| Jan 31 + 30 days | Mar 2 | Day arithmetic is exact; no clamping applies |
Common Use Cases
- ✓Payment due dates — Calculate when a 30-day invoice falls due, or when a 12-month subscription automatically renews.
- ✓Contract & notice periods — Determine the exact end date of a 90-day notice period, a 2-year lease, or a 3-month probationary period.
- ✓Expiry & shelf life — Find when a product, prescription, or professional certification expires if issued on a known date.
- ✓Scheduling recurring events — Plan quarterly reviews, annual renewals, or monthly check-ins by projecting dates weeks, months, or years forward.
- ✓Construction & project planning — Add build-phase durations to a project start date to compute milestone and completion dates.