To add days to a date, take the start date and advance the calendar by exactly that many calendar days — a fixed point in time shifted by a fixed offset — so March 15 plus 30 days lands on April 14, with the weekday determined by counting forward through whatever month lengths and leap days fall in between. The arithmetic looks simple, but it only stays simple when you respect the calendar's actual structure: months have 28, 29, 30, or 31 days; February shrinks in common years; century boundaries can drop a leap day; and rolling across a year boundary means the month number resets while the year increments. A naive approach that multiplies 30 by 30 to mean "one month" silently breaks at the end of January, at the end of February during a leap year, and whenever you cross from December 31 into January. That is why date math is best handled with calendar-correct logic — the same logic that libraries like date-fns use — rather than with hand-counted day multiplication or a fixed 30-day month. The Date Add Subtract Calculator applies these rules for you and shows the result, with the weekday, the moment you type.

What It Means to Add Days to a Date
Adding days to a date is the operation of producing a new date that is a specified number of calendar days after (or before) a starting date. The inputs are always two things: a starting date and an integer offset. The output is the date that the offset lands on, plus the weekday that date falls on. There is no time zone, no time-of-day component, and no business-day skipping unless you ask for it separately — every count is in plain calendar days.
The phrase "add days to date" is often used loosely. In practice, the same operation also covers weeks, months, and years, because weeks are just seven-day multiples and months and years are calendar-period offsets that have to respect month lengths. When you say "in three months," you mean three month-boundary jumps forward, not 90 days. When you say "in 14 days," you mean 14 calendar-day steps forward, exactly two weeks. The calculator handles all four units through one consistent rule set, so the result behaves the same way whether you pick Days or Months.
The Calendar Math Behind Adding Days
Calendar dates look regular, but the underlying rules have several places where naive counting goes wrong. Knowing these cases is what separates a correct answer from an off-by-one mistake.
Months are not all 30 days. January, March, May, July, August, October, and December have 31 days. April, June, September, and November have 30. February has 28 in a common year and 29 in a leap year. Any method that assumes "30 days per month" drifts whenever it crosses a 31-day month or a short February.
Leap years follow the full Gregorian rule. A year is a leap year when it is divisible by 4, except for century years, which must also be divisible by 400 to count as leap years. So 2024 is a leap year, 2025 is not, 2100 is not a leap year, and 2000 was. The calculator applies this rule, which means February is always the correct length for the year you are working in.
End-of-month dates clamp. When you add months or years to a date whose day number does not exist in the target month, the result snaps to the last valid day of that month — the same behavior date-fns uses for addMonths. January 31 plus one month is February 28 (or February 29 in a leap year), not March 3. March 31 minus one month is February 28. February 29, 2020 plus one year becomes February 28, 2021 because 2021 is not a leap year. The result is still the right calendar position relative to the start, just on the latest day that exists in the target month.
Day and week math crosses boundaries cleanly. Adding days and adding weeks do not clamp, because every day number from 1 to 31 is valid in every month that has that day. Two weeks is always 14 days, and the count rolls across month changes and year changes automatically, so adding 90 days to October 15 lands in mid-January without any special handling on your part.
How Each Unit Behaves in the Calculator
The Date Add Subtract Calculator exposes four units, and each one is handled through a slightly different rule so the result matches what a careful person would write down by hand.
| Unit | How it is applied | Edge case it handles |
|---|---|---|
| Days | Adds or subtracts the exact day count, crossing month and year boundaries. | Counts through leap days and 28-day Februaries automatically. |
| Weeks | Treats one week as exactly 7 days, so the amount is multiplied by 7. | 2 weeks is always 14 days, even across a leap day. |
| Months | Jumps forward or backward by the chosen number of months, then clamps the day. | Jan 31 + 1 month = Feb 28 (or Feb 29 in a leap year). |
| Years | Jumps by the chosen number of years and clamps the day in the target year. | Feb 29, 2020 + 1 year = Feb 28, 2021. |
Notice that Days and Weeks share the same "no clamping" rule because every day of the month is a valid day somewhere. Months and Years share the "clamp to last valid day" rule because the target month may not have the original day number. This split is what keeps the answer correct in every case, including the awkward boundary between February and a 30- or 31-day month.
How to Add Days to a Date Using the Calculator
The calculator is built so that every change updates the result live, with no Calculate button. Here is the exact sequence to get a future or past date.
- Choose your start date in the date field. It defaults to today, so you can use it as-is for "from today" questions or change it to any past or future date.
- Select Add or Subtract. Add moves the date forward in time; Subtract moves it backward across months, years, and leap years without any special handling.
- Type the amount in the number field. You can compare a 30-, 60-, and 90-day horizon by changing this number repeatedly and watching the result update each time.
- Pick the unit: Days, Weeks, Months, or Years. Switching units recalculates immediately, so you can see how "30 days" and "1 month" differ from the same start date.
- Read the result date and its weekday below the inputs. A compact summary line (such as 2026-07-06 + 30 days = 2026-08-05) is shown so you can copy the ISO format into a spreadsheet, a calendar entry, or a ticket.
For example, with a start date of July 6, 2026, Add, 30, Days, the tool shows August 5, 2026. Because July has 31 days, the count runs from July 6 through July 31 (25 days) and then continues into August for the remaining 5 days. The summary line preserves this exact arithmetic so you can paste the result into a spreadsheet without retyping it.
Common Situations Where Adding Days Matters
Most day-count questions fall into a small set of practical categories. Knowing which unit to pick matters as much as knowing how to pick it, because the wrong unit silently shifts the deadline.
| Situation | Typical unit | Why the unit fits |
|---|---|---|
| Delivery or shipping deadline | Days | Carriers quote calendar days, and a weekend landing is usually still on time. |
| Subscription or billing renewal | Months | Renewals follow the billing cycle, not a flat day count. |
| Multi-year contract end date | Years | Multi-year contracts align to the same month as the start date. |
| Warranty expiry | Days or Months | Short warranties use day counts; long ones use months for clarity. |
| Two-week sprint boundary | Weeks | 14 calendar days is the cleanest way to mark a sprint end. |
Because the result shows the weekday, you can immediately tell whether a due date lands on a weekend and adjust before it becomes a problem. If a deadline must skip weekends, pair this calculator with a Business Days Calculator instead, since plain calendar-day addition will not move a Saturday landing onto the preceding Friday on its own.
Related Date Calculations You Might Need
Adding to a single date is only one of several date problems. If your question is actually "how many days between these two dates," you want a Date Difference Calculator instead. If you want to work out an age or an anniversary from a birth date, an Age Calculator gives the years, months, and days between the birth date and today. For deadlines that must skip weekends, a Business Days Calculator counts business days between two dates rather than adding in plain calendar days. The Date Add Subtract Calculator stays in scope whenever you have one fixed start date and want to know what date lands at a chosen offset.
Everything in the calculator runs in your browser, so the date you enter never leaves your device. There is no signup, no upload, and no limit on how many calculations you run, which makes it safe for private schedules, confidential contract dates, and ad-hoc deadline checks alike.
If you're weighing options, How to Calculate Date Difference in Years in Excel covers this in detail.
If you're weighing options, Day of the Week Calculator Chart: Look Up Any Date covers this in detail.