Date Calculator
Add or subtract days and months; compare the day counter for inclusive counting.
Choose a date.
Days part only. Holidays are not handled.
What can this date calculator add, subtract or measure?
Use this date calculator to add days to date or subtract days from date. Combine calendar units, find weeks from date, or switch to date duration. All calculations use date-only Gregorian calendar values rather than local midnight timestamps.
Date plus days and calendar-unit formula
Result = start date ± years ± months ± (weeks × 7) ± days
The date add calculator applies each unit in order, preserving the day of the month where possible. Calendar days cross month and year boundaries without any rounding.
Date calculator inputs and calendar units
Start date: The chosen reference date, in years 1–9999.+ / −: Move forward or backward for every amount.Years / Months / Weeks / Days: Optional, non-negative whole numbers; empty fields mean zero.Skip weekends: Count Monday–Friday for the Days part only; holidays are not handled.
How to add months to date with month-end clamping
Month-end clamping uses the last valid day of a shorter target month.
- Apply the years amount, clamping the day to the target month's last day if needed.
- Apply months to that result, clamping again if necessary.
- Apply weeks as seven calendar days per week.
- Apply the Days amount, skipping weekends only when selected.
January 31 plus one month becomes the last day of February; February 29 plus one year becomes February 28 in a non-leap year. The labelled examples below show these results from the same calculation used by the tool.
Clamping is applied at each step, not undone by later steps. The result includes a note whenever it occurs.
Date calculator examples: addition, subtraction and clamping
| Fixed example | Calculation | Result date |
|---|---|---|
| Add 90 calendar days | 2026-11-15 + 90 days = 2027-02-13. | Saturday, February 13, 2027 |
| Add one month at January month-end | 2026-01-31 + 1 month = 2026-02-28. | Saturday, February 28, 2026 |
| Add one month in a leap year | 2024-01-31 + 1 month = 2024-02-29. | Thursday, February 29, 2024 |
| Add one year from February 29 | 2024-02-29 + 1 year = 2025-02-28. | Friday, February 28, 2025 |
| Subtract across a year boundary | 2026-01-02 − 3 days = 2025-12-30. | Tuesday, December 30, 2025 |
| Apply all four units in order | 2026-11-15 + 1 year = 2027-11-15. 2027-11-15 + 2 months = 2028-01-15. 2028-01-15 + 3 weeks = 2028-02-05. 2028-02-05 + 4 days = 2028-02-09. | Wednesday, February 9, 2028 |
| Add two calendar weeks | 2026-11-15 + 2 weeks = 2026-11-29. | Sunday, November 29, 2026 |
| Add one day with weekends included | 2026-11-13 + 1 day = 2026-11-14. | Saturday, November 14, 2026 |
| Add one day with weekends skipped | 2026-11-13 + 1 day (skipping weekends) = 2026-11-16. | Monday, November 16, 2026 |
| Leave a date unchanged with zero days | No amounts entered: 2026-11-15 remains unchanged before any weekend adjustment. | Sunday, November 15, 2026 |
Leap-year date duration: From 2024-02-28 to 2024-03-01: 0 years, 0 months, 2 days; 2 days = 0 weeks and 2 days.
How to enter a start date and calendar amounts
- Select Add / Subtract or Date duration.
- Enter the date or dates. For Add / Subtract, choose a direction and enter any amounts.
- Select Skip weekends if needed and read the steps, notes and result.
- Copy or share the result; Reset restores the local-today start date and clears the amounts.
Date calculator mistakes: negative amounts and month lengths
- Do not use negative amounts; choose the minus sign instead.
- Months have their actual calendar lengths, not a fixed number of days.
- Skip weekends does not change years, months or weeks, and does not exclude holidays.
- Duration is not inclusive counting: identical dates have zero duration.
For a single count from your local date, use the Days From Today Calculator.
How do weeks from date differ from calendar months?
Each week moves the date by seven calendar days. Calendar months keep the day number where possible and clamp it otherwise; they are not fixed four-week periods. Weeks remain calendar weeks even when Skip weekends is on.
Does the date calculator exclude holidays?
No. The optional Skip weekends setting excludes Saturday and Sunday only for the Days part. Monday–Friday dates count for the Days part. Holidays are not handled. With zero days, a weekend result moves to the nearest weekday in the chosen direction.
How to add days and months in Excel or Google Sheets
Use =A1+B1 to add calendar days or =A1-B1 to subtract them, with a real date in A1 and a whole-day amount in B1. Format the result cell as a date, not a number.
Use =EDATE(A1,B1) to shift by months; a negative B1 subtracts months. To reproduce this calculator’s separate year-then-month clamping, use =EDATE(EDATE(A1,12*B1),C1)+7*D1+E1, where B1, C1, D1 and E1 are signed years, months, weeks and days. This formula includes weekends.
WORKDAY is a separate spreadsheet function that can exclude weekends and a supplied holiday list; this page does not supply holidays. See the Google Sheets EDATE documentation and WORKDAY documentation.
Date duration in years, months and days
For a live count of full weeks and remaining days left this year, use the Weeks Left in the Year Calculator.
Count completed calendar years, then completed months from the original day-of-month anchor, then remaining days. Clamp the anchor when its day does not exist in the target month. This is the shared calendar-subtraction rule used by the Age Calculator and Chronological Age Calculator. Reversed dates are swapped before calculation.
For counting options (inclusive count and weekdays), use the Days Between Dates Calculator.
Browse the date and time calculators for related calendar and clock tasks.
Date calculator questions about calendar arithmetic
How to add days to a date in Excel?
Use =A1+B1 when A1 contains a real date and B1 contains the whole number of calendar days to add. Format the result cell as a date. For example, January 31, 2026 plus 1 day is February 1, 2026. In Google Sheets, the same date-serial addition works.
How to subtract days from a date in Google Sheets?
Use =A1-B1 with a date in A1 and a non-negative whole number of days in B1. Format the result as a date. The same formula works in Excel. It subtracts calendar days, including weekends; it does not select a holiday calendar.
How do I add days to a date?
Choose Add / Subtract, enter the start date, choose + and enter a whole number in Days. Leave the other amounts empty to add only days. The written steps show the date plus days and the resulting weekday.
How do I subtract days from a date?
Choose the minus sign and enter a non-negative whole number of days. The direction control handles subtraction, so do not enter a negative amount.
How do I add months to a date?
Enter the months amount. If the original day does not exist in the target month, the result is clamped to the last day of that month. Years are applied before months; weeks and days follow.
How do I find weeks from a date?
Enter the whole number of weeks to move forward or backward. Each week is seven calendar days. Skip weekends changes only the Days part, not the Weeks part.
What is date duration?
Date duration is the interval expressed as completed calendar years, then completed months, then remaining days. The date duration calculator uses the same calendar subtraction as the Age and Chronological Age calculators. It also reports total weeks with remaining days and total days.
Does Skip weekends exclude holidays?
No. It counts Monday through Friday for the Days part and skips Saturday and Sunday. Holidays are not handled. If the Days amount is zero and the result is on a weekend, it moves to the nearest weekday in the chosen direction.
What happens when the second date is earlier?
Date duration mode swaps the dates before calculating the positive interval and shows a swapped-dates note. For inclusive counting or a weekday breakdown, use the Days Between Dates Calculator.
Calculators for other date and time tasks
If this helped, the following calculators are useful for date, time, and duration questions:
- Days Between Dates CalculatorDay counter for days, weeks, weekdays, and calendar duration.
- Age CalculatorExact age in years, months and days.
- Chronological Age CalculatorCompare calendar and 30-day worksheet age methods.
- Time Duration CalculatorLocal clock duration between two date-times.
- Time Card CalculatorWeekly or biweekly clock-in and clock-out hours.