The order the calculator works in
Years and months are calendar units, while weeks and days have fixed lengths, so the calculator applies them in two steps. First the years and months are combined and the date moves that many months forward or back, keeping the same day of the month. Then the weeks and days are added or taken away, a week being exactly seven days. Doing the months first means that 31 January 2027 plus 1 month and 1 day lands on 1 March.
The order matters because months differ in length. Adding 30 days is not the same as adding a month: from 1 February 2027, 30 days later is 3 March, while one month later is 1 March. Pregnancy dates use the same kind of count in weeks from a starting day, and the due date calculator does that for you.
result = (start moved by 12 × years + months, kept within the month) + 7 × weeks + days
Month ends: what 31 January plus one month gives
February has no 31st, so the date has to go somewhere. This calculator clamps it to the last day of the month it reaches: 31 January plus 1 month is 28 February, or 29 February in a leap year, and 31 March plus 1 month is 30 April. A note appears under the result whenever this happens. Spreadsheet month functions such as EDATE follow the same rule.
Clamping means that adding a month and then taking it away doesn't always bring you back: 31 January plus 1 month is 28 February, and 28 February minus 1 month is 28 January. For a monthly schedule from a month-end start date, count each month from the original date, or the day drifts down to the 28th.
Day of the year and ISO week numbers
The day of the year counts 1 January as day 1, so 31 December is day 365, or day 366 in a leap year. The week number follows the international standard ISO 8601: weeks start on Monday, and week 1 is the week containing the year's first Thursday. So the first days of January can belong to the last week of the year before, and some years have a week 53: 1 January 2027 is a Friday, so it falls in week 53 of 2026. US calendars often number weeks from Sunday instead, so calendars can disagree around the new year.
Worked examples
Example 1
31 January 2027 plus one month
Moving 31 January forward one month reaches February, which has 28 days in 2027, so the date is clamped to Sunday, 28 February 2027. That is day 59 of the year (31 days of January plus 28) and it falls in ISO week 8. Adding a month to 31 January 2028 would give 29 February instead, because 2028 is a leap year.
Example 2
90 days after 24 November 2026
Count the days left in each month: 6 to the end of November, then 31 in December and 31 in January make 68, and 22 more days into February reach 90. The answer is Monday, 22 February 2027, day 53 of 2027 and in ISO week 8. Here the day after the start counts as day 1, which is how most payment terms and return windows are counted.
Example 3
Two and a half years before 31 August 2026
Subtracting 2 years and 6 months means going back 30 months, to February 2024. 2024 was a leap year, so February had 29 days and the 31st is clamped to Thursday, 29 February 2024, day 60 of that year and in ISO week 9. Starting from 31 August 2025 instead, the same subtraction would give 28 February 2023.
Questions people ask
How do I count working days instead?
This calculator moves by calendar days, weekends included. To count the Monday to Friday days between two dates, use the date difference calculator, and adjust the number of days here until its weekday count matches what you need.
What is the date 100 days from today?
Leave the start date as today, choose Add and type 100 in the days box with the other boxes at zero. The weekday shown with the result tells you straight away whether the deadline lands on a weekend.
Can I type negative numbers?
No: choose Subtract instead. Each box takes a whole number of zero or more, blank boxes count as zero, and decimals are rounded to the nearest whole number. Results are valid for years 1 to 9999.