Date Calculator: Add/Subtract Days, Days Between Dates & Age

This date calculator does three jobs: it adds or subtracts a number of days from any date, counts the days between two dates, and works out someone’s age in days and years as of a chosen date.

Dates & Deadlines Calculators

Date Calculator

Add or subtract days from a date, find the number of days between two dates, or work out someone's age as of a given date.

The year/month figures shown are calendar approximations (365.2425 days/year on average) — for exact "N years, N months, N days" results, small rounding differences near month boundaries are normal.

Starting values: every date field opens on today’s date. The add/subtract mode starts at 30 days with Add selected, the days-between mode compares today with today (0 days), and the age mode uses a birth date of 1 January 1990 measured to today.

What the date calculator covers

The three modes answer the questions people most often have about dates: what date falls 30, 60 or 90 days from now, how many days lie between two dates, and how old someone is on a given day. The calculator counts calendar days only. It does not skip weekends or public holidays, so it is the wrong tool for business-day deadlines, and it reports age as days plus a decimal number of years rather than as years, months and days.

The formulas

Result date = Start date + Days (or − Days)
Days between = |Second date − First date|
Weeks (approx.) = Days between ÷ 7
Age in days = |As-of date − Birth date|
Age in years (approx.) = Age in days ÷ 365.2425

Where:

  • Start date, First date, Second date, Birth date, As-of date = calendar dates you choose
  • Days = a whole number of days to add or subtract
  • 365.2425 = the average length of a year in the Gregorian calendar

The days-between result is an absolute value, so the order of the two dates does not matter. The difference counts how many midnights lie between the dates, which means the start date itself is not counted. From 1 January to 2 January is 1 day, not 2.

Why the average year is 365.2425 days

The U.S. Naval Observatory states the Gregorian leap-year rule this way: years evenly divisible by 4 are leap years, with the exception of century years that are not evenly divisible by 400. It adds that the average Gregorian year is 365.2425 days long. So 2024 was a leap year, 1900 and 2100 are not, and 2000 was. The calculator uses that average to turn days into years, which is why a person born on 1 January 1990 shows as slightly over 36.0 years on 1 January 2026, not a flat 36.

Worked examples

Example 1: adding days

What is 30 days after 15 January 2026? January has 31 days, so 16 days remain in January after the 15th, and the other 14 days land in February. The result is 14 February 2026. In the calculator, enter 15 January 2026 as the start date, choose Add and enter 30.

Example 2: subtracting days

What date was 45 days before 10 March 2026? Going back 28 days (February 2026 has 28 days) reaches 10 February. Another 17 days back reaches 24 January 2026.

Example 3: days between two dates

From 1 January 2026 to 31 December 2026 is 364 days, which is 52 weeks exactly. A calendar year has 365 days, so the answer is one less than the length of the year, since the start date is not counted.

Example 4: a leap-year effect

From 1 February 2024 to 1 March 2024 is 29 days, because February 2024 had 29 days. The same span in 2026 is 28 days. If your result is off by one around late February, check whether the year in question is a leap year.

Example 5: age in days and years

Someone born on 1 January 1990 is 13,149 days old on 1 January 2026. That figure includes the nine leap days between them (1992 through 2024). Divide by 365.2425 and the age is 36.0007 years. For a birth date of 15 June 1990 measured to 1 March 2026, the calculator gives 13,043 days, or 35.711 years.

Counting inclusively or exclusively

Many real-world questions count both end dates. A hotel stay from the 10th to the 13th is 3 nights, but a conference running from the 10th to the 13th covers 4 calendar days. The calculator gives the difference, so add 1 when you need an inclusive count. Contracts and legal deadlines have their own rules for counting, so check the wording rather than relying on a general rule.

Common mistakes

  • Forgetting that the result excludes the start date when counting "days included".
  • Treating a month as 30 days. Add or subtract exact days instead, or pick the same day in the next month yourself.
  • Expecting weekends to be skipped. For working days, count the weekends in your range and subtract them, or use a dedicated business-day tool.
  • Reading the decimal years as years and months. 35.711 years is not 35 years and 7.11 months.

Where this is useful

Typical jobs include working out a due date from a start date, counting down to an event, finding the length of a project or lease, and checking an age in days. For a pregnancy estimate use the pregnancy due date calculator, which applies fixed gestation lengths to a starting date.

Frequently asked questions

How do I add days to a date?

Choose the Add/subtract mode, enter the start date, select Add and type the number of days. The calculator returns the result date, accounting for month lengths and leap years.

Does the calculator count the start date?

No. It returns the difference between the two dates, so 1 January to 2 January is 1 day. Add 1 if you need both end dates counted.

Does it skip weekends and holidays?

No. It counts every calendar day. For business days, subtract the weekends and holidays in the range yourself.

How does it work out age in years?

It divides the age in days by 365.2425, the average length of a Gregorian year. The result is a decimal, not years, months and days.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 699