Date Add or Subtract Calculator
Add or subtract days, weeks, months or years from a date.
Reviewed by the Calculation Machine team · Updated 24 October 2026 · How we check our maths
Your values
ⓘ Live results
- Resulting date
- 2026-10-26
- Written out
- Mon, 26 Oct 2026
- Day of the week
- Monday
- Days from start
- 90
Quick answer
To add days to a date, count forward on the calendar, carrying into the next month when you pass its last day. 90 days after July 28, 2026 is Monday, October 26, 2026: 3 days left in July, 31 in August, 30 in September and 26 in October. Adding weeks is the same as adding 7 days each, so the weekday never changes.
What the Date Add or Subtract calculator does
This calculator moves a date forward or backward by a number of days, weeks, months or years and shows the resulting date, its weekday and how many calendar days separate the two. It handles month lengths and leap years for you.
Common uses are notice periods ("30 days' notice"), return and warranty windows, visa and probation periods, medication courses, and counting back from an event, such as working out the date six weeks before a wedding or exam. For pregnancy dates use the due date calculator, which follows obstetric conventions.
Days and weeks are unambiguous. Months and years are not, because months differ in length: this calculator rolls an impossible date into the next month, so January 31 plus one month gives March 3 in 2026 (March 2 in a leap year). Spreadsheets and many contracts instead stop at the last day of the shorter month (February 28). If the exact convention matters, read the section below and check the wording of your agreement. Weekends are counted like any other day here; to count working days only, use the business days calculator.
Worked examples
90-day notice period
Notice given on Tuesday, July 28, 2026 with a 90-day notice period.
Inputs
- Start date2026-07-28 YYYY-MM-DD
- Amount90
- UnitDays
- DirectionAfter (add)
Result
- Resulting date2026-10-26
- Written outMon, 26 Oct 2026
- Day of the weekMonday
- Days from start90
The period ends on Monday, October 26, 2026. Check whether your contract counts the day notice is given; if it does, the last day is one day earlier.
Counting back six weeks
An exam on Monday, March 15, 2027, and you want to start revising six weeks before.
Inputs
- Start date2027-03-15 YYYY-MM-DD
- Amount6
- UnitWeeks
- DirectionBefore (subtract)
Result
- Resulting date2027-02-01
- Written outMon, 01 Feb 2027
- Day of the weekMonday
- Days from start42
Start on Monday, February 1, 2027, exactly 42 days earlier. Because weeks are multiples of 7 days, the result always lands on the same weekday as the start date.
One month after January 31
A monthly subscription that started on January 31, 2026.
Inputs
- Start date2026-01-31 YYYY-MM-DD
- Amount1
- UnitMonths
- DirectionAfter (add)
Result
- Resulting date2026-03-03
- Written outTue, 03 Mar 2026
- Day of the weekTuesday
- Days from start31
February 2026 has no 31st, so the date rolls over 3 days to Tuesday, March 3. Most billing systems instead charge on the last day of the month (February 28), so use days rather than months if you need a fixed interval.
How months and years are added
Adding months keeps the day-of-month and changes the month. When the target month is too short, there are two common conventions:
- Roll over (this calculator): the extra days spill into the next month. January 31 + 1 month = March 3 (2026). February 29, 2028 + 1 year = March 1, 2029.
- Clamp to month end (Excel's EDATE, many banks and contracts): the date stops at the last day of the shorter month. January 31 + 1 month = February 28; February 29, 2028 + 1 year = February 28, 2029.
The two only differ when the start date is the 29th, 30th or 31st. For anything legal or financial on those dates, follow the convention in the document, or count in days instead.
Days in each month
Use this to check a result by hand or to see how many days "one month" really is from a given start date. A year is a leap year if it divides by 4, except century years, which must divide by 400: 2028 is a leap year, 2100 will not be.
| Month | Days | Month | Days |
|---|---|---|---|
| January | 31 | July | 31 |
| February | 28 (29 in leap years) | August | 31 |
| March | 31 | September | 30 |
| April | 30 | October | 31 |
| May | 31 | November | 30 |
| June | 30 | December | 31 |
30 days, 4 weeks or 1 month
These are often used as if they were the same, but they are not. Four weeks is always 28 days. One calendar month is 28 to 31 days depending on the start date. "30 days" is a fixed count that ends on a different date of the month each time. A 12-month period is 365 or 366 days, while 52 weeks is 364 days, which is why weekly schedules drift by a day or two each year. To measure the exact gap between two dates you already know, the date difference calculator gives days, weeks and months.
How to use the Date Add or Subtract Calculator
- 1Enter the start date as YYYY-MM-DD; use today's date to find a date relative to now.
- 2Enter the amount and choose days, weeks, months or years.
- 3Choose After (add) for a future date or Before (subtract) to count back.
- 4Read the resulting date, its weekday and the number of calendar days from the start.
Frequently asked questions
What date is 90 days from today?
Enter today's date, 90 and Days. Ninety days is roughly three months, but it often lands a day or two away from the same date three months later, because three calendar months can be anywhere from 89 to 92 days.
Does adding days include the start date?
No. Adding 1 day to Monday gives Tuesday. If a rule says "within 30 days including today", subtract one from the amount before calculating.
What is January 31 plus one month?
Here it is March 3 (March 2 in a leap year), because February is too short and the extra days roll over. Excel's EDATE and most billing systems give February 28 or 29 instead.
How do I find a date a number of weeks before an event?
Enter the event date, the number of weeks and choose Before. The result falls on the same weekday as the event.
How do I work out someone's age on a future date?
Use the age calculator, which gives exact years, months and days between a birth date and any other date.
References
- ISO 8601 – Date and time format — International Organization for Standardization (ISO)
- EDATE function — Microsoft Support
About this calculator
- Built and reviewed by the Calculation Machine team · How we build and test calculators
- Last reviewed: October 24, 2026
- Report an error