Add or subtract a duration from any date
This calculator shifts a date forward or backward by a combination of years, months, and days, and tells you the exact resulting calendar date and weekday. Use it for deadlines, contract end dates, subscription renewals, age milestones, or any “X days/months from now” question.
How it works
The calculation runs in two stages, both using UTC dates to prevent daylight-saving-time transitions from shifting the result by a day.
Stage 1 — months and years. The year and month components are applied first, and the day of month is clamped to the last valid day of the target month. This means Jan 31 + 1 month becomes Feb 28 (or Feb 29 in a leap year) rather than spilling into March, which matches how calendar applications handle the same operation.
Stage 2 — days. The day count is applied as exact 24-hour increments on top of the stage 1 result. Keeping months and days separate means “one month and ten days from 31 January” produces the intuitively correct date rather than the mathematically ambiguous one you’d get by summing day counts.
Month-end clamping examples
| Start date | Duration | Result | Notes |
|---|---|---|---|
| 31 Jan 2026 | +1 month | 28 Feb 2026 | Feb has 28 days in 2026 |
| 31 Jan 2028 | +1 month | 29 Feb 2028 | 2028 is a leap year |
| 31 Jan 2026 | +1 month, +1 day | 1 Mar 2026 | Clamped Feb + 1 day = Mar |
| 29 Feb 2028 | +1 year | 28 Feb 2029 | 2029 has no Feb 29 |
| 31 Dec 2025 | +2 months | 28 Feb 2026 | Dec → Feb, clamp |
Practical uses
- Subscription renewals — find the exact renewal date for a monthly or annual plan starting on any day
- Contract end dates — add the term length to the effective date to find when notice must be served
- Age milestones — add years to a birth date to find future birthdays, including the exact weekday
- Trial periods — add 30 days to a free-trial start to find the billing date
- Countdown targets — subtract a duration from an event to find when preparation should start
The resulting weekday is shown beneath the date, which is useful when a deadline must fall on a working day — if the result is a Saturday or Sunday, you immediately know to adjust forward or backward.