Add or Subtract Days
Add or subtract days, weeks, months, years, or business days from any date.
Add or subtract days, weeks, months, years, or business days from any date. Useful for project deadlines, contract due dates, gestational milestones, or working out 'X days from today.'
How date math works
Adding days is the simplest case: shift the calendar forward by N. February 28 + 1 day = March 1 (or February 29 in a leap year). The browser's Date object handles month and year rollovers automatically — no need to special-case month lengths.
Adding months is trickier because months have different lengths. The convention this tool uses (and that JavaScript's Date object uses) is: January 31 + 1 month = March 3 (because Feb only has 28 days, so day 31 overflows). If you need 'last day of next month' semantics, use a dedicated end-of-month function.
Adding years works cleanly except on leap day. February 29, 2024 + 1 year = March 1, 2025 in this tool — the day rolls over because 2025-02-29 doesn't exist. For birthdays of leap-day babies, most jurisdictions treat Feb 28 (non-leap years) as their celebration date.
Business days skip Saturdays and Sundays. This tool does not skip statutory holidays — for legal contract dates that exclude federal holidays, use a country-specific holiday list. For most planning purposes (Mon–Fri sprints, ship dates), the simple Mon–Fri filter is what you want.
Worked examples
Project deadline: today is Friday Mar 14, 2025. Add 30 days → Sunday Apr 13, 2025. Add 30 business days → Friday Apr 25, 2025 — the business-day version is six calendar weeks because of weekends.
Contract notice: notice given Jan 15, 2025, terminates after 90 days. 90 days from Jan 15 = April 15. 90 business days = May 21 — for legal notice periods, always check whether the contract specifies calendar or business days.
Project planning: kickoff Sept 2, 2025. Beta in 8 weeks: Oct 28. GA in 6 months: March 2, 2026. Use months for long-horizon roadmap dates and weeks for sprint cadence.
Subtract example: invoice due Mar 31; subtract 14 days for early-payment discount cutoff: Mar 17.
Practical use cases
Project & sprint planning: 'sprint ends in 14 days', 'kickoff + 90 days = release window'.
Legal & contracts: notice periods (30/60/90 days), statute-of-limitations clocks, lease auto-renewal cutoffs.
Healthcare: gestational age (weeks since LMP), follow-up appointment intervals, prescription refill timing.
Education: assignment due dates, exam countdowns, semester week numbers.
Finance: payment terms (net-30, net-60), credit-card grace periods, 1099 quarterly payment dates.
Personal: visa expiration, passport renewal lead time, 'how many days until vacation'.
Common pitfalls
Calendar vs. business days for legal deadlines — courts often count calendar days but exclude the day of filing and any final-day weekend/holiday. Always check the specific rule before relying on a generic count.
Time zones: this tool treats every date as a calendar date with no time component. If you need a precise 'add 72 hours' across time zones, use a datetime tool instead.
Leap days: adding 1 year to Feb 29 lands on Mar 1 in non-leap years. Build any logic that anniversaries Feb 29 with explicit handling.
DST shifts: not relevant for date-only math (this tool ignores hours), but adding '24 hours' to a datetime can land you in the wrong calendar day on DST changeover weekends.
Frequently asked questions
Does this tool count the start date?
No — adding 1 day to March 14 gives March 15. If your contract or rule says 'including the start date', subtract 1 from your input.
What does 'business days' skip?
Saturdays and Sundays. It does not skip national or state holidays — for legal-deadline math, layer in a holiday calendar for your jurisdiction.
How does it handle the end of month?
Standard JavaScript Date behavior: Jan 31 + 1 month = March 3 (Feb 31 overflows). For 'last day of next month' semantics, use months and then snap to month-end manually.
Can I subtract months and years?
Yes — switch the operation to subtract. Same overflow rules apply (Mar 31 − 1 month = Mar 3, because Feb only has 28–29 days).
What about leap years?
Adding 365 days to Feb 28, 2024 lands on Feb 27, 2025 (because 2024 is a leap year and 2025 isn't). Adding 1 year to Feb 29, 2024 lands on Mar 1, 2025.
Does this work for past dates?
Yes — set the date to anything (even 1900) and add or subtract. The Gregorian calendar is used throughout, including for pre-1582 dates (when the Julian calendar was actually in use).
Why do my legal deadline calculations differ?
Many jurisdictions have specific rules: exclude the start day, exclude weekends, push final-day-on-holiday to next business day. This is a planning tool — confirm legal deadlines with the controlling rule of court or contract clause.
More in Date Math
Calendar arithmetic: countdowns, add or subtract days/weeks/months, exact differences, and business-day counts.
- Days Until a Date
Countdown to any future date — birthdays, holidays, deadlines.
- Date Difference
Days, weeks, months, and years between any two dates — with optional business-days-only count.
- Business Days Calculator
Count business days between two dates or add/subtract working days from any date, with custom holidays excluded.
Related calculators
Browse all Time →Business Days Calculator
Count business days between two dates or add/subtract working days from any date, with custom holidays excluded.
Days From Today
What date is 30, 60, or 90 days from today? Calendar days or business days, with day of the week.
Date Difference
Days, weeks, months, and years between any two dates — with optional business-days-only count.
Days Until a Date
Countdown to any future date — birthdays, holidays, deadlines.
How Long Have We Been Together?
Enter the day your relationship started and see exactly how long you've been together — to the second. Perfect for anniversaries.
How Long Have I Been Married?
Enter your wedding date and see your exact marriage length in years, months, days, hours, and seconds — with traditional anniversary gifts.
Age Calculator
Your exact age in years, months, days, hours, and minutes.
Lunar Age Calculator
How many lunar months, full moons, and new moons between any two dates.