Date Add/Subtract Calculator

Add or subtract days, weeks, months, or years from any date to calculate a new date.

Date Calculation

Result Date

Tuesday, June 30, 2026
No change after Tuesday, June 30, 2026

Date Details

0
Days Difference
Q2
Quarter
181
Day of Year
26
Week of Year

Additional Info

ISO Format2026-06-30
Day of WeekTuesday
Days in Month30
Leap YearNo

What Is a Date Add/Subtract Calculator?

A date add/subtract calculator computes the resulting date when you add or subtract a specified number of years, months, weeks, or days from a starting date. This is one of the most frequently needed date calculations in everyday life β€” "What date is 90 days from today?", "What was the date 6 months ago?", "When does my 30-day return window expire?" β€” all require adding or subtracting a duration from a known date.

While simple day addition is straightforward (just count forward or backward), adding months and years requires calendar-aware arithmetic. Adding one month to January 31 cannot simply add 31 days β€” it must navigate to February, and since February has fewer than 31 days, the result is clipped to the last valid day of February (28 or 29 depending on leap year). This calculator handles these edge cases correctly.

The calculator supports both addition and subtraction operations on all four duration components simultaneously. You can add 1 year, 3 months, 2 weeks, and 5 days to any starting date in a single operation, and the result accounts for the exact calendar structure including leap years and varying month lengths.

Common uses include: calculating contract or subscription expiry dates, finding project deadlines N days forward, determining the exact date N months before an appointment for preparation scheduling, computing due dates for loans and bills, and finding dates for legal notice periods.

How Date Addition and Subtraction Works

The calculator applies duration components in order: years first, then months, then weeks, then days. Each step adjusts the date using calendar-aware rules before passing the result to the next step.

Date Addition Formula

Result = StartDate + Years + Months + (Weeks Γ— 7) + Days

Where:

  • StartDate= The base date from which to calculate
  • Years= Add/subtract full calendar years (moves from year N to year N+k, same month and day)
  • Months= Add/subtract full calendar months (navigates forward/backward through months, clipping to last valid day if needed)
  • Weeks Γ— 7= Convert weeks to days (1 week = 7 days exactly)
  • Days= Final day offset applied after years and months

Month-End Edge Cases

Adding months to dates near the end of the month requires special handling. Adding 1 month to January 31 yields February 28 (or 29 in a leap year) β€” not March 2 or 3 β€” because the result must be clipped to the last valid day of February. This "end-of-month clipping" behavior is the standard approach used by most programming languages and database systems for date arithmetic.

Similarly, adding 1 month to March 31 yields April 30 (not May 1), since April has only 30 days. This can cause unintuitive results: adding 1 month and then subtracting 1 month may not return you to the original date when starting from a month-end date. For example: January 31 + 1 month = February 28; February 28 - 1 month = January 28, not January 31.

For day-precision date calculations where this edge case matters (e.g., subscription billing, contract terms), it is safer to specify the duration in total days rather than months to avoid any ambiguity. The calculator's day output shows the total calendar days between the start and result dates, giving you a precise alternative measure.

Leap Year Handling

Adding exactly 1 year to February 29 (a leap day) presents a unique case: February 29 does not exist in non-leap years. The standard handling is to return March 1 of the following year when the target year is not a leap year. Some systems return February 28 instead. This calculator uses March 1 as the result β€” check your specific contractual or legal context if the exact date matters for February 29 leap day arithmetic.

Adding days to and from February is straightforward: the calculator correctly counts February as 28 or 29 days depending on whether the target year is a leap year (divisible by 4 and either not a century year, or divisible by 400). For example, adding 30 days to February 1, 2024 (a leap year) yields March 2, 2024, while adding 30 days to February 1, 2025 (not a leap year) yields March 3, 2025.

Practical Applications

Legal and contractual deadlines are a primary use case. A 30-day right of rescission on a home purchase started on March 15 ends on April 14. A 90-day warranty period from November 10 expires on February 7 of the following year. A "not more than 60 days prior notice" requirement for lease termination works backward β€” subtract 60 days from the lease end date to find the notice deadline.

Medical and pregnancy calculations frequently use date addition: the standard human pregnancy is approximately 280 days (40 weeks) from the last menstrual period. Medication courses ("take for 14 days"), surgical recovery timelines ("return to normal activities after 6 weeks"), and vaccination schedules all use date arithmetic of exactly this type. For these medical contexts, always verify with your healthcare provider β€” this calculator provides the date math but not medical advice.

Worked Examples

90-Day Contract Notice Period

Problem:

A contract expires December 31, 2025. The termination notice must be given 90 days in advance. By what date must the notice be sent?

Solution Steps:

  1. 1Operation: subtract 90 days from December 31, 2025
  2. 2December: 31 - 90 = go back through October and September
  3. 3December 31 minus 31 days = November 30; minus another 30 = October 31; minus another 29 = October 2
  4. 4Result: Notice must be given by October 2, 2025

Result:

The 90-day advance notice for a December 31 contract expiry must be sent by October 2, 2025.

Adding 6 Months and 15 Days to March 15

Problem:

A 6-month, 15-day probationary period starts March 15, 2025. When does it end?

Solution Steps:

  1. 1Start: March 15, 2025
  2. 2Add 6 months: September 15, 2025
  3. 3Add 15 days: September 15 + 15 = September 30, 2025
  4. 4Result: September 30, 2025 (no month-end clipping needed since Sep 30 is valid)

Result:

The probationary period ends September 30, 2025.

End-of-Month Clipping Example

Problem:

A monthly subscription starts January 31, 2025 and renews monthly. What are the next three renewal dates?

Solution Steps:

  1. 1Month 1: January 31 + 1 month β†’ February 28, 2025 (clipped β€” Feb has 28 days in 2025)
  2. 2Month 2: February 28 + 1 month β†’ March 28, 2025 (not clipped β€” March 28 is valid)
  3. 3Month 3: March 28 + 1 month β†’ April 28, 2025
  4. 4Note: after February clipping, the renewal date stabilizes at the 28th for subsequent months

Result:

Renewal dates: February 28, March 28, and April 28. The January 31 date clips to 28th due to February's short month.

Tips & Best Practices

  • βœ“For contractual deadlines, prefer adding days rather than months to eliminate month-end ambiguity.
  • βœ“Working backward from a deadline? Use the 'Subtract' option and enter your notice period to find the action date.
  • βœ“Remember that adding 1 month to a month-end date clips to the last day of the following month β€” not predictable over long sequences.
  • βœ“Leap year affects February: 2024 has 29 days in February, 2025 has 28. Date arithmetic crossing February in different years gives different results.
  • βœ“For subscription renewals, most platforms anchor to the calendar date of original signup, applying month-end clipping as described above.
  • βœ“Combine this with the Business Days Calculator to find the nearest business day if your computed result falls on a weekend or holiday.

Frequently Asked Questions

Adding days is a simple integer offset β€” 30 days from March 1 is always March 31, regardless of year. Adding months is calendar-aware β€” 1 month from March 1 is April 1, but 1 month from March 31 is April 30 (since April has only 30 days). For legal and contractual deadlines where exact date precision matters, adding days rather than months eliminates ambiguity about month-end behavior.
The calculator applies components in sequence: years first, then months, then weeks, then days. Each step uses the result of the previous step as its starting point. So 1 year + 1 month from January 31 first moves to January 31 of the next year, then adds 1 month to get February 28 (or 29 in a leap year). The order matters: switching to months first and then years could produce a different result if month-end clipping occurs.
This calculator adds a duration to a date to find a result date. To find the duration between two known dates (e.g., how many days from Date A to Date B), use the Date Difference Calculator instead. The two operations are inverses: date addition finds the end date given a start and duration; date difference finds the duration given a start and end date.
Adding years to February 29 (a leap day) lands in non-leap years, where February 29 does not exist. This calculator advances to March 1 of the target year in that case. Some implementations use February 28 instead. If your specific use case requires a specific handling of this edge case (legal documents, loan agreements, etc.), verify with the relevant authority rather than relying solely on any calculator's default behavior.
Enter today's date as the start date, select 'Add' as the operation, enter 2 in the years field and 6 in the months field, and leave weeks and days at 0. The calculator will add 2 full calendar years and then 6 calendar months to today's date, accounting for month-end clipping if the resulting month is shorter than the start day of the month.

Sources & References

Last updated: 2026-06-06

πŸ’‘

Help us improve!

How would you rate the Date Add/Subtract Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Γ°ΕΈβ€œΕ‘

Formula Source: Standard Mathematical References

by Various

Γ°ΕΈβ€β€žLast reviewed: May 2026
Γ’Ε“β€œFormula checks are based on standard references and internal QA review.