Sumplain

Time

Date Calculator — Add or Subtract Dates

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

Quick answer

How does Date Calculator — Add or Subtract Dates work?

Add or subtract years, months, weeks, and days from a calendar date. The method, assumptions, worked example, and primary references are shown on this page.

Inputs

Date arithmetic

Result date

2026-08-16

Sunday, August 16, 2026

Result

How to read this result

The current result follows the selected fields and the rules explained on this page. It should be interpreted with the stated scope and limits.

Understand this tool

Add and subtract calendar dates accurately

What the concept means
Calendar date arithmetic adds or subtracts civil units such as years, months, weeks, and days.
Why it exists
It handles variable month lengths and leap years explicitly instead of treating every month as a fixed duration.
When to use it
Use it for planning by calendar units when the page’s month-end rule matches the intended convention.
What the result means—and does not mean
The result is a civil date. It does not decide legal deadlines, business-day adjustments, time zones, or whether another system rolls overflowing days forward.

Why “one month” is not a fixed number of days

Months contain 28 to 31 days. Adding one month to January 31 therefore needs a policy because February has no matching day. This tool clamps to the last valid day of the target month.

Years and months are applied before weeks and days so the operation is deterministic. Another application may apply units in a different order or use overflow semantics and get a different valid result.

Key concepts

Key concepts

Civil calendar arithmetic
Operations on named calendar dates.
Month length
The varying number of days in a calendar month.
Month-end clamping
Moving an invalid target day to the target month’s last day.
Leap year
A Gregorian year containing February 29.
Fixed duration
An exact number of hours, seconds, or days.

Method or process

How the process works

Why “one month” is not a fixed number of days

Months contain 28 to 31 days. Adding one month to January 31 therefore needs a policy because February has no matching day. This tool clamps to the last valid day of the target month.

Years and months are applied before weeks and days so the operation is deterministic. Another application may apply units in a different order or use overflow semantics and get a different valid result.

Compare the concepts

Calendar month versus fixed days

AdditionMeaningPossible January 31 result
1 calendar monthSame day if valid, otherwise clampFebruary 28 or 29
30 fixed daysExactly thirty date boundariesA date in early March

Common mistakes

Common mistakes

  • Assuming a month always means 30 days.
  • Ignoring the order of multiple units.
  • Treating the result as a business deadline.

Edge cases and limits

Edge cases and limits

  • Month-end inputs expose rule differences.
  • Leap years follow Gregorian divisibility rules.
  • Negative units reverse the operation but retain the same policy.

Frequently asked questions

Quick answers about the result and its assumptions.

What happens when the target month is shorter?

The result uses the last valid day of the target month.

Does this skip weekends or holidays?

No. It performs calendar arithmetic; use the business days calculator for working-day rules.

Can I rely on this result without checking it?

Use it as a transparent estimate or transformation, review the stated assumptions, and independently verify any result used for an important decision.

Disclaimer: This tool is for general information only and does not provide financial, medical, legal, tax, or other professional advice.