Add or Subtract From a Date
Add to Date takes a start date and a mix of days, weeks, months and years, then returns the exact calendar date that lands. Type negative numbers to count backward instead of forward, so one calculator covers deadlines, anniversaries and lookbacks. Years and months are applied first with a day clamp, so awkward cases like the 31st of a short month resolve the way a calendar would.
How to add to or subtract from a date
- Pick your start date in the date field (it defaults to today).
- Type how many days to add or subtract, using a minus sign to go back in time.
- Fill in the weeks, months and years boxes the same way, mixing units freely.
- Leave any unit at 0 if you do not need it.
- Read the result date below and click Copy to grab it.
Examples
Add 30 days to a date
2026-06-10, add 30 days
2026-07-10
Add one month to a month end (day clamps)
2026-01-31, add 1 month
2026-02-28
Subtract three weeks with a negative number
2026-03-15, weeks = -3
2026-02-22
Frequently asked questions
How do I subtract instead of add?
Put a minus sign in front of any amount. For example -7 in the days box moves the date one week earlier, and -1 in the years box lands on the same date the previous year. You can mix positive and negative units in one calculation.
What happens with January 31 plus one month?
February has no 31st, so the day clamps to the last valid day of the target month, giving February 28 in a common year and February 29 in a leap year. Only the day is adjusted; the month and year land where you asked.
In what order are the units applied?
Years and months are applied first as calendar arithmetic, clamping the day of month if the target month is shorter. Weeks and days are then added afterward as exact 24-hour offsets, so a month plus five days means shift the month first, then step forward five days.
How does it treat leap days?
Adding one year to February 29, 2024 gives February 28, 2025 because 2025 has no leap day, and the day clamps down. Adding four years would land back on February 29 when the target year is itself a leap year.
Do the boxes accept decimals or fractions?
No. Each amount must be a whole number. Half days or partial months are rejected with a short message, since the result is always a clean calendar date rather than a time of day.
Does daylight saving time change the answer?
No. Every date is computed in UTC, so clock changes and time zones never shift the result. You always get a plain calendar date with no hidden hours attached.
Can I count backward across a year boundary?
Yes. Subtracting more days than remain in the month rolls back through earlier months and years automatically. Subtracting three weeks from March 15, 2026 returns February 22, 2026, stepping across the month end for you.
Is there a limit on how far I can add or subtract?
There is no small cap. You can shift by hundreds of years in either direction and still get a valid date, as long as the start date is a real calendar date in YYYY-MM-DD form.
Is my data private?
Yes. The calculation runs entirely in your browser and nothing is uploaded or stored, so the dates you enter never leave your device.
Learn more
- Adding months to a date and the day-clamping rule
Why adding a month to the 31st does not always give another 31st, how day clamping works, and what to expect at month ends and leap days.
Related tools
Days Until Date
Count the days from today, or any start date, until a target date, with a weeks and days breakdown. Works for past dates too. Free and instant.
Day of the Week Calculator
Find out what day of the week any date falls on, from past to future. See the weekday name and whether it lands on a weekend. Free and instant.
Add Business Days Calculator
Add or subtract working days from a date, skipping weekends and any holidays you list. See the result date and its day of the week instantly.
Add Days Calculator
Add or subtract calendar days from any date and see the result with its day of the week. Free, instant and works for past or future dates.
Add Time Calculator
Add or subtract hours and minutes from a time of day. See the new clock time and whether it crosses into another day. Free and private.
Age Calculator
Calculate your exact age in years, months and days from your date of birth. See your age in total days, weeks and months too. Free and private.