How to use the calculator
- Replace the example inputs with your values. Use the units shown beside each field.
- 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.