Subtract Days From Date Calculator

Find the exact past date by subtracting a number of days from any starting point. Works for deadlines, legal notice periods, invoice due dates, and historical calculations. Includes a business days mode that skips weekends and holidays — and handles leap years automatically. Free, private, and runs entirely in your browser.

What does this subtract days calculator do?

This tool finds the exact date that lies a specified number of days in the past from any starting date. Enter a start date, type how many days you want to go back, and the calculator rolls the calendar backward instantly. It's the inverse of adding days to a date, and it's useful for a surprising number of everyday tasks.

Common uses include: working out when a legal notice period began, finding the invoice date when a payment is due, calculating a return-by date for a warranty, or simply figuring out what day it was 90 days ago. The calculator handles all the messy parts — month boundaries, leap years, different month lengths — so you don't have to count backward on a calendar.

For situations where only working days count (like contract deadlines or shipping estimates), switch to Business Days mode. That mode skips weekends and any custom holidays you specify, so the result always lands on a working day.

How to subtract days from a date

  1. Choose your mode: Calendar Days subtracts every day in the calendar. Business Days skips weekends and holidays, counting only working days.
  2. Enter the start date: Pick the date you want to count backward from. This is the "anchor" date.
  3. Enter the number of days: Type how many days you want to subtract. For example, 30 for a month, 90 for a quarter, or 365 for a year.
  4. Add holidays (Business Days mode only): Paste any dates you want to skip, one per line. Public holidays, company closures, personal days — anything that shouldn't count as a working day.
  5. Click Subtract Days: The result date appears immediately, with a full breakdown showing the start date, days subtracted, and (in business days mode) how many weekends and holidays were skipped.

Why use this calculator?

Two modes in one

Subtract plain calendar days or switch to business days mode to skip weekends and holidays. Both modes handle any date range you throw at them.

Leap year handling

Correctly handles leap years, month lengths, and the century rule (years divisible by 100 are not leap years unless also divisible by 400).

Custom weekend support

Not everyone works Monday to Friday. Click the day chips to define your own weekend — Friday–Saturday, Sunday only, or any combination.

Holiday exclusion

Paste your holiday list, one date per line, and the business days mode will skip them automatically so your count is accurate.

100% private

Everything runs in your browser. No dates are sent to a server. Close the tab and the data is gone.

Works offline

Once the page loads, the calculator keeps working without an internet connection. Perfect for flights or remote areas.

Common use cases for subtracting days

Legal and contract deadlines

  • Notice periods: If a contract requires 30 days' notice and the deadline is the 15th, subtract 30 days to find the last day to give notice.
  • Statute of limitations: Work out when the filing window opened by subtracting the limitation period from today.
  • Appeal windows: Find the start date of an appeal period by counting backward from the deadline.

Invoices and payments

  • Net 30 / Net 60 terms: If a payment is due today, subtract the payment term to find the invoice date.
  • Late fee start dates: Determine when a late fee should have been applied by working backward from the current date.
  • Reconciliation: Find the cutoff date for a financial period by subtracting the reporting window.

Personal planning

  • Return windows: Figure out the last day to return an item by subtracting the return period from the purchase date.
  • Warranty expiry: Calculate when a warranty began by subtracting the warranty length from the current date.
  • Countdown planning: Find what date it was 100 days ago for milestone tracking or habit streaks.

Project management

  • Retrospective dates: Determine what date a sprint or project phase began by subtracting its duration from the end date.
  • Buffer calculation: Find the latest safe start date for a task by subtracting a buffer from the deadline.
  • Historical comparison: Calculate the equivalent date in a previous period for year-over-year analysis.

Calendar days vs business days: which should you use?

The choice between calendar days and business days matters more than most people realize. Getting it wrong can mean missing a deadline by several days.

Scenario Use Calendar Days Use Business Days
Shipping estimate ("3–5 days") Yes — most carriers count working days
Legal notice period Yes — courts typically count business days
Invoice due date (Net 30) Sometimes Sometimes — depends on the contract
Warranty period Yes — usually calendar-based
Return window Yes — usually calendar-based
Project sprint duration Yes — teams usually work business days
Personal countdown ("100 days ago") Yes

When in doubt, check the contract or policy language. If it says "days," it usually means calendar days. If it says "business days" or "working days," switch the calculator to business days mode and adjust the weekend settings to match the relevant jurisdiction.

How leap years affect your calculation

Leap years add an extra day (February 29) to the calendar. When you subtract days across a leap year boundary, the result can differ by one day compared to a non-leap year. This calculator handles that automatically, but it's worth understanding the rule:

  • A year is a leap year if it is divisible by 4.
  • But years divisible by 100 are not leap years — unless they are also divisible by 400.
  • So 2000 was a leap year (divisible by 400), but 1900 was not.

For example, if you subtract 365 days from March 1, 2025, you get February 29, 2024 (because 2024 is a leap year). Subtract 365 days from March 1, 2024, and you get March 2, 2023 — because 2023 is not a leap year. The calculator gets this right every time.

Frequently asked questions

Enter your start date, type the number of days you want to subtract, and click Calculate. The calculator rolls the calendar backward and shows the resulting past date, including a full breakdown of the math.
Yes. The calculator uses JavaScript's Date object, which correctly handles leap years, including the February 29 rule and the century exceptions (years divisible by 100 are not leap years unless also divisible by 400).
Yes. Switch to Business Days mode and the calculator will skip weekends (Saturday and Sunday by default) and any custom holidays you add. You can also customize which days count as weekends.
In calendar days mode, weekends and holidays are counted like any other day. In business days mode, they're skipped, so the resulting date will always land on a working day (unless you subtract zero days).
This tool focuses on days for precision. To subtract weeks, multiply by 7 (e.g. 3 weeks = 21 days). For months and years, use the corresponding dedicated tools on our site.
Yes, when using the timezone selector, the calculator uses the IANA timezone database built into your browser, so DST transitions are handled automatically. If you're just doing date arithmetic without times, DST doesn't affect the result.
Yes, completely free. No signup, no watermark, no hidden charges. Use it as many times as you want.
Absolutely. Everything runs in your browser. No dates are sent to any server. There is no server processing, no logging, and no data storage.