Add or Subtract Days from a Date

Use this free Add or Subtract Days Calculator to find the exact date that falls a specified number of days before or after any starting date, accounting for month lengths and leap years automatically.

Result Date

Sunday, July 12, 2026

ISO 8601: 2026-07-12

How it works

Select a start date, choose whether to add or subtract, then enter the number of days. The calculator accounts for varying month lengths and leap years automatically. Useful for deadlines, shipping windows, notice periods, and project planning.

Quick answer

To add or subtract days from a date, start with your chosen date and count forward (add) or backward (subtract) by the number of days desired. The calculator handles varying month lengths and leap years for you. For example, adding 30 days to January 15, 2026 gives February 14, 2026. Subtracting 10 days from March 1, 2026 gives February 19, 2026. This is useful for deadlines, project planning, shipping estimates, and date-based legal calculations.

Formula & method

Result Date = Start Date + N days
  • Start Date β€” The base date you are calculating from
  • N β€” The number of days to add (positive) or subtract (negative)
  • Result Date β€” The final date after the day offset is applied

Add N days to the start date, rolling over month and year boundaries as needed.

Examples

Example 1: Add 30 Days to January 15, 2026
Input
Start: 2026-01-15, Days: +30
Result
February 14, 2026
Why
January has 31 days. Starting on the 15th, there are 16 remaining days in January (16th through 31st). After using 16 days we reach January 31; the remaining 14 days fall in February, landing on February 14, 2026.
Example 2: Subtract 10 Days from March 1, 2026
Input
Start: 2026-03-01, Days: -10
Result
February 19, 2026
Why
Counting 10 days back from March 1: March 1 minus 1 day = Feb 28, minus 9 more = Feb 19. Since 2026 is not a leap year, February has 28 days, so the result is February 19, 2026.
Example 3: Add 100 Days to June 11, 2026
Input
Start: 2026-06-11, Days: +100
Result
September 19, 2026
Why
From June 11: 19 days remain in June (through June 30), then 31 days in July, 31 days in August = 81 days used. The remaining 19 days fall in September, giving September 19, 2026.
Example 4: Add 7 Days to December 25, 2025
Input
Start: 2025-12-25, Days: +7
Result
January 1, 2026
Why
December has 31 days. From December 25, there are 6 remaining days in December (26–31). The 7th day rolls into January 1, 2026 β€” a year-boundary crossing the calculator handles automatically.

Frequently asked questions

How do I add days to a date manually?

Count forward day by day, rolling over to the next month when you reach the end of the current month. Remember that month lengths vary (28–31 days) and February has 29 days in leap years. Using a calculator eliminates these errors.

Does the calculator handle leap years?

Yes. The calculator fully accounts for leap years. If your date range spans February 29 in a leap year (e.g., 2024, 2028), that day is counted correctly. A year is a leap year if divisible by 4, except for century years which must be divisible by 400.

Can I subtract days instead of adding?

Absolutely. Enter a negative number of days (e.g., -30) or use the Subtract mode to go backward in time. This is useful for finding past deadlines, calculating when something started, or working out notice periods.

What is the difference between adding days and adding months?

Adding days always advances the calendar by an exact count of 24-hour periods. Adding months moves to the same day of a future month, which varies between 28 and 31 days. Use days for precise durations like shipping estimates, and months for recurring billing or anniversary dates.

Why would I need to add or subtract days from a date?

Common uses include calculating project deadlines, legal notice periods, payment due dates, warranty expiry, pregnancy due dates, shipping arrival windows, and scheduling events a fixed number of days apart.

How far into the future or past can I calculate?

This calculator supports any valid calendar date within the standard JavaScript Date range (years 0–9999), so you can safely add or subtract thousands of days. For most practical purposes β€” deadlines within the next several decades β€” there is no meaningful limit.

Sources & references

External references open in a new tab. We are independent and not affiliated with these organizations.

  • βœ“ Free to use
  • βœ“ No sign-up required
  • βœ“ Runs entirely in your browser β€” nothing is uploaded.
  • βœ“ Formula and method shown above

Provided β€œas is” for general information only β€” results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.

Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards.

Related tools

Embed this tool on your site

Free to embed, no sign-up. Paste this code where you want the add or subtract days calculator to appear: