Skip to content
thecalculatorstudio

Date Calculator: Add or Subtract Days, Weeks, Months and Years

Choose a start date, add or subtract years, months, weeks and days, and see the date you reach, the weekday, the day of the year and the ISO week.

Last reviewed

The date after

Monday, 8 February 2027

2027-02-08

Days from the start
90
Day of the year
39
ISO week
2027-W06
The start was a
Tuesday

Years and months are added first, and if the day does not exist in the new month it moves back to the last day: 31 January plus 1 month is the last day of February. Weeks and days are then added.

How the date calculator works

Choose a start date, say whether to add or subtract, and enter any mix of years, months, weeks and days. The calculator shows the date you reach, its weekday, and where it falls in the year.

Calendars make this less simple than it sounds, because months have different lengths. The calculator follows two rules:

  1. Years and months first. A year counts as 12 months. The calculator moves the date by that many months. If the day of the month does not exist in the month it reaches, the date moves back to the last day of that month. So 31 January plus 1 month is 29 February in a leap year and 28 February otherwise, and 29 February plus 1 year is 28 February in a year that is not a leap year.
  2. Then weeks and days. A week is 7 days. These are added as whole calendar days through the real months.

Dates are calendar dates with no time of day, so daylight saving and time zones never come into it.

Worked examples

Start Operation Result Weekday
10 June 2025 add 90 days 8 September 2025 Monday
15 January 2025 add 1 year, 2 months, 3 weeks and 4 days 9 April 2026 Thursday
25 December 2025 subtract 100 days 16 September 2025 Tuesday
31 January 2024 add 1 month 29 February 2024 Thursday
31 January 2023 add 1 month 28 February 2023 Tuesday
29 February 2024 add 1 year 28 February 2025 Friday
31 March 2025 subtract 1 month 28 February 2025 Friday

The second row works in two steps: 15 January 2025 plus 14 months is 15 March 2026, and 3 weeks and 4 days is 25 more days, which reaches 9 April 2026.

Adding 90 days, step by step

From 10 June: 20 days reach 30 June, 31 more reach 31 July (51 days), 31 more reach 31 August (82 days), and the last 8 days reach 8 September.

The ISO week

The calculator also shows the ISO 8601 week. Weeks start on Monday, and week 1 of a year is the week with that year’s first Thursday. The week belongs to the year that holds its Thursday, so the first days of January can be in the last week of the previous year.

Subtracting

Choose subtract to count backwards. The same rules apply in reverse: the months are taken off first, with the day moving back to the end of a shorter month, and then the days. The weekday shifts by the remainder of the days divided by 7. Subtracting any whole number of weeks leaves the weekday unchanged.

Common mistakes

  • Treating a month as 30 days. Months are 28 to 31 days long. Use the months field.
  • Counting the start date as day one. The start date is day zero.
  • Expecting 31 January plus 1 month to be 3 March. Calendar convention moves it back to the end of February.
  • Adding months after days. The order matters at month ends.

To count the days between two dates, use the days between dates calculator or the date difference calculator. For the date a number of days from today, use the days from today calculator, and to find the weekday of any date the day of the week calculator.

How it is calculated

Dates are handled as calendar days with whole-number arithmetic, never as moments in time. The tool covers the years 1583 to 9999.

Frequently asked questions

How do I add days to a date?

Count forward through the months, using each month's real length. 10 June plus 90 days is 8 September: 20 days to 30 June, 31 to 31 July, 31 to 31 August, and 8 more. The calculator does this for any number of days.

What is 31 January plus one month?

There is no 31 February, so the result moves back to the last day of the month: 29 February in a leap year and 28 February otherwise. The same rule applies to adding a year to 29 February, which gives 28 February in a non-leap year.

In what order are years, months, weeks and days applied?

Years and months first, as a number of months, with the day clamped to the length of the month reached. Weeks (7 days each) and days are then added. This order gives the result most people expect when they say "3 months and 10 days from now".

How do I find the date a number of weeks ago?

Choose Subtract and enter the weeks. 4 weeks before 25 December is 27 November. The weekday stays the same, because a week is 7 days.

What is the ISO week?

ISO 8601 numbers the weeks of the year from 1. Weeks start on Monday, and week 1 is the week with the year's first Thursday. The week belongs to the year of its Thursday, so 1 January can fall in week 52 or 53 of the year before.

Does it count the start date?

No. The start date is day zero: 1 January plus 1 day is 2 January. The "days from the start" figure is the gap between the start and the result.

Related calculators

Sources