Skip to content

Calendar Calculator - Add or Subtract Years, Months, Days

Calculate dates by adding or subtracting years, months, weeks, or days. Handles leap years and month-end dates automatically for accurate deadline planning.

Calendar Calculator

Operation
Result
2026-08-11
Start Date
Aug 10, 2026
End Date
Aug 11, 2026
Loading calculator...
📚

Documentation

What Is a Calendar Calculator?

A calendar calculator finds a new date by adding or subtracting years, months, weeks, or days from a starting date. It handles calendar rules automatically, such as leap years and months of different lengths, so the result is always a real date.

How to Use the Calendar Calculator

  1. Enter a start date, or use today's date.
  2. Choose a time unit: years, months, weeks, or days.
  3. Enter an amount, such as 90 or 6.
  4. Choose add or subtract.
  5. Read the result date.

The result updates as soon as any value changes.

Date Calculation Formula

The calculator uses a different rule for each time unit.

Years. The calculator adds or subtracts the amount from the year number and keeps the month and day the same. The exception is February 29. If the start date is February 29 and the target year is not a leap year, the result becomes February 28.

Months. The calculator adds or subtracts the amount from the month number, carrying extra months into the year (for example, month 13 becomes January of the next year). It keeps the same day of the month where possible. If the target month is shorter than the start day - adding one month to January 31, for instance - the result becomes the last day of the target month.

Weeks. One week equals seven days. The calculator multiplies the amount by seven and adds or subtracts that many days.

Days. The calculator adds or subtracts the exact number of days, counting every day in between, including the ones lost or gained across leap years.

Leap year rule. A year is a leap year if it can be divided evenly by 4, unless it can also be divided evenly by 100. A year divisible by 100 is still a leap year if it can also be divided evenly by 400. Under this rule, 2024 is a leap year, 1900 is not, and 2000 is.

Supported date range. The calculator works with dates from January 1, year 1 CE, through December 31, year 9999 CE. It cannot produce a date before year 1 CE - there is no support for BCE dates - and it shows an error if a calculation would fall outside this range. The calculator also always applies the modern Gregorian calendar, even to dates before 1582, the year most of Europe adopted it. Historical records from before that year may use a different calendar, so results for very old dates may not match those records.

Example Calculations

Adding days. Start date March 1, 2024. Add 90 days. Result: May 30, 2024. Because 2024 is a leap year, February has 29 days, which the calculator counts automatically.

Adding months. Start date January 15, 2023. Add 36 months. Result: January 15, 2026. Thirty-six months is exactly three years, so the day number does not change.

Month-end clamp. Start date January 31, 2023. Add 1 month. Result: February 28, 2023. February 2023 has only 28 days, so the calculator moves the result back to the last day of February instead of rolling into March.

Leap day plus a year. Start date February 29, 2024. Add 1 year. Result: February 28, 2025. 2025 is not a leap year, so February 29 does not exist that year.

Subtracting years. Start date June 15, 2025. Subtract 25 years. Result: June 15, 2000.

Common Uses for Date Math

Project teams use date math to set delivery deadlines and sprint end dates. Lenders use it to find loan maturity dates and payment schedules. Event planners use it to set dates for weddings and conferences months ahead of time. Legal contracts rely on it for notice periods and expiration dates. Patients and clinics use it to track medication refill dates and follow-up appointments.

Frequently Asked Questions

How do I find the date 90 days from today? Enter today's date, set the unit to days, enter 90, and choose add. The calculator returns the exact date, adjusting for the varying lengths of the months in between.

Does the calculator handle leap years? Yes. It checks whether a year has 366 days using the standard leap year rule and adjusts February 29 calculations to February 28 when the target year is not a leap year.

What happens when the target month is shorter than the start date's day number? The result moves to the last valid day of that month. Adding one month to January 31 gives February 28 in most years, or February 29 in a leap year, because February never has 31 days.

Can the calculator work with BCE dates? No. The calculator only supports dates from year 1 CE through year 9999 CE. A calculation that would produce a date before year 1 CE returns an error instead of a result.

Does the calculator skip weekends and holidays? No. It counts every calendar day, including weekends and holidays. A separate business-day or workday calculator is needed to exclude them.

What is the difference between adding 30 days and adding 1 month? Adding 30 days always moves forward exactly 30 calendar days. Adding 1 month moves to the same day number in the next month, which can be 28, 29, 30, or 31 days later depending on the months involved. The two operations usually give different results.