Add/Subtract Time
Add or subtract time from a date
Reliable calculator with instant results. Clean interface, accurate computations.
Formula
Add/subtract time units to/from dateHow to Use Add/Subtract Time
- Fill in the calculator with your numbers.
- Verify your inputs are correct.
- Read the instant calculation results.
- Copy or apply the results as needed.
Examples
Example 1
Input
date: 2024-01-01
operation: add
years: 1
months: 6
days: 15
Output
result: 2025-07-16
Adding or subtracting a number of days from a date sounds like plain arithmetic, but the calendar is not a flat number line: months have different lengths, some years have an extra day, and a naive 'add 30 days per month' approximation drifts further off the further out you push it.
The formula
result date = start date + N days, carrying across variable month lengths- start date
- the date you are counting from
- N
- the number of days to add or subtract, negative to subtract
Worked example
Adding 45 days to 20 January 2026: 11 days carries you to the end of January, 31 January. February 2026 is not a leap year, so it holds 28 days, using 28 of the remaining 34 and landing on 28 February. The last 6 days push into March, landing on 6 March 2026, three calendar months from a single 45 day jump.
What trips people up
- A flat 30 days per month estimate is wrong every time the span crosses February, or any 31 day month, and the error accumulates over longer spans.
- Whether a span crosses a leap year changes the answer by a day, so 2026 and 2028 give different results from the same starting date and day count.
- Adding 'one month' is not the same operation as adding 30 days; 31 January plus one month has no exact equivalent, since February has no 31st.
- Subtracting days across a year boundary needs the previous year's month lengths, not the current year's, if the previous year was a leap year and the current one is not.
Frequently asked questions
- Why can't I just add 30 days for each month I want to skip forward?
- Because months are not all 30 days; four months have 30, seven have 31, and February has 28 or 29, so a flat 30 day estimate drifts by a day or two for every month it crosses.
- Does subtracting days work the same way as adding them?
- Yes, in reverse, counting backward through each month's actual length instead of forward, and it needs the same care around February and year boundaries.
- What happens if I add enough days to cross into a new year?
- The month and day roll over exactly as they would within a single year; December 31 plus a few days moves into January of the following year without any special handling needed.
- Is adding 12 months the same as adding 1 year?
- Almost always, except for a 29 February start date, since adding 12 months to 29 February 2024 has no exact match in 2025, which is not a leap year.
- How do I add a number of business days instead of calendar days?
- Skip weekends, and holidays if relevant, while counting forward, which means a 'business day' addition needs a calendar-aware loop rather than the plain calendar day formula.