Date Calculator

This date calculator adds or subtracts days, weeks, months or years from any date to find the resulting date and its day of the week, with month ends and leap years handled for you.

Date Calculator inputs

Result

Enter your values to see the result.

  • Formula v1.0, unit-tested
  • Examples generated by the calculator
  • Updated
  • How we calculate
On this page

Adding or subtracting days and weeks

Days are the simplest unit. The date calculator steps forward or back the exact number of calendar days, crossing month and year boundaries as needed and including February 29 in leap years. Weeks are converted to days first, so 6 weeks is the same as 42 days, and the result always falls on the same day of the week as the start date.

The start date counts as day 0. Adding 1 day gives tomorrow, and subtracting 1 day gives yesterday. This matches how most notice periods and “within X days” deadlines are written, but check the wording if a missed deadline would be costly. Some rules count the first day as day 1.

Weeks Days
1 7
2 14
4 28
6 42
8 56
12 84
13 91
26 182
39 273
40 280
52 364

Note that 52 weeks is 364 days, one day short of a common year and two short of a leap year. A date 52 weeks later falls on the same weekday but one or two calendar days earlier.

How to add or subtract days by hand

To add a number of days without the calculator, use up the remaining days of each month until the total is spent. Take 150 days after Sunday, October 4, 2026.

  1. October has 31 days, so reaching October 31 uses 27 days.
  2. November (30), December (31) and January (31) bring the running total to 27 + 30 + 31 + 31 = 119 days, on January 31, 2027.
  3. February 2027 has 28 days, so February 28 is day 147.
  4. The remaining 3 days land on Wednesday, March 3, 2027.

Subtracting days from a date

Subtracting works the same way in reverse. Thirty days before Sunday, March 15, 2026 is Friday, February 13, 2026: 15 days takes you back to February 28, and 15 more take you to February 13.

Adding or subtracting months and years

Months are added on the calendar, keeping the same day of the month: March 15 plus 2 months is May 15. Years are added as 12 months each.

Because months have different lengths, some dates don’t exist in the target month. When that happens, the calculator uses the last day of the target month. For example, August 31 plus 1 month is September 30, because September has only 30 days. A note appears under the result whenever this adjustment is made.

This means month arithmetic doesn’t always reverse cleanly. August 31 plus 1 month is September 30, but September 30 minus 1 month is August 30. When the exact day matters, as with rent, subscriptions or loan payments, check how your agreement handles short months.

Month-end examples

Start date Added Result
January 31, 2026 1 month Saturday, February 28, 2026
January 31, 2026 2 months Tuesday, March 31, 2026
March 31, 2026 1 month Thursday, April 30, 2026
August 31, 2026 6 months Sunday, February 28, 2027
November 30, 2026 3 months Sunday, February 28, 2027
January 30, 2028 1 month Tuesday, February 29, 2028
February 29, 2028 4 years Sunday, February 29, 2032

Each step is measured from the original date, not chained. January 31 plus 2 months is March 31, even though January 31 plus 1 month is February 28.

Days in each month

Month Days
January 31
February 28 (29 in a leap year)
March 31
April 30
May 31
June 30
July 31
August 31
September 30
October 31
November 30
December 31

Dates from Sunday, October 4, 2026

For reference, here are some common offsets from Sunday, October 4, 2026, the date this page was last updated. Enter today’s date or any other start date in the calculator for your own results.

Added Result
30 days Tuesday, November 3, 2026
60 days Thursday, December 3, 2026
90 days Saturday, January 2, 2027
100 days Tuesday, January 12, 2027
180 days Friday, April 2, 2027
1,000 days Saturday, June 30, 2029
3 months Monday, January 4, 2027
6 months Sunday, April 4, 2027
18 months Tuesday, April 4, 2028

Notice that 90 days and 3 months are not the same: here they differ by two days.

Leap years

A leap year has 366 days, with the extra day on February 29. Under the Gregorian calendar, a year is a leap year if it is divisible by 4, except for century years, which must also be divisible by 400. So 2024 and 2028 are leap years, 2000 was one, and 2100 will not be. The date calculator applies this rule automatically. For the history and reasoning behind the rule, see how leap years work.

Where date arithmetic is used

  • Notice periods and contracts. A 30-day notice period or a 6-month probation is a date calculation. Use days or months to match the wording of the agreement.
  • Deadlines and follow-ups. Payment terms such as “net 30”, response windows and warranty periods are usually counted in days from an invoice, delivery or purchase date.
  • Recurring dates. Monthly bills, subscription renewals and loan payments are month additions, which is where month-end clamping matters. For payment schedules themselves, the loan calculator shows each payment.
  • Counting back. Subtracting is useful for working out when to start: 12 weeks before an exam or event, or the latest date to send something that must arrive within 10 days.

Tips and common mistakes

  • Choosing the wrong unit. “One month” and “30 days” can give different dates. Use whichever the rule or agreement actually says.
  • Counting the start date as day 1. The calculator treats it as day 0. If your rule counts the first day, enter one day fewer.
  • Forgetting weekends and holidays. Many deadlines that fall on a weekend or public holiday move to the next working day. The calculator does not make that adjustment.
  • Ignoring time zones. Dates are treated as calendar dates with no time of day. If a deadline is set in another time zone, check which local date applies.

Glossary

  • Day 0. The start date itself. The first day after it is day 1.
  • Month-end clamping. Moving a result to the last day of the month when the same day number doesn’t exist there.
  • Leap year. A 366-day year with a February 29.
  • Calendar day. Any day of the week, including weekends and holidays, as opposed to a business day.

To count the days between two dates you already know, use the days between dates calculator. To find the date someone reaches a particular age, add years to their date of birth here or use the age calculator.

Worked examples

A 90-day deadline

A notice period of 90 days that starts on March 10, 2026.

Inputs: Start date = 2026-03-10; Operation = Add (+); Amount = 90; Unit = Days

Answer: Tuesday, March 10, 2026 plus 90 days is Monday, June 8, 2026.

Adding a month to January 31

A monthly billing date of January 31, 2026, moved forward one month.

Inputs: Start date = 2026-01-31; Operation = Add (+); Amount = 1; Unit = Months

Answer: Saturday, January 31, 2026 plus 1 month is Saturday, February 28, 2026.

Counting back 12 weeks

Finding the date 12 weeks before Friday, November 20, 2026, such as the start of a 12-week program.

Inputs: Start date = 2026-11-20; Operation = Subtract (−); Amount = 12; Unit = Weeks

Answer: Friday, November 20, 2026 minus 12 weeks is Friday, August 28, 2026.

One year after a leap day

A one-year term that starts on February 29, 2028.

Inputs: Start date = 2028-02-29; Operation = Add (+); Amount = 1; Unit = Years

Answer: Tuesday, February 29, 2028 plus 1 year is Wednesday, February 28, 2029.

Assumptions and limitations

  • Days and weeks are added as exact numbers of calendar days (a week is 7 days).
  • Months and years are added as calendar months. If the day of the month doesn't exist in the target month, the result moves to that month's last day, and a note says so.
  • The calculation uses calendar dates only, with no time zones or daylight-saving changes. Weekends and public holidays are counted like any other day.
  • Results must fall between the years 1 and 9999.
  • "Today" is the current date on your device. If your device clock or time zone is set incorrectly, change the date field by hand.

Frequently asked questions

Is adding 1 month the same as adding 30 days?

No. Adding a month keeps the same day of the month, so the number of days added is 28, 29, 30 or 31 depending on the month. If a deadline is written as a number of days, use days; if it is written in months, use months.

What happens when I add a year to February 29?

The next year has no February 29 unless it is also a leap year, so the result is February 28. Adding 4 years to February 29 lands on February 29 again, except across a century year that isn't a leap year, such as 2100.

Does "30 days from today" count today?

No. The start date is day 0, so tomorrow is 1 day from today. If you need a period where today counts as the first day, subtract 1 from the number of days you enter.

How do I find a date in the past, such as 90 days ago?

Choose "Subtract" as the operation, enter 90 and pick days. The start date defaults to today, so the result is the date 90 days before today. You can change the start date to count back from any other date.

Can I add business days instead of calendar days?

Not directly. The calculator counts every day, including weekends and holidays. For a rough business-day deadline, add 7 calendar days for every 5 working days, then check the result against your holiday calendar. The days between dates calculator can confirm how many weekdays the range contains.

Why does subtracting a month not undo adding a month?

Month-end clamping only works in one direction. August 31 plus 1 month is September 30, because September has no 31st, but September 30 minus 1 month is August 30. Days and weeks always reverse exactly.

How do you calculate a pregnancy due date?

The standard estimate, known as Naegele's rule, is 280 days (40 weeks) after the first day of the last menstrual period. Enter that date, choose Add and enter 280 days or 40 weeks. A period starting on Saturday, January 10, 2026 gives an estimated due date of Saturday, October 17, 2026. It is only an estimate, and a doctor or midwife may revise it after an ultrasound.

Sources

  1. Calendars and their History — NASA Goddard Space Flight Center. Checked October 4, 2026.
  2. What Is a Leap Year? — NASA Space Place. Checked October 4, 2026.

Age Calculator

Exact age in years, months and days on any date.

Time & Date

Hours Calculator

Hours worked between two times, in decimal hours too.

Time & Date