Add or Subtract Days from a Date

Add or subtract days, weeks, months or years from any date and get the day of the week

Choose a date
Add or subtract
years
months
weeks
days
Use any mix, e.g. 1 year 2 months 10 days.
Result
Fix the highlighted field to see the result.

How to Use

  1. Pick the Start date. It is set to today when the page opens.
  2. Choose Add to go forward in time or Subtract to go back.
  3. Enter any mix of years, months, weeks and days, for example 0 years, 6 months, 0 weeks, 15 days.
  4. The new date appears as you type, with its day of the week, day of the year and week number.
  5. If the start day doesn't exist in the target month (such as 31 January + 1 month), a note explains that the last day of the month was used.

What this calculator does

It answers questions like "what date is 90 days from today?", "what was the date 6 months ago?" or "when does a 1 year 3 month course end?". Common uses in India include notice periods, the 45-day or 90-day windows on bills and returns, warranty and insurance expiry dates, EMI due dates, visa stays and medicine courses.

How the date is worked out

Years and months are added first, then weeks and days:

1. Move the month by (years ร— 12 + months)
2. If the day doesn't exist in that month, use the month's last day
3. Add (weeks ร— 7 + days) calendar days

Step 2 is called clamping. Months have 28 to 31 days, so "one month after 31 January" has no exact answer. The usual convention, followed by spreadsheets and most programming libraries, is to stop at the last valid day: 28 February, or 29 February in a leap year. One month after 31 May is 30 June. For subtraction, 31 March minus 1 month is 28 (or 29) February.

The order matters. 31 January + 1 month + 1 day is 1 March (28 Feb + 1 day). Adding the day first would give 1 February + 1 month = 1 March as well. With other dates, such as 30 January, the two orders can differ by a day.

Worked examples

StartChangeResult
12 Oct 2026 (Mon)+ 30 days11 Nov 2026 (Wed)
12 Oct 2026+ 90 days10 Jan 2027 (Sun)
12 Oct 2026โˆ’ 100 days4 Jul 2026 (Sat)
31 Jan 2028+ 1 month29 Feb 2028 (leap year)
29 Feb 2024+ 1 year28 Feb 2025
12 Oct 2026+ 1 year 2 months 3 weeks 4 days6 Jan 2028 (Thu)

Leap years, day of year and week number

A year is a leap year if it divides by 4, except century years, which must divide by 400. So 2028 is a leap year, 2100 is not, and 2000 was. The day of the year counts from 1 on 1 January to 365 (or 366) on 31 December; 12 October 2026 is day 285. The week number follows ISO 8601, used in Europe and many company calendars. Weeks start on Monday, and week 1 is the week that contains the year's first Thursday. So 1 January 2027 falls in week 53 of 2026.

Counting tips

  • "Within 30 days of" usually means up to and including day 30 after the event. Check the exact wording of a law or contract. Some count the starting day and some don't.
  • For deadlines that skip weekends and holidays, use a working-days calculator instead of adding calendar days.
  • This calculator uses the Gregorian calendar for all dates, including those before 1582.

Frequently Asked Questions

28 February, or 29 February in a leap year. February has no 31st, so the date stops at the last day of the month. This is the convention used by spreadsheets and most date software.

Leave the start date as today, choose Add and enter 90 in Days. For example, 90 days after 12 October 2026 is 10 January 2027, a Sunday.

No. One month moves to the same date in the next month, so it can be 28, 29, 30 or 31 days. From 1 February 2026, 1 month is 1 March (28 days later), but 30 days is 3 March.

Choose Subtract, then enter the years, months, weeks or days to go back. For example, 100 days before 12 October 2026 was Saturday, 4 July 2026.

It is the date's position in the year: 1 January is day 1 and 31 December is day 365, or 366 in a leap year. 12 October 2026 is day 285.