Everyday & Measurement

Add or Subtract Dates Calculator

Add or subtract calendar days, weeks, months, or years from a date.

Your inputs

Example values are filled in. Replace them with yours.

Calculator values

Your result

Example result

Resulting date

2024-02-29

Calendar days between dates
29
Save or compare

Saved calculations

Save up to five results in this browser. Select up to three to compare.

    How to use the calculator

    1. Replace the example inputs with your values. Use the units shown beside each field.
    2. Select Calculate to update the answer and breakdown. Select Reset to bring back the example.

    Formula

    Add or subtract calendar units. For months or years, retain the original day when possible and otherwise use the last valid day of the target month.

    Worked example

    One month after January 31, 2024 is February 29, 2024. One year after February 29, 2024 is February 28, 2025.

    Assumptions and limits

    This counts calendar units without time zones. Moving a month from a month-end date may shorten the resulting day number.