Skip to content
DEVELOGCALC

Date Calculator: Add or Subtract Days, Weeks, Months, Years

Find the date a number of days, weeks, months, or years before or after a given date.

Try:

Result

Enter values above to see the result.

Calculations run in your browser. Your inputs are not sent to our server.

Formula

  • Result = Start ± years and months (calendar) ± weeks × 7 ± days

How it works

Years and months are added on the calendar first, then weeks and days are added as exact day counts. Adding months keeps the same day of the month; when that day does not exist, the result moves to the month’s last day — January 31 plus one month is February 28 (or 29 in a leap year).

Because months vary in length, “3 months” and “90 days” usually land on different dates. Use the unit your contract or deadline actually states.

Worked examples

90 days from a start date

A 90-day return window starting September 27, 2026.

Start date
2026-09-27
Operation
Add
Years
0
Months
0
Weeks
0
Days
90
Resulting date
Saturday, December 26, 2026

Month-end rule

One month after January 31, 2027 is February 28, because February 31 does not exist.

Start date
2027-01-31
Operation
Add
Years
0
Months
1
Weeks
0
Days
0
Resulting date
Sunday, February 28, 2027

Counting back

Six weeks before December 25, 2026.

Start date
2026-12-25
Operation
Subtract
Years
0
Months
0
Weeks
6
Days
0
Resulting date
Friday, November 13, 2026

Common uses

  • Return and warranty windows (30, 60, 90 days)
  • Due dates and notice periods
  • Pregnancy and project milestones counted in weeks
  • Finding a date a set number of years ago

Business days

This calculator counts calendar days. If a deadline is in business days, count weekdays with the days between dates calculator and adjust for holidays.

Last reviewed: