Date Calculator
Add or subtract years, months, weeks, and days from a date. See the resulting date, weekday, and calendar-day difference.
Interactive workspace
The workspace uses JavaScript. Read the instructions, method, and worked results while it becomes available.
Read the worked examplesHow to use Date Calculator
- Choose a starting date, or use Today for your local calendar date.
- Select Add or Subtract and enter the whole years, months, weeks, and days.
- Calculate to see the resulting date and elapsed calendar days.
What is Date Calculator?
Calendar arithmetic follows the lengths of actual months and years. This calculator applies years first, then months, weeks, and days. If a year or month step would produce an invalid date, it uses the last valid day of that month. The calculation uses dates without time zones, so a daylight-saving change does not add or remove a calendar day.
- Add or subtract several calendar units together
- Handle leap years and month-end dates
- Read the weekday and total day difference
- Calculate locally without saving your dates
Dates, not elapsed clock time
This tool uses the Gregorian calendar across its supported date range. It does not apply a country's historical switch from another calendar, and a day count is not a measurement of elapsed hours across daylight-saving changes. Use the historical calculator when you need explicit Julian or BCE dates.
Planning a recurring date
Use a calendar offset when the task is ‘one month later’, and a day offset when the task is ‘30 days later’. They can give different results. January 31, 2024 plus a month is February 29, while adding 30 days reaches March 1. Repeating a one-month operation can also retain an earlier month-end clamp.
Write down the operation order when handing a date to someone else. This tool does not identify business days or move a deadline away from a public holiday. Check the relevant schedule convention before using a result as a deadline.
Worked examples you can try
Each example uses illustrative inputs. Load its named preset in the calculator above, then calculate to compare with the expected result.
A month from January 31
See how a shorter target month changes the day.
January 31, 2024 + 1 month
2024-02-29 · Thursday 29 calendar days later
A year and a month from leap day
The year step clamps first; the month step keeps that day.
February 29, 2024 + 1 year + 1 month
2025-03-28 · Friday 393 calendar days later
Learn a little more
Calendar days, date differences, and month-end arithmeticFrequently asked questions
What happens when a month has fewer days?
The day is clamped to the last day of the target month. January 31 plus one month becomes February 28 in an ordinary year or February 29 in a leap year.
In what order are the units applied?
Years, then months, then weeks and days. A clamp at an earlier step is retained. For example, February 29, 2024 plus one year and one month becomes March 28, 2025.
Does this count business days?
No. All calendar days are included, including weekends and holidays. The Today shortcut reads your browser's local date.