Add or subtract days from a date

Add or subtract years, months, weeks and days to any date and get the resulting date with its weekday. Leap years and short months are handled for you. Free, and it runs in your browser.

How to use it

  1. Pick the Start date and choose Add or Subtract in Operation.
  2. Fill in Years, Months, Weeks and Days. You can use any combination.
  3. Read the resulting date and weekday below.

How to add or subtract days, weeks, months and years from a date

What this calculator is for

Deadlines, warranties, trial periods, notice periods, pregnancy milestones and project schedules all start from a date and move forward or backward by some amount of time. Counting on a calendar by hand is slow and easy to get wrong, because months have 28 to 31 days and leap years add one more. This tool takes a start date and an amount made of years, months, weeks and days, and gives you the resulting date, its weekday and its position in the year.

How the calculation works

The order matters, and the tool always follows the same one. First it applies the years and months together, counted as calendar months. If the target month is shorter than the start day, the date lands on the last day of that month instead of spilling into the next one, so January 31 plus one month is the end of February. Then it applies the weeks and days as an exact number of 24-hour days. Years, months, weeks and days must be whole, non-negative numbers; to go backwards you switch Operation to Subtract instead of typing a negative value. The supported range of results is year 1 to 9999. Dates use the Gregorian calendar and everything is calculated in your browser, with no time zone involved.

Worked examples

  1. Keep Start date as 2024-01-31, Operation as Add and set Months to 1. The result is Thursday, February 29, 2024. 2024 is a leap year, so February has 29 days and the date is clamped to its last day. The details show 29 calendar days from the start and day 60 of the year.
  2. Start date 2024-03-15, Operation Subtract, Weeks 2 and Days 10. The result is Tuesday, February 20, 2024, which is -24 calendar days from the start and day 51 of the year.
  3. Start date 2024-02-29, Add, Years 1. The result is Friday, February 28, 2025, because 2025 has no February 29. The shift is 365 days.

What the result shows

FieldMeaning
Resulting dateThe date written in full with weekday, in your language
Date (YYYY-MM-DD)The same date in ISO format, handy for forms and spreadsheets
Day of the weekUseful to check that a deadline does not fall on a weekend
Calendar days from the start datePositive when adding, negative when subtracting
Day of the year1 to 365, or 366 in a leap year

Tips and common mistakes

  • Adding 30 days is not the same as adding 1 month. For 2024-01-31, 30 days gives March 1 while 1 month gives February 29. Check the contract or rule: some count in days, some in calendar months.
  • This tool counts every calendar day. If a deadline is in business days, use the workdays calculator instead; holidays are not known to this tool.
  • When you combine units, years and months are applied first and weeks and days after. Entering 1 month and 3 days is not the same as entering 3 days and then 1 month.
  • For legal or financial deadlines, confirm the counting rule in the document itself; this is a calendar calculation, not legal advice.

Related tools

To measure the gap between two dates use the date difference calculator. To check a weekday on its own try the day of the week finder.

Questions

In what order are the units applied?

Years and months are applied first, then weeks and days. So January 31 plus 1 month plus 1 day gives March 1 in a leap year, not February 29.

What happens when the month is shorter?

If the day does not exist in the target month, the last day of that month is used. January 31 plus 1 month is February 29 in 2024 and February 28 in 2023.

Are business days or holidays considered?

No, this adds calendar days. To add working days and skip weekends or holidays, use the working days calculator.

Can I go back in time?

Yes. Choose Subtract to count backward from the start date, for example to find a date 90 days ago.