Skip to content

Date Add / Subtract Calculator

Add or subtract years, months, weeks, and days from any date.

The Date Add and Subtract Calculator moves a date forward or backward by a number of days, weeks, months, or years and returns the resulting calendar date. It is the practical tool for deadlines, delivery estimates, renewal dates, notice expiry, prescription refills, trial periods, and any "what date is 90 days from now?" question. Doing this by hand invites mistakes because months differ in length, leap days appear irregularly, and adding months to an end-of-month date raises a genuine ambiguity about which day the result should land on. This page explains the conventions used so you can rely on and reproduce the result, covers the specific edge cases around month-end dates and leap years, points out the mistakes people most often make when estimating a future date manually, and sets out where these calculations show up in everyday contracts and deadlines.

Something looks wrong? Report an issue with this calculator

How to use this calculator

  1. Pick the start date and choose Add or Subtract.
  2. Fill in any combination of years, months, weeks, and days; leave others at 0.
  3. The result shows the date, its weekday, and the total day distance.

How it works

Years and months are applied first, then weeks and days. This ordering matters: '1 month + 5 days' moves to the same day-of-month next month, then adds 5 days.

Month-end clamping: January 31 + 1 month lands on February 28 (or 29 in a leap year), because February has no 31st.

Worked example

A contract requires notice 90 days before December 31, 2026.

  1. 1Choose Subtract, days = 90
  2. 2December has 31 days; count back 90 days through November and October

October 2, 2026 (a Friday).

The end-of-month rule

Adding one month to 31 January cannot produce 31 February. The standard convention, used here and by most financial and legal systems, is to clamp to the last valid day of the target month, giving 28 or 29 February.

This clamping is not reversible: adding a month and then subtracting one may not return you to the original date, because information about the original day-of-month can be lost when it gets clamped down. When exact reversibility matters, work in days rather than months.

The same clamping applies to any 31-day-to-30-day-month transition, not just February. Adding a month to 31 March gives 30 April, not 1 May, which trips up manual calculations that try to simply carry the extra day into the next month.

Days, weeks, months, and years

Adding days is unambiguous and rolls through month and year boundaries automatically. Adding weeks is simply days multiplied by seven and always lands on the same weekday as the starting date, which makes it a convenient unit for recurring weekly commitments.

Adding years keeps the month and day where possible, clamping 29 February to 28 February in common years. Contracts that specify a term in years usually intend exactly this behaviour, so a two-year lease starting on 29 February 2024 would end on 28 February 2026.

Leap years and other calendar edge cases

A leap year is any year divisible by four, except century years not divisible by 400, so 2100 will not be a leap year even though it is divisible by four. This affects date-add calculations that span a century boundary far in the future, though for most everyday use it only matters when the calculation happens to cross a 29 February.

Time zones do not affect a pure calendar-date addition, since the calculation stays in whole calendar days regardless of where you are. This is different from adding a duration measured in hours, where a daylight saving transition can shift the local clock time even though the calendar date moves by exactly one day.

Common mistakes to avoid

A frequent error is treating a month as a fixed number of days — commonly 30 — and adding that instead of using true calendar months. Over several months this drifts noticeably from the actual date a contract or convention intends, since real months range from 28 to 31 days.

Another common mistake is failing to account for the direction of counting when a deadline is phrased as "no later than 30 days after," which requires adding to the trigger date, versus "at least 30 days before," which requires subtracting from a fixed target date. Reading the clause carefully before choosing add or subtract avoids landing on the wrong side of a deadline.

Choosing the right unit for deadlines

"Within 30 days" and "within one month" are different instructions and can land on different dates. Use the unit written in the agreement rather than converting it, because the conversion introduces the ambiguity the drafter avoided by choosing a specific unit in the first place.

For deadlines that must fall on a working day, compute the calendar date here and then check it against the business days calculator, since a calendar-date deadline that lands on a weekend or public holiday often needs to be shifted to the nearest working day under many contracts and statutes.

Real-world applications and manual verification

Typical uses include working out a delivery date from a dispatch date plus a stated number of days, calculating when a free trial converts to a paid subscription, finding a prescription refill date, and projecting a lease or notice period's end date from its start.

To check a result by hand, count forward month by month first, clamping to the end of the month where needed, then add or subtract the remaining days individually. This mirrors what the calculator does internally and is the most reliable manual method, since counting purely in days for a multi-month span means tracking every month's exact length along the way.

Adding months when the day does not exist

Adding one month to 31 January cannot produce 31 February. The standard convention clamps the result to the last valid day of the target month, giving 28 or 29 February.

This makes the operation non-reversible at month ends: adding a month and subtracting one again can land a few days from where you started.

For anything that must be exactly reversible — accruals, schedules, audits — add days rather than months.

Choosing days, weeks, months, or years

Days are exact and best for deadlines. Weeks preserve the day of the week, which is useful for recurring meetings and shift patterns.

Months suit billing cycles and subscriptions, where the anniversary date matters more than a fixed count of days.

Years suit anniversaries, renewals, and age-based rules, where the calendar date is the reference point.

Common mistakes

Assuming a month is 30 days when adding mentally, which drifts by up to a day and a half per month.

Adding 365 days for a year across a leap year, which lands a day early.

Mixing up adding and subtracting when working out a date before a deadline rather than after a start.

Planning backwards from a deadline

Working backwards is the same operation with a negative sign. Start from the delivery date and subtract each lead time in turn to find the latest safe start.

Subtracting in stages — printing, shipping, approval — exposes which step has the least slack.

Add a buffer explicitly rather than mentally, so the plan shows the real margin.

Where this is used

Contract end dates, probation periods, warranty expiry, prescription refills, visa validity, and payment due dates all come from adding an interval to a start date.

Project schedules chain several intervals together, and event planning counts backwards from a fixed date.

Personal use includes tracking milestones, renewal reminders, and travel itineraries.

Verification

Reverse the operation and check you return to the original date — noting that month-end clamping may legitimately prevent an exact return.

For day counts, verify the weekday: adding a multiple of seven days must land on the same weekday.

For year additions, check whether the span crossed 29 February and whether that matters for your rule.

Adding months versus adding days

Adding one month to 31 January has no exact answer, so tools clamp to 28 or 29 February, which means the operation is not always reversible.

Adding thirty days instead gives an unambiguous result but drifts relative to the calendar month, which matters for recurring billing.

Subscription billing usually adds months with clamping and then restores the original day number where the following month is long enough.

State whether a period is measured in months or days whenever the distinction could change a deadline.

Rolling conventions for deadlines

When a calculated date lands on a weekend or holiday, most agreements roll it forward to the next working day.

The modified-following convention rolls forward unless that crosses into a new month, in which case it rolls backward instead.

Picking a convention up front and applying it consistently prevents two parties computing different deadlines from the same clause.

Document the holiday calendar used, since the same convention with different calendars still produces different dates.

When this calculator is useful

  • Contract and notice deadlines
  • Medication and follow-up scheduling
  • Counting forward from a start date
  • Answering "what date is 45 days from now?"

Frequently asked questions

What is January 31 plus one month?

February 28 (or 29 in a leap year). The date clamps to the last day of the target month rather than rolling into March.

Why does the order of months vs days matter?

Months have variable lengths. Adding a month then 5 days can differ from adding 5 days then a month; this calculator applies years and months first, matching common legal and billing conventions.

What happens when I add a month to the 31st?

The result clamps to the last day of the target month — 28 or 29 February, or the 30th in a thirty-day month. This is the standard convention.

Can I subtract as well as add?

Yes. Enter a negative value, or use the subtract option, to move the date backwards using the same rules.

Does it skip weekends?

No. Every calendar day counts. Use the business days calculator when weekends must be excluded.

Is adding 30 days the same as adding one month?

Only in a thirty-day month. In every other month they land on different dates, which is why contracts specify one or the other explicitly.

How are leap years handled?

Automatically. Adding days rolls through 29 February when it exists, and adding years clamps a 29 February start date to 28 February in common years.

Is anything saved?

No. The result is computed in your browser and nothing is transmitted.

Why doesn't subtracting a month from a result always return the original date?

Because clamping at month-end can lose information. Adding a month to 31 January gives 28 February, and subtracting a month from 28 February gives 28 January, not 31 January.

Can I add a combination of units, such as 1 year and 2 months, at once?

Yes, apply the units in sequence — years, then months, then days — and the tool handles the calendar clamping and leap-year adjustments consistently at each step.

How do I project multiple recurring dates, like a monthly payment schedule?

Repeat the add operation from each resulting date rather than from the original start date, so the schedule keeps the same day-of-month wherever the calendar allows it.

What happens when I add a month to 31 January?

The result clamps to the last day of February — 28th, or 29th in a leap year.

Is adding 12 months the same as adding a year?

Almost always yes, except at month ends where clamping can produce a different day.

Why is adding then subtracting a month not always reversible?

Because clamping at a short month loses the original day number, which cannot be recovered.

Should I use days or months for a deadline?

Use whichever unit the agreement uses. Days are exact; months follow the calendar.

Does adding weeks keep the same weekday?

Yes. Weeks are exact multiples of seven days, so the weekday never changes.

What is one month after 31 January?

Most tools clamp to the last day of February, so the operation does not always reverse cleanly.

What is the modified-following convention?

Roll a non-working date forward, unless that crosses into a new month, in which case roll it backward.

Last reviewed 2026-08-01. Formulas and assumptions are stated above; results are estimates for information and education. Report an error.