Add or Subtract Months Calculator
Move a date by calendar months.
How the Add or Subtract Months Calculator Works
The Add or Subtract Months Calculator moves a date by whole calendar months and keeps the day of the month. The calculator uses the last day of the target month, if the day number does not exist in the target month.
Enter the start date
Enter the date to move from, such as a contract start date.
Enter the number of months
Enter a positive number to add months or a negative number to subtract months.
Shift the month and year
The month number changes by the entered amount and the year rolls over past December or January.
Apply the month-end rule
A 31st that falls in a 30-day month becomes the 30th, and a 29th to 31st that falls in February becomes the 28th or 29th.
How the Count Is Calculated
The Add or Subtract Months formula changes the month and year, then caps the day at the month length.
Target month = Start month + M
Target day = min(Start day, Days in target month)- M
- Number of months to add (positive) or subtract (negative).
- Days in target month
- 28, 29, 30 or 31, based on the month and leap year.
- min()
- Keeps the day inside the target month.
Example: 1 month after 31 January 2026 is 28 February 2026. February 2026 has only 28 days. 6 months after 15 January 2026 is 15 July 2026, which is 181 days later.
Worked Examples
The table shows month shifts, including month-end cases.
| Start date | Months | Result | Days moved |
|---|---|---|---|
| 31 Jan 2026 | +1 | 28 Feb 2026 | 28 |
| 31 Mar 2026 | +1 | 30 Apr 2026 | 30 |
| 15 Jan 2026 | +6 | 15 Jul 2026 | 181 |
| 30 Nov 2026 | +3 | 28 Feb 2027 | 90 |
| 31 Aug 2026 | −6 | 28 Feb 2026 | −184 |
| 4 Dec 2026 | +12 | 4 Dec 2027 | 365 |
| 4 Dec 2026 | +18 | 4 Jun 2028 | 548 |
What the Tool Measures
An Add or Subtract Months Calculator is a date tool that shifts a date by calendar months instead of a fixed number of days.
Months hold 28 to 31 days, so "3 months" equals 89 to 92 days, based on the start date. Banks, landlords and lawyers use calendar months for terms written in months.
The month-end rule prevents invalid dates such as 31 April or 30 February.
When to Use This Tool
There are 5 main uses of the Add or Subtract Months Calculator, including loan schedules and probation periods.
Loan repayments
Lenders set monthly due dates for a 36-month or 60-month loan.
Lease end dates
Tenants find the end of a 6-month or 12-month lease.
Probation periods
HR teams find the end of a 3-month or 6-month probation.
Subscription renewals
Billing teams find the renewal date of monthly and quarterly plans.
Baby milestones
Parents find the date a child turns 6 months or 18 months old.