Calculate Date: Add or Subtract Days, Weeks, Months, and Years
Learn how to calculate a future or past date by adding or subtracting days, weeks, months, years, and business days.
Reviewed against our editorial policy and updated when formulas, thresholds, or guidance materially change. Learn more about AYCalculator.
Searching calculate date usually means you want to find what date falls a certain number of days, weeks, months, or years from a known date. Date math comes up constantly โ project deadlines, warranty expiration dates, pregnancy tracking, subscription renewals, loan payoff estimates, birthday calculations, and more.
Use our Date Calculator for instant and accurate date arithmetic.
Add Days to a Date
Adding calendar days is the most common date calculation. Every month has a fixed number of days, so the math requires tracking which months you pass through.
Example:
Start date: May 2, 2026
Add 30 days
May has 31 days, so from May 2:
- Days remaining in May: 31 โ 2 = 29
- After 29 days you reach May 31
- You still have 1 day to add
- Result: June 1, 2026
This seems simple, but it gets tricky near the end of months and around February in leap years. A calculator handles this automatically.
Subtract Days From a Date
Subtracting days works in reverse โ you count backward through the calendar.
Example:
Start date: May 2, 2026
Subtract 14 days
Count back through April:
May 2 โ 2 days = April 30
April 30 โ 12 more days = April 18, 2026
Add Weeks
One week = exactly 7 days, so adding weeks is predictable.
Formula: Target date = Start date + (Weeks ร 7)
Examples:
| Start Date | Add | Result |
|---|---|---|
| March 1, 2026 | 6 weeks (42 days) | April 12, 2026 |
| January 15, 2026 | 8 weeks (56 days) | March 12, 2026 |
| November 10, 2026 | 4 weeks (28 days) | December 8, 2026 |
Weeks crossing a month-end are where manual counting typically goes wrong.
Add Months
Months are irregular โ they have 28, 29, 30, or 31 days. Adding โone monthโ is not the same as adding 30 days.
The convention for adding months is to advance the month number and keep the same day if possible. If the resulting month does not have that day, most calculators use the last day of that month.
Examples:
- January 15 + 1 month = February 15
- January 31 + 1 month = February 28 (or 29 in a leap year) โ no February 31 exists
- March 31 + 1 month = April 30 โ no April 31 exists
- October 31 + 3 months = January 31
This is why date calculators are more reliable than mental math for month-based date calculations.
Add Years
Adding years is straightforward except for February 29 in leap years.
Example: February 29, 2024 + 1 year
2025 is not a leap year, so February 29 does not exist. Most systems use February 28, 2025 as the result.
Calculating Business Days
Business day calculations exclude weekends (Saturday and Sunday) and sometimes public holidays. They are commonly needed for:
- Shipping and delivery windows
- Legal deadlines (court filings, contract notices)
- Payroll processing
- Mortgage and loan closing periods
- Insurance claim deadlines
Example:
If a legal notice requires a response within 10 business days from Friday, May 1, 2026:
- Skip weekends
- May 1 (Friday): Day 0
- May 4 (Monday): Day 1 โฆ May 14 (Thursday): Day 10
Deadline: May 14, 2026
If holidays are excluded, adjust the count further. Holiday calendars vary by country and state, so using a calculator configured for your jurisdiction is important.
Common Date Calculation Uses
| Use Case | What You Calculate |
|---|---|
| Warranty expiration | Purchase date + warranty period |
| Passport/visa expiry | Issue date + validity period |
| Pregnancy due date | LMP date + 280 days |
| Project deadline | Start date + project duration |
| Subscription renewal | Start date + subscription term |
| Loan payoff | Start date + number of payment periods |
| Court deadline | Filing date + required response days (business days) |
| Age milestones | Birthdate + number of years |
Counting Inclusive vs Exclusive Days
A common source of confusion in date calculations:
Exclusive counting โ counts days between dates, not including the start date. This is the mathematical difference.
Example: May 1 to May 10 = 9 days (May 2, 3, 4, 5, 6, 7, 8, 9, 10)
Inclusive counting โ includes both the start and end date. Used for many deadlines.
Example: May 1 to May 10 inclusive = 10 days
Always check the rule: legal deadlines, bank products, and software systems may use different counting conventions.
Finding a Past Date
The same logic works in reverse. If something happened 90 days ago, you can find the start date by subtracting 90 days from today.
Example: 90 days before May 2, 2026:
- Subtract 31 days โ April 1, 2026
- Subtract 31 more โ March 1, 2026
- Subtract 28 more โ February 1, 2026
90 days before May 2, 2026 = January 31, 2026
Leap Year Considerations
February has 28 days in a regular year and 29 in a leap year. Leap years occur:
- Every 4 years generally
- Except every 100 years (not a leap year)
- Except every 400 years (is a leap year)
So 2000 was a leap year, 1900 was not, and 2100 will not be. For most everyday date calculations, only the โevery 4 yearsโ rule matters.
Common Date Calculation Mistakes
Off-by-one errors โ forgetting whether the start day is counted or not.
Using 30-day months universally โ assuming every month has 30 days can shift results by 1โ3 days.
Forgetting leap years โ February can have 28 or 29 days depending on the year.
Mixing business days and calendar days โ a 10 calendar day deadline is not the same as 10 business days.
The Bottom Line
To calculate a date, choose a start date, choose add or subtract, enter the time amount, and apply the correct calendar rules. Days and weeks are predictable; months and years require handling varying month lengths and leap years.
Use the Date Calculator to avoid manual counting mistakes, especially for month-based and business-day calculations.
How to Calculate: Step-by-Step Guide
Choose a start date
Pick the date you want to calculate from.
Choose add or subtract
Decide whether the target date is before or after the start date.
Enter the time amount
Add or subtract days, weeks, months, or years.