Date Add & Subtract Calculator

How to use

Choose a reference date and select 'Add (+)' or 'Subtract (-)'. Enter the desired years, months, weeks, and days to see the calculated date and day of the week immediately. Each duration field is maintained independently. Changing one field does not change the values in the others.

Calculation order and month ends

Years and months are combined and applied to the original reference date in a single step. Weeks and days are calculated afterward. If the target month does not have the corresponding day, the result is adjusted to the last day of that month. For example, adding one month to January 31 produces the last day of February. Each week counts as seven days. Weeks and days are then added to or subtracted from the date obtained after the year-and-month calculation.

Examples

Adding one month to January 31, 2026, gives February 28. Adding two months gives March 31. Adding one month and three days to January 30, 2026, gives March 3. Adding 30 days to October 13, 2026, gives Thursday, November 12.

FAQ: What about leap years and subtraction?

When adding one year to February 29 in a leap year, the result is adjusted to the last day of February if the following year has no February 29. For example, February 29, 2024, plus one year is February 28, 2025. The same rule applies to subtraction. Subtracting one month from May 31, 2026, gives April 30. Years and months are calculated directly from the original reference date, without stepping through intermediate months. If the corresponding day exists in the target month, it is preserved.

FAQ: What happens with zero, time zones and limits?

If years, months, weeks, and days are all set to zero, the reference date remains unchanged. Because the calculation uses calendar dates without times or time zones, daylight saving time does not affect the result. Weekends and public holidays are included. Supported years range from 0001 to 9999. An error message is displayed if an input or calculated date falls outside the allowed range.

Related Tools