Skip to content
Toolcroft

Date & Time

Add or Subtract Days from a Date

Add or subtract days, weeks, months, years, hours, or minutes from any date. Get the resulting date, day of the week, and how far it is from today. Free, runs in your browser.

Operation
2026-07-02
Thursday · 30 days from today

Common date calculations

QuestionHow to calculate
What date is 30 days from today?Start = today, Add 30 Days
What was 90 days ago?Start = today, Subtract 90 Days
What date is 6 months from now?Start = today, Add 6 Months
What is the date in 1 year?Start = today, Add 1 Year
What was the date 2 weeks ago?Start = today, Subtract 2 Weeks

How month arithmetic works

When adding months, if the resulting month has fewer days than the start date's day, the result is clamped to the last day of that month. For example:

  • January 31 + 1 month = February 28 (or 29 in a leap year)
  • March 31 + 1 month = April 30
  • January 31 + 3 months = April 30

Concrete examples

  • Project deadlines: "Proposal due 90 days from today" -> enter today's date + 90 days.
  • Subscription renewal: "Annual subscription started Jan 15, 2024" -> add 1 year -> result: Jan 15, 2025.
  • Event planning: "Conference is June 10, 2024; need to book venue 6 months prior" -> June 10 − 6 months = Dec 10, 2023.
  • Legal/contract dates: "30-day notice period starts March 1" -> March 1 + 30 days = March 31.

Month-end edge cases

Adding months can produce unexpected results when the target month has fewer days than the source date:

  • Jan 31 + 1 month = Feb 28 (or Feb 29 in leap years), not "Feb 31" (invalid).
  • Aug 31 + 6 months = Feb 28/29, then continuing +1 month = Mar 28/29.
  • Why? Most date libraries cap the day to the last valid day of the target month. Some libraries (e.g., Moment.js's add()) overflow to the next month instead.

Tip: For contracts or recurring events, specify "last day of month" or "first day of next month" to avoid ambiguity.

Business days vs. calendar days

This tool calculates calendar days (including weekends and holidays). For business-day calculations (excluding weekends and optionally holidays):

  • JavaScript libraries: date-fns addBusinessDays(), Moment Business Days plugin.
  • Manual formula: For every 5 business days, add 7 calendar days (if no holidays intervene). Example: 10 business days ≈ 14 calendar days.
  • US Federal holidays: 11 per year (New Year's Day, MLK Day, Presidents' Day, Memorial Day, Independence Day, Labor Day, Columbus Day, Veterans Day, Thanksgiving, Christmas). Add extra days if the end date crosses a holiday.