TFT

Date Arithmetic Calculator – Add or Subtract Days, Weeks, Months, Years

Add or subtract time from any date with our free online date arithmetic calculator. Calculate future or past dates by adding/subtracting days, weeks, months, or years.

Examples:

Understanding Date Arithmetic

Date arithmetic is the math of adding and subtracting time from dates. It sounds simple, but dates are surprisingly tricky. Months have different lengths (28, 29, 30, or 31 days). Years can be 365 or 366 days (leap years). And what does "one month from January 31" even mean? February doesn't have 31 days.

This calculator handles all these edge cases correctly. Adding months adjusts the month number and handles year rollovers. Adding years accounts for leap years. Adding days simply counts forward or backward on the calendar.

Date arithmetic is essential for calculating deadlines, project timelines, loan maturities, contract expirations, and planning future events. Whether you're figuring out when a 90-day warranty expires or what date you'll retire, date arithmetic gives you the answer.

Date Arithmetic Rules

Adding Days and Weeks

Days
Simply count forward (or backward) on the calendar. 30 days from March 15 is April 14.
Weeks
Multiply by 7, then add days. 4 weeks from any date is exactly 28 days later, same day of week.
Key Fact
Adding 7 days always gives the same day of the week. Add 7 to Tuesday, get Tuesday.

Adding Months and Years

Months
Add to the month number. 3 months from March is June. If the day doesn't exist in the target month, use the last day.
Years
Add to the year number. 1 year from Feb 29, 2024 (leap year) is Feb 28, 2025 (not a leap year).
Edge Case
Jan 31 + 1 month = Feb 28 (or 29). There's no Feb 31, so we use the month's last day.

Month Length Reference

Jan
31
Feb
28/29
Mar
31
Apr
30
May
31
Jun
30
Jul
31
Aug
31
Sep
30
Oct
31
Nov
30
Dec
31

Memory aid: "Thirty days hath September, April, June, and November. All the rest have thirty-one. Except February alone..."

Worked Examples

Example 1: Project Deadline

A project starts on March 15, 2025 and runs for 90 days. When is the deadline?

Start Date: March 15, 2025
Duration: 90 days
March has 31 days: 31 - 15 = 16 days remaining in March
April has 30 days: 90 - 16 = 74, then 74 - 30 = 44 remaining
May has 31 days: 44 - 31 = 13 remaining
June: Day 13
Deadline: June 13, 2025

Example 2: Contract Expiration

A 2-year contract starts on July 1, 2024. When does it expire?

Start Date: July 1, 2024
Duration: 2 years
July 1, 2024 + 2 years = July 1, 2026
Adding years is straightforward – just add to the year number. The month and day stay the same.

Example 3: Month-End Edge Case

What date is 1 month after January 31, 2025?

Start Date: January 31, 2025
Duration: 1 month
January 31 + 1 month would be February 31...
But February 2025 only has 28 days!
Result: February 28, 2025 (last day of February)
When the target month doesn't have the same day number, we use the month's last day.

Example 4: Leap Year Birthday

Someone born on February 29, 2020 – when is their next birthday in a non-leap year?

Birth Date: February 29, 2020 (leap year)
Next birthday: February 29, 2024 (next leap year)
2021: Not a leap year → February 28, 2021
2022: Not a leap year → February 28, 2022
2023: Not a leap year → February 28, 2023
2024: Leap year → February 29, 2024 ✓
People born on February 29 typically celebrate on February 28 in non-leap years.

Example 5: Retirement Planning

If you're 35 years old today (January 15, 2025), when will you turn 65?

Current Date: January 15, 2025
Years to add: 65 - 35 = 30 years
January 15, 2025 + 30 years = January 15, 2055
You'll turn 65 and reach traditional retirement age on January 15, 2055.

Quick Fact

The Gregorian Calendar we use today was introduced by Pope Gregory XIII in 1582 to fix drift in the Julian calendar. The Julian calendar added a leap day every 4 years, but this was slightly too frequent. The Gregorian system skips leap years on century years not divisible by 400 (so 1900 wasn't a leap year, but 2000 was). This gives an average year length of 365.2425 days, accurate to within 1 day every 3,300 years. The calendar was adopted at different times worldwide – Greece didn't switch until 1923! When switching, countries had to skip 10-13 days to realign with the seasons.

Frequently Asked Questions

How do you determine if a year is a leap year?

A year is a leap year if: (1) it's divisible by 4, AND (2) if it's a century year (ending in 00), it must also be divisible by 400. So 2024 is a leap year (divisible by 4). 1900 was NOT a leap year (century year, not divisible by 400). 2000 WAS a leap year (century year, divisible by 400).

What happens when adding months to a month-end date?

If you add months to January 31, you get the last day of the target month. Jan 31 + 1 month = Feb 28 (or 29). Jan 31 + 2 months = Mar 31. This "end-of-month preservation" rule ensures consistent behavior for month-end dates.

Why is date arithmetic important for finance?

Loans, bonds, and derivatives all have maturity dates calculated from issue dates. Interest accrues over specific day counts. Payment schedules are often "monthly on the 15th" or "quarterly." Getting date arithmetic wrong can mean millions in mispriced contracts or missed payments.

What's the difference between business days and calendar days?

Calendar days count every day. Business days typically exclude weekends (Saturday and Sunday) and sometimes holidays. A 30-day deadline means 30 calendar days. A "30 business day" deadline is actually about 6 weeks in calendar time. This calculator uses calendar days.

How accurate is adding "1 month"?

Adding 1 month means adding 1 to the month number, not adding 30 days. January 15 + 1 month = February 15 (28-31 days depending on the year). This matches how we naturally think about months – "one month from today" means the same day next month, not exactly 30 days.

Can I calculate dates far in the past or future?

Yes, but with caveats. The Gregorian calendar rules apply proleptically (extended backward) for dates before 1582, even though the calendar didn't exist then. For very distant future dates, remember that calendar reform could happen. For most practical purposes (centuries in either direction), this calculator is accurate.

What day of the week will a future date fall on?

This calculator shows the day of the week for your result date. The pattern repeats every 400 years in the Gregorian calendar. A useful fact: the same calendar (same dates falling on same weekdays) repeats every 28 years for non-century years, or you can use the "Doomsday algorithm" to calculate mentally.

Other Free Tools

Age Calculator – Find Your Exact Age in Years & Days

Calculate your exact age in years, months, and days with our free online age calculator. Enter your birthdate to find your precise age as of today or any specific date.

Date Difference Calculator – Find Days Between Two Dates

Calculate the exact difference between any two dates in days, weeks, months, and years with our free online date difference calculator. Instant and accurate date comparison.

Days Until / Since Calculator – Countdown to Any Date

Find out how many days until or since any date with our free online countdown calculator. Perfect for counting down to events, deadlines, holidays, and special occasions.

Leap Year Checker – Is It a Leap Year? Find Out Online

Check if any year is a leap year with our free online leap year checker. Instantly verify using Gregorian calendar rules with a clear explanation of why it is or isn't a leap year.

Day of the Week Calculator – Find What Day Any Date Falls On

Find out what day of the week any past, present, or future date falls on with our free online day of the week calculator. Works for any date in history.

Time Duration Calculator – Find Time Between Two Times

Calculate the exact duration between any two times with our free online time duration calculator. Find hours, minutes, and seconds elapsed for any start and end time.

Time Converter – Convert Seconds, Minutes, Hours, Days Online

Convert between any time unit with our free online time converter. Quickly convert between seconds, minutes, hours, days, weeks, months, and years with precise results.

Free Online Standard Calculator – Fast & Easy Math

Use our free standard calculator online to perform quick arithmetic operations including addition, subtraction, multiplication, and division. Simple, fast, and accurate for everyday math needs.