Date Subtraction Calculator
Find the date that was a number of days, weeks, months or years before a given date — business days included.
● Everything is calculated in your browser. Nothing is sent anywhere.
How to subtract days from a date
- Choose the start date — a deadline, a due date, an event, or today.
- Keep Subtract (−) selected.
- Enter the years, months, weeks and days to go back. You can combine them.
- Tick Count business days only to skip Saturdays and Sundays for the days.
You get the result date, its day of the week, its ISO week number and the number of calendar days in between.
Examples
| Start date | Subtract | Result |
|---|---|---|
| 31 December 2026 | 90 days | 2 October 2026 |
| Friday 6 November 2026 | 10 business days | Friday 23 October 2026 |
| 10 January 2027 | 2 weeks | 27 December 2026 |
| 31 August 2026 | 6 months | 28 February 2026 |
| 29 February 2028 | 1 year | 28 February 2027 |
How the calculation works
Years and months are subtracted first, then weeks and days. If the day doesn't exist in the target month, the last day of that month is used: 31 March − 1 month = 28 February (29 in a leap year).
The start date isn't counted: 1 day before Tuesday is Monday. Business days skip weekends but not public holidays, which differ by country.
Counting back from a deadline
- Notice periods: to leave a job or a lease on a given date with 30 days' notice, subtract 30 days to find when to give notice.
- Project planning: subtract the working days each step needs from the delivery date to find when it must start.
- Events: find when to send invitations (6 weeks before) or book a venue (3 months before).
- Returns and warranties: check whether a purchase is still within 14 or 30 days.
Subtract days in Excel or Google Sheets
| You want | Formula (date in A2) |
|---|---|
| Subtract 30 days | =A2-30 |
| Subtract 10 business days | =WORKDAY(A2,-10) |
| Subtract 3 months | =EDATE(A2,-3) |
| 90 days ago from today | =TODAY()-90 |
In code: date - timedelta(days=30) in Python, DATEADD(day, -30, d) in SQL Server, d - INTERVAL 30 DAY in MySQL.
FAQ
How do I add days instead?
Switch the operation to Add, or use the Date Addition Calculator.
How do I find the number of days between two dates?
Use the Date Difference Calculator, or the Business Days Calculator for working days.
How do I find someone's birth year from their age?
Subtract the age in years from today — or use the Age Calculator for the exact age from a birth date.