Calculation Number Of Days

Instant date span, business days & live distribution

Add or Subtract Months Calculator

Move a date by calendar months.

Result
—

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.

  1. Enter the start date

    Enter the date to move from, such as a contract start date.

  2. Enter the number of months

    Enter a positive number to add months or a negative number to subtract months.

  3. Shift the month and year

    The month number changes by the entered amount and the year rolls over past December or January.

  4. 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 dateMonthsResultDays moved
31 Jan 2026+128 Feb 202628
31 Mar 2026+130 Apr 202630
15 Jan 2026+615 Jul 2026181
30 Nov 2026+328 Feb 202790
31 Aug 2026−628 Feb 2026−184
4 Dec 2026+124 Dec 2027365
4 Dec 2026+184 Jun 2028548

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.