How to Add Months and Years to a Date

Adding a calendar month or year is not the same as adding a fixed number of days. Short months and leap days require an explicit rule.

How to Add Months and Years to a Date: 31 January, Starting date; Add one month, Calendar operation; 28 February, 2026 month-end.

Why months are not fixed durations

Calendar months have different lengths. One month after 1 March is 1 April, a span of 31 calendar days; one month after 1 April is 1 May, a span of 30. A fixed number of days answers a different question from the same day in a later month.

Choose the unit that matches the real requirement. A service agreement may specify calendar months, while a return window may specify a number of days. Read the actual wording and avoid replacing one with the other just because an average month has a familiar length.

What happens to 31 January?

February has no 31st day, so “one month after 31 January” needs a policy. Some applications clamp to the final day of February. Others reject the operation or use a different rollover rule. None of those policies can be assumed universally.

The site's date add and subtract calculator clamps to the last day of the destination month when necessary. Thus one month after 31 January 2026 is 28 February 2026, while the same calculation in 2024 gives 29 February. The result is a date, not a local clock time.

Leap days and annual dates

A year after 29 February 2024 has no matching 29 February in 2025. Under a clamp-to-month-end policy, the result is 28 February 2025. Another organization may use 1 March for a particular anniversary or legal purpose. The correct policy depends on the context.

Leap years follow the Gregorian divisibility rules, including the century and 400-year exceptions. See What Is a Leap Year? for examples and the distinction between calendar rules and legal treatment of birthdays.

Adding and subtracting may not reverse

Month-end adjustment can lose the original day. If 31 January becomes 28 February after adding a month, subtracting one month from 28 February under the same policy gives 28 January, not 31 January. This is expected because the intermediate result no longer carries the original day.

For a recurring schedule that should always use the last day of each month, store that rule explicitly. Repeatedly adding a month to the previously adjusted date can drift away from the intended month-end pattern. A recurrence rule and a one-time calculation are different operations.

Dates, time zones and deadlines

Date-only arithmetic does not specify a time of day or determine an instant. If an appointment also has a local clock time and named zone, apply the relevant zone rules when resolving each occurrence. A daylight-saving transition can make some local readings missing or repeated.

The calculator counts calendar days and does not apply holiday or business-day calendars. For important deadlines, follow the applicable organization's rules. Continue to calendar versus elapsed time and business days.