Skip to content

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

Add or subtract days, weeks, months or years from any date to find deadlines, due dates and anniversaries, with rules for month ends and leap years explained.

3 min read

What date is 90 days from today? When does a 6-month contract end? What was the date 18 months ago? Counting on a calendar is slow and easy to get wrong, especially across month ends and leap years. Our date calculator adds or subtracts any combination of years, months, weeks and days from a start date and tells you the resulting date and weekday. This guide explains how the counting works and where it is useful.

How to use the calculator

  1. Start date: defaults to today.
  2. Operation: add or subtract.
  3. Years, months, weeks and days: fill in any combination.

With the default, 90 days added to 2 December 2026, the result is Tuesday 2 March 2027.

How the counting works

The calculator applies units from largest to smallest: years first, then months, then weeks and days.

  • Days and weeks are exact: a week is always 7 days.
  • Months and years follow the calendar: adding 1 month to 15 March gives 15 April, whatever the number of days in March.

This matches how people usually mean "in 3 months" or "a year from now".

Example: 2 December 2026 + 90 days. December has 29 days left after the 2nd, January 31 and February 28 (2027 is not a leap year). 29 + 31 + 28 = 88, so day 90 is 2 March 2027.

Month-end rules

Adding months to the 29th, 30th or 31st needs a rule, because shorter months do not have those dates. The calculator moves to the last day of the target month.

  • 31 January 2026 + 1 month = 28 February 2026
  • 31 March + 1 month = 30 April
  • 29 February 2028 + 1 year = 28 February 2029

Contracts and financial agreements usually follow this same end-of-month convention, but check the exact wording if a deadline matters.

Days versus months

"90 days" and "3 months" are not always the same. From 2 December 2026 they happen to match, both landing on 2 March 2027. But from 1 March, 90 days lands on 30 May while 3 months lands on 1 June. When a deadline is written in days, count days; when it is written in months, count months.

Common uses

  • Deadlines: payment terms such as net 30 or net 60, notice periods and return windows.
  • Contracts and subscriptions: end dates for 6-month or 12-month terms.
  • Pregnancy: a due date is 280 days (40 weeks) after the first day of the last period. The due date calculator handles this directly.
  • Medication and visas: a 90-day supply or a 180-day stay.
  • Project planning: milestones a set number of weeks apart.
  • History: what was the date 10,000 days before a given day?

Business days

The calculator counts calendar days, including weekends and holidays. For working days between two dates, use the day counter, which shows business days (Monday to Friday) as well as total days. Public holidays vary by country, so subtract any that apply.

Leap years

A year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. So 2024 and 2028 are leap years, 2100 is not, and 2000 was. The calculator includes 29 February automatically whenever it falls in the range.

Tips for reliable dates

Write dates in an unambiguous format, such as 2 March 2027 or 2027-03-02, because 03/02 means March in the United States and February in most other countries. When a deadline falls on a weekend or public holiday, check whether the rule moves it to the next working day; many legal and banking deadlines do. For long ranges, double check the year as well as the day, because adding months near the end of a year rolls into the next one.

Frequently asked questions

Does the start date count as day 1?

No. Adding 1 day to Monday gives Tuesday. The start date is day 0, which is the usual convention for deadlines.

What happens if I add a month to 31 January?

You get the last day of February: the 28th, or the 29th in a leap year.

Can I add and subtract in one go?

Choose one operation per calculation. To combine, run the first result back through as a new start date.

Does the calculator skip weekends and holidays?

No. It counts every calendar day. Use the day counter for business days between two dates.

Share

Try it yourself

Run your own numbers with our free tool: Date calculator. No sign-up, and it works on any device.

Open the calculator