Home / More

Add or subtract dates

Add or subtract years, months and days from a date.

Resulting date
Monday, November 16, 2026
Start
Friday, October 16, 2026
Days apart
31

If the start day does not exist in the target month, such as adding one month to January 31, the result uses the last day of that month.

How this add or subtract dates calculator works

Start from any date, choose add or subtract, and enter a number of years, months and days. The calculator shows the resulting date and how many days apart the two dates are. It is useful for contract end dates, renewal dates, probation periods, warranty expiry and project timelines that are written in months or years.

How it counts

Years and months are applied first, then days. Adding a month moves to the same day number in the next month, so March 15 plus 1 month is April 15, whatever the number of days in March.

The end-of-month rule

Some dates don't exist in every month. If you add 1 month to January 31, there is no February 31, so the calculator uses the last day of February instead: February 28, 2026, or February 29 in a leap year. This is the same rule most banks and contracts use. Note that adding 1 month and then subtracting 1 month won't always bring you back to the same date because of this rule.

Worked examples

A 6-month contract starting on August 31, 2026 ends on February 28, 2027. A 2-year warranty from October 19, 2026 runs to October 19, 2028. Subtracting 18 months from July 1, 2027 gives January 1, 2026.

Common questions

Is 1 month the same as 30 days? No. A month can be 28 to 31 days. If your agreement says 30 days, use the days field or the days from today calculator.