Date & Time • ⏱️ 5 min read

How to Add or Subtract Days from a Date: Deadlines & Cycles

Calculating target delivery dates, legal notice windows, warranty expirations, and billing cycles.

The Practical Need for Date Arithmetic

Everyday life and professional contracts constantly require projecting into the future or looking back into the past:

  • “Your invoice is due net-30 days from October 1.”
  • “A tenant must provide 60 days written notice before lease expiration.”
  • “A passport must be valid for at least 180 days beyond travel return.”
  • “Warranty coverage lasts for 90 days from the date of purchase.”

Because calendar months have 28, 29, 30, or 31 days, you cannot simply add the number of days to the calendar day figure.

Step-by-Step Method: Adding Days Across Month Boundaries

To add days manually, subtract the remaining days in the current month from your target addition, then move through subsequent months:

Worked Example: Add 45 days to October 1, 2025

  1. October total days: 31 days.
  2. Days remaining in October: 31 − 1 = 30 days.
  3. Deduct from total days to add: 45 − 30 = 15 days remaining.
  4. Move into November: Starting at November 1, add the remaining 15 days → November 15, 2025.

October 1 plus 45 days is exactly Saturday, November 15, 2025.

Step-by-Step Method: Subtracting Days (Looking Backward)

To determine past dates (e.g. “What date was 90 days before June 15?”), work in reverse:

Worked Example: Subtract 90 days from June 15, 2025

  1. Subtract days in June: 90 − 15 = 75 days remaining (reaching May 31).
  2. Subtract all 31 days of May: 75 − 31 = 44 days remaining (reaching April 30).
  3. Subtract all 30 days of April: 44 − 30 = 14 days remaining (reaching March 31).
  4. Subtract remaining 14 days from March (31 days): 31 − 14 = March 17, 2025.

Ninety days before June 15 is March 17.

Handling Leap Years and Month-End Edge Cases

Be careful when adding time around late February or months with 30 days:

  • Adding 30 days to January 31 lands on March 2 in a non-leap year (31 days − 31 = 0, leaving 30 days; February has 28 days, leaving 2 days in March).
  • In a leap year, adding 30 days to January 31 lands on March 1.

Common Use Cases for Date Projection

Knowing your exact target date helps ensure compliance in:

  • Legal notices: Meeting statutory deadlines without risking default or dismissal.
  • Financial investments: Planning certificate of deposit (CD) maturity and bond coupon dates.
  • Health & Medicine: Calculating prescription refill dates and vaccination booster schedules.

Add or Subtract Days Instantly

Compute future deadlines and historical dates accurately with our fast web tools:

Put This Into Practice

Skip manual calculation math and compute your numbers in seconds with our free, 100% private Add or Subtract Days.

Open Add or Subtract Days →