Date Add or Subtract
Add or subtract days, weeks, months or years to any date and see the exact resulting date and weekday.
What this calculator does
Pick a start date, an amount, a unit (days, weeks, months or years) and a direction, and the tool returns the resulting calendar date and its weekday. At the defaults — 31 January 2026, add 1 month — the result is 28 February 2026, a Saturday. The default deliberately sits on the messiest case in calendar arithmetic, because how a calculator resolves it tells you which convention it applies everywhere else.
Exact units and calendar units
Days and weeks are exact: adding 30 days always moves the date 30 positions along the calendar, and adding a week always lands on the same weekday. Months and years are calendar units: they preserve the day number where possible and let month lengths (28–31 days) and year lengths (365 or 366) absorb the difference. The two families disagree precisely when the day number does not exist in the target month.
The end-of-month clamp
Adding one month to 31 January 2026 first tries to build 31 February, which does not exist. Without a guard, the internal calendar rolls the excess days into March and lands on 3 March. This calculator instead clamps to the last valid day of the target month: 31 January + 1 month = 28 February 2026. The clamp fires only when the day number overflows, so 28 February + 1 month = 28 March and 15 January + 1 month = 15 February, exactly as expected.
| Start date | Operation | Result |
|---|---|---|
| 31 Jan 2026 | + 1 month | 28 Feb 2026 (Saturday) — clamped to month end |
| 28 Feb 2026 | + 1 month | 28 Mar 2026 (Saturday) — no clamp needed |
| 31 Jan 2026 | + 30 days | 2 Mar 2026 (Monday) — days are exact |
| 31 Jan 2026 | + 1 year | 31 Jan 2027 (Sunday) |
| 29 Feb 2028 | + 1 year | 1 Mar 2029 — leap day rolls forward |
Worked example at the defaults
Start date 2026-01-31, amount 1, unit months, direction add. The engine advances the month to February while keeping the day number 31; February 2026 has 28 days, so the overflow is detected and the date is pulled back to the last day of the month. The result is 2026-02-28, and the weekday lookup returns Saturday — the same weekday as 31 January 2026, because the clamped span of 28 days is exactly four weeks.
Adding days and weeks stays simple
With unit days, 31 January 2026 + 1 day = 1 February 2026 (Sunday), and + 30 days = 2 March 2026 (Monday) — two days later than the month arithmetic gives, because January’s own 31 days already carry the 31st. Adding weeks never changes the weekday: 31 January + 1 week = 7 February 2026, still a Saturday, and + 4 weeks lands on 28 February, also a Saturday, which is why weekly billing cycles repeat on the same day.
Subtracting dates and units
Subtraction mirrors addition with the same clamp. 31 March 2026 − 1 month lands on 28 February 2026, and so does 30 March − 1 month and 29 March − 1 month — three different day numbers compress onto one date, because 29, 30 and 31 February cannot exist. Subtracting a year has its own quirk: 29 February 2028 − 1 year = 1 March 2027, since 2027 has no leap day and year arithmetic rolls forward rather than clamping back.
Why the convention matters
Leases, notice periods, loan maturities and subscription renewals all phrase deadlines as “one month after”. The live conventions — clamp to month end (this tool), roll forward into the next month, and nearest-valid-day rules — can disagree by up to 3 days on a month-end start. A notice served on 31 January 2026 falls due on 28 February under the clamp but 3 March under rollover. When a contract names a convention, follow it; when it names none, the month-end clamp is the usual default in accounting practice, which is what this calculator implements.
Notice periods and rent dates
Rent due on the last day of the month is the clamp in the wild: a lease that starts on 31 August 2026 bills on 30 September and 31 October, because September has only 30 days. Termination notices work the same way — a 30-day notice served on 31 January expires on 2 March if counted in days but on 28 February if counted in months, and the two readings are 2 days apart. Write the unit explicitly in any notice you serve or receive.
Loan maturities and leap years
A loan drawn on 29 February 2028 with a one-year term matures on 1 March 2029 under the roll-forward that year arithmetic uses here, while a 365-day term matures on 28 February 2029. Amortisation schedules built on monthly adds inherit the same behaviour, which is why a 36-payment loan ending 29 February can show a final payment dated 1 March. Neither answer is wrong; they answer different questions.
Common mistakes
- Adding 30 days when you mean 1 month. From 31 January 2026, +30 days = 2 March but +1 month = 28 February — a 2-day gap that can move a deadline across a weekend.
- Adding 365 days when you mean 1 year. From 29 February 2028, +1 year = 1 March 2029 while +365 days = 28 February 2029, one day apart.
- Assuming the weekday is preserved. Only day and week additions keep the weekday; month and year additions land wherever the calendar puts them.
- Skipping the weekday check. A deadline that lands on a Saturday or Sunday often shifts to the next business day; the weekday output exists so you catch that before it costs a late fee.
Frequently asked questions
What is 31 January 2026 plus one month?
28 February 2026, a Saturday. The day number 31 does not exist in February, so the result clamps to the last day of the month instead of rolling into March.
What is 31 January 2026 plus 30 days?
2 March 2026, a Monday. Days are counted exactly, so this lands two days later than the one-month addition, which clamps to 28 February.
Does adding a week change the weekday?
No. Seven days is exactly one weekday cycle, so 31 January 2026 + 1 week = 7 February 2026, also a Saturday. Only month and year additions can change the weekday.
What is 29 February 2028 plus one year?
1 March 2029. Year additions preserve the month and day; since 2029 has no 29 February, the date rolls to 1 March. Adding 365 days instead gives 28 February 2029.
Which convention does the calculator use for month-end overflow?
It clamps to the last valid day of the target month: 31 January + 1 month = 28 February. This matches common accounting practice; check contracts for a named convention.
How do I subtract one month from 31 March 2026?
Choose Subtract with 1 month: the result is 28 February 2026. The same clamp applies, and 29–31 March all compress to that date.
Is adding a year the same as adding 365 days?
Usually, but not around leap days. From 29 February 2028, one year lands on 1 March 2029 while 365 days lands on 28 February 2029. From 31 January 2026 both give 31 January 2027.
Why does the result show a weekday?
Because deadlines are practical: a due date computed onto a Saturday, such as 28 February 2026, typically shifts to the next business day under most contracts.
Method and sources
- Gregorian calendar date arithmetic and end-of-month rollover conventions.