Add or subtract dates calculator

Months are added first, clamping to the last valid day of the target month.

Your inputs

Input format

Use this format with your own values:

2026-01-31

Use the units shown.

Resulting date
2026-02-28

Your calculation
How is this calculated?

Months are added first, clamping to the last valid day of the target month. Calendar days are then added.

Try an example

Worked example

Resulting date: 2026-02-28

Inputs
  • Start date: 2026-01-31
  • Months to add: 1
  • Days to add: 0

Compare inputs

Resulting date: 2026-03-31

Inputs
  • Start date: 2026-01-31
  • Months to add: 2
  • Days to add: 0
Share this page
Share this calculator

Leave unchecked to share the page without your entered values.