Add or subtract days from a date.
by Calcuatany.com
Adding days to a date, or subtracting them, returns the resulting calendar date and the name of its weekday. The calculation is Result = Start date + Days, where a positive number of days moves forward, zero leaves the date unchanged, and a negative number moves backward, with the offset applied in UTC days so month lengths, leap years and year boundaries are handled for you. The day count accepts whole numbers from −100,000 to 100,000. Weekends and public holidays are treated as ordinary days, so the result is a plain calendar shift rather than a business-day count.
This tool uses UTC-based date math, which avoids daylight-saving quirks that can affect date calculations done with local times. Because it operates on dates rather than clock times, it is especially useful when you want a clean answer such as what date is 30 days after a contract starts or what date was 10 days before a filing deadline.
How to use the Date Add / Subtract
- Enter the reference date in Start date. This is the calendar date you want to move from.
- Enter a whole number in Days (negative to subtract). Positive numbers move forward in time, zero leaves the date unchanged, and negative numbers move backward.
- Read the main Resulting date output as the shifted calendar date in YYYY-MM-DD format. This is the core answer for deadlines, reminders, or planning.
- Check the Weekday row if the day of week matters for business schedules, appointments, or events. It is derived from the same UTC-based result date.
- Use Share to copy a link with the same Start date and day offset, Save if you want the result kept in this browser's local history, or Reset to restore the default inputs.
Formula
Result = date ± days
Example: adding days across leap-year February
Set Start date to 2024-02-27 and enter 20 in Days (negative to subtract). With those exact inputs, the calculator returns Resulting date 2024-03-18 and Weekday Monday.
The math is simple in principle: move forward 20 whole days from February 27. Because 2024 is a leap year, February has 29 days, so the path includes February 28 and February 29 before continuing into March. Using UTC-based date arithmetic means the calculator adds 20 calendar days directly, without being thrown off by time zones or daylight-saving changes. If you entered -20 instead, it would subtract 20 days and move backward by the same logic.
How to interpret the result
Resulting date is the final shifted calendar date, not a business-day estimate. If you land on a weekend or holiday, the calculator reports that exact date and leaves any business-rule adjustment to you.
The Weekday row is useful as a quick sense check. If you expected a Monday deadline but the result shows Sunday, you know you may need an extra policy step outside the calculator.
Negative inputs are not errors here. They are the intended way to subtract days and look backward from the starting point.
Next, you may also find these useful: Age Calculator, Date Difference Calculator, Hours Worked Calculator.
Assumptions and limitations
- The calculator works in whole days only. It does not add business days, hours, minutes, or custom holiday calendars.
- Date arithmetic is performed in UTC to keep the result stable across time zones and daylight-saving transitions. That is ideal for date-only work, but it does not model local check-in times or local midnight cutoffs.
- The output is a direct calendar shift. If your real-world rule says deadlines roll to the next business day or skip holidays, you must apply that rule after the calculation.
- Very large positive or negative offsets are allowed within the page limits, but the meaning is still purely calendar based. The tool does not interpret months, billing cycles, or anniversary conventions.
Frequently asked questions
How do I subtract days?
Enter a negative number in Days (negative to subtract). For example, -10 moves ten days backward from the Start date.
Why does the calculator use UTC?
UTC avoids daylight-saving and local time-zone complications when the task is only about dates. That keeps a 20-day shift equal to 20 calendar days everywhere.
Does it skip weekends or holidays?
No. Every calendar day is counted. If your process uses business days, you will need an additional rule or a separate calculator.
Can I add zero days?
Yes. A zero offset simply returns the same Start date, which can be useful as a quick weekday lookup or formatting check.
What if the result crosses a leap day or a new year?
That is handled automatically. The date engine knows real month lengths, leap years, and year boundaries, so you do not need to adjust the count yourself.
Is the result inclusive of the starting date?
The calculator shifts by the number of days you enter from the Start date. If a policy uses special inclusive counting, apply that policy separately after getting the raw shifted date.
Sources and further reading
Last reviewed: 2026-10-02. See our editorial policy.
Related calculators
For informational purposes only. Full disclaimer