Date Calculator: Add or Subtract Days, Weeks, Months, and Years — Future Date Calculator, Past Date Calculator, and Date Arithmetic for Every Use Case

Date Tool

Date Calculator

Add or subtract days, weeks, months, and years from any date. Calculate future dates for deadlines and events, or find past dates for record-keeping and historical reference.

Enter a start date and time period to add or subtract.

Date calculations are a fundamental part of daily life — and they're surprisingly easy to get wrong when done manually. How many times have you tried to figure out what date is 90 days from today, only to lose count flipping through mental calendar pages? Or needed to know what date was 180 days ago for a legal or financial document? A date calculator handles all of these computations instantly and accurately, eliminating counting errors and saving the mental energy for the decisions that actually matter.

Date arithmetic — adding or subtracting days, weeks, months, and years from a starting date — underlies an enormous range of practical decisions. Contract due dates are calculated from signing dates. Loan maturity dates are calculated from origination dates. Medical follow-up appointments are scheduled based on procedure dates. Subscription renewal dates advance from signup dates. Warranty expiration dates count forward from purchase dates. In every case, the need is the same: given a starting date and a time interval, find the resulting date. A future date calculator or past date calculator performs this instantly for any date combination.

This comprehensive guide covers the mechanics of date calculation — including the tricky edge cases like leap years, month-end dates, and business day counting — along with dozens of real-world applications across legal, financial, medical, project management, and personal planning contexts. Whether you're building a contract deadline tracker or simply trying to figure out when your 30-day free trial ends, understanding date math makes you a sharper planner.


Table of Contents

  1. What Is a Date Calculator and How Does It Work?
  2. Adding Days to a Date
  3. Subtracting Days from a Date
  4. Adding and Subtracting Weeks
  5. Adding and Subtracting Months
  6. Adding and Subtracting Years
  7. Leap Years Explained — Impact on Date Calculations
  8. Month-End Date Calculations — Handling Short Months
  9. Business Day Date Calculations
  10. Date Arithmetic in Legal Contexts
  11. Date Calculations in Financial Planning
  12. Medical and Healthcare Date Calculations
  13. Project Planning with Date Arithmetic
  14. Subscription and Contract Date Tracking
  15. Historical and Future Date Reference Points
  16. Common Date Calculation Scenarios Reference
  17. Days in Each Month Reference
  18. Frequently Asked Questions

1. What Is a Date Calculator and How Does It Work?

A date calculator is a tool that performs arithmetic operations on calendar dates — adding or subtracting a specified number of days, weeks, months, or years from a starting date to produce a result date. Unlike simple number arithmetic, date calculations must account for the irregular structure of the calendar: months with different numbers of days, leap years that add a day to February every four years (with exceptions), and the arbitrary boundaries of weeks.

The Foundation of Date Math

Computers represent dates as numbers — specifically, as counts of days (or milliseconds) elapsed since a reference date. The Julian Day Number system and the Unix timestamp system both use this approach. To add 90 days to March 27, 2026, a date calculator converts March 27 to its day number, adds 90, then converts the result back to a calendar date (June 25, 2026). The conversion handles all month-length and leap-year complexities automatically.

When Manual Date Counting Fails

Manual date counting is error-prone because humans must mentally track month boundaries, varying month lengths, and year transitions simultaneously. Counting forward 30 days from January 15 is easy (February 14). Counting forward 30 days from January 31 requires knowing February has 28 or 29 days — giving March 2 or March 3. Counting 6 months from August 31 requires knowing the result is February 28/29 since February has no 31st. A date arithmetic calculator handles all of these edge cases automatically.


2. Adding Days to a Date

Adding days to a date is the simplest form of date arithmetic — and the most commonly needed. Delivery estimates, payment due dates, trial period expirations, and construction timelines all rely on adding a fixed number of days to a starting date.

Common "Add Days" Calculations

Adding 30 days from today gives you a date approximately one month ahead — useful for payment terms, free trial lengths, and short-term planning. Adding 90 days covers a full quarter. Adding 365 days advances exactly one year (in non-leap years). For precise date planning, the day count method is more accurate than saying "one month from now" — because months have different lengths, "one month" is ambiguous in ways that "30 days" is not.

Practical Examples

If you sign a contract on March 27, 2026 with a 60-day delivery commitment: 60 days forward = May 26, 2026. If your car payment is 30 days after purchase on February 1, 2026: 30 days forward = March 3, 2026 (not March 1, since February has only 28 days in 2026). A future date calculator handles these transitions automatically.


3. Subtracting Days from a Date

Subtracting days from a date lets you find a past date — when an event occurred relative to today, or how far back a deadline or effective date falls from a known reference point.

Finding Past Dates

Legal documents often require identifying a date a specific number of days before a triggering event. A "notice must be given 30 days prior" requirement counted back from a March 31 deadline falls on March 1. Counted back from April 30, it falls on March 31. A past date calculator makes these backward counts precise and error-free.

Warranty and Service Date Lookups

If a warranty expires "2 years after purchase" and you know the expiration date, subtracting 730 days gives you the purchase date — useful when purchase records are lost. Similarly, if you know a medication was dispensed "a 90-day supply" and you're running low, subtracting 90 days from today tells you the original fill date for your pharmacy records.


4. Adding and Subtracting Weeks

Week-based date calculations are particularly useful for scheduling and recurring events. Adding weeks always advances by exactly 7-day intervals — avoiding the month-length complications of month-based calculations.

Weekly Interval Applications

Bi-weekly pay periods (every 2 weeks = 14 days), weekly project meetings, bi-weekly medication schedules, and weekly subscription cycles all use week-based date arithmetic. Adding 26 weeks to a date gives exactly one half-year later on the same day of the week — a fact leveraged by fixed-income traders and biannual review schedulers alike.

Weeks vs. Months — When Each Is Appropriate

Pregnancy is tracked in weeks (40 weeks total) rather than months because week counts are more precise and clinically meaningful for developmental milestones. Project management often uses weeks for sprint-level planning and months for roadmap-level planning. Understanding which time granularity your context requires helps you choose between week-based and month-based date arithmetic.

Weeks Added Calendar Days Approx. Months Common Use
1 week 7 days 0.23 months Weekly check-in, follow-up
2 weeks 14 days 0.46 months Bi-weekly pay, sprint length
4 weeks 28 days 0.92 months Near-monthly cycle
8 weeks 56 days ~2 months Training block, notice period
13 weeks 91 days ~1 quarter Quarterly reporting
26 weeks 182 days ~6 months Semi-annual review
52 weeks 364 days ~12 months Annual (same weekday)

5. Adding and Subtracting Months

Adding or subtracting months is more complex than adding days because months have different lengths. The result depends on both the starting date and the specific months being traversed.

The Month-Addition Rule

When adding months to a date, the standard approach is to advance the month number by the specified count while keeping the day of the month the same — if possible. Adding 1 month to January 15 gives February 15. Adding 1 month to January 31 presents a problem: February has no 31st day. The standard resolution is to clip to the last day of the resulting month — giving February 28 (or 29 in a leap year).

Month-End Rollover Scenarios

Month-end date calculations require careful handling: 1 month after January 31 = February 28/29; 1 month after March 31 = April 30; 1 month after May 31 = June 30. Financial contracts use specific conventions to handle these edge cases — the End-of-Month (EOM) convention specifies that if the start date is the last day of its month, the result date is also the last day of the resulting month.


6. Adding and Subtracting Years

Year-based date calculations are typically the simplest — adding 1 year advances the year number by 1, keeping month and day the same — except for the one significant edge case: February 29 in a leap year.

Leap Year Edge Case

Adding 1 year to February 29, 2024 (a leap year) requires deciding what to do with the result: 2025 has no February 29. The standard resolution is to move to February 28, 2025. Adding 4 years to February 29, 2024 returns to February 29, 2028 (the next leap year). A robust date arithmetic calculator handles this automatically.

Multi-Year Additions

Adding multiple years requires counting through any leap years in the span. Adding exactly 5 years to any date may produce a result that differs by 1 day from adding 5 × 365 days, depending on whether any February 29s are crossed. For year-level date additions (anniversaries, milestone dates), use year-based addition; for precise day counts, use day-based addition.


7. Leap Years Explained — Impact on Date Calculations

Leap years add a day to the calendar (February 29) to keep the calendar year synchronized with Earth's orbital period of approximately 365.25 days. Ignoring leap years in date calculations introduces a small but cumulative error that compounds over multi-year periods.

Leap Year Rules

A year is a leap year if: it is divisible by 4 AND (it is not divisible by 100 OR it is divisible by 400). In plain language: most years divisible by 4 are leap years; century years (1900, 2100) are not leap years unless they're divisible by 400 (2000 was a leap year; 2100 will not be). Recent leap years: 2020, 2024, 2028. Next non-leap century year: 2100.

Year Divisible by 4? Divisible by 100? Divisible by 400? Leap Year?
2020 Yes No No Yes
2024 Yes No No Yes
2100 Yes Yes No No
2000 Yes Yes Yes Yes
1900 Yes Yes No No
2028 Yes No No Yes

8. Month-End Date Calculations — Handling Short Months

The variation in month lengths (28, 29, 30, or 31 days) creates the most common edge cases in date arithmetic. Understanding how different systems and conventions handle these edge cases prevents calculation errors.

Financial Month-End Conventions

In bond markets and loan agreements, specific day count conventions govern how month-end dates are handled: the 30/360 convention treats every month as having exactly 30 days; the Actual/365 convention counts the exact calendar days; the Actual/Actual convention uses actual calendar days and adjusts for leap years. Understanding which convention applies to your financial instrument is essential for calculating accurate accrual and payment dates.

Practical Month-End Date Examples

Common scenarios: 1 month after January 31 = February 28 (2025) or February 29 (2024). 3 months after November 30 = February 28/29. 6 months after August 31 = February 28/29. 1 month after March 31 = April 30. Always verify month-end date calculations with a date calculator when the starting date falls on the 29th, 30th, or 31st of a month.


9. Business Day Date Calculations

Business day calculations are critical for legal notices, financial settlements, government deadlines, and contractual obligations. Unlike simple day addition, business day calculation must skip weekends and public holidays.

How Business Day Addition Works

To add 10 business days to a date, count forward 10 weekdays (Monday–Friday), skipping Saturday and Sunday. If any of those days fall on a public holiday (in the applicable jurisdiction), skip those days too. Adding 10 business days to a Monday takes you to the Monday of the third week following (2 weekends × 2 days skipped per weekend = 14 calendar days total, absent holidays).

Settlement Dates in Finance

Stock market trades settle on a T+1 basis (1 business day after the trade date) in the U.S. as of 2024. Bond trades and some international markets still use T+2 or T+3 settlement. Option expiration dates and futures delivery dates are defined by specific business day conventions. Understanding these conventions — and using a business-day-aware date math calculator — is essential for accurate financial planning.


10. Date Arithmetic in Legal Contexts

Legal deadlines are among the most consequential applications of date calculation. Statute of limitations periods, notice requirements, response deadlines, and filing windows are all defined by specific date arithmetic rules — and missing them can result in permanent loss of legal rights.

Statute of Limitations Calculations

The statute of limitations defines the maximum time to initiate legal proceedings after an event. A 2-year statute of limitations for a personal injury claim starting on July 15, 2024 expires on July 15, 2026. A 3-year statute starting on February 29, 2024 (a leap year) expires on February 28, 2027 (since 2027 has no February 29). Using a date arithmetic calculator — and verifying with an attorney — is essential for deadline-critical legal situations.

Notice Period Requirements

Many contracts require written notice a specified number of days before a termination, renewal, or exercise event. A "60-day written notice" clause in a lease, triggered by a termination intent on March 1, requires the lease to extend through April 30 at minimum — the notice must be received 60 days prior to the desired termination date, meaning the termination date must be at least 60 days after the notice date.


11. Date Calculations in Financial Planning

Financial planning is calendar-intensive — loan amortization schedules, investment maturity dates, tax deadlines, retirement projections, and savings milestones all depend on accurate date arithmetic.

Loan and Mortgage Date Calculations

A 30-year fixed mortgage originated on March 27, 2026 has a final payment date of March 27, 2056 (adding exactly 30 years). A 5-year auto loan originated on the same date matures on March 27, 2031. Monthly payment due dates advance by exactly 1 month each month — using the month-addition convention with month-end clipping for end-of-month originations.

Certificate of Deposit (CD) Maturity Dates

A 12-month CD purchased on March 27, 2026 matures on March 27, 2027. A 6-month CD matures on September 27, 2026. A 90-day CD matures on June 25, 2026 (exactly 90 days forward). For CD laddering strategies — where CDs mature at regular intervals — precise date calculation ensures the maturity dates are spread as intended.

Calculation Type Example Start Interval Result Date Notes
Add 30 days March 27, 2026 +30 days April 26, 2026 Net-30 payment term
Add 90 days March 27, 2026 +90 days June 25, 2026 Quarterly CD maturity
Add 6 months March 27, 2026 +6 months September 27, 2026 6-month CD maturity
Add 1 year March 27, 2026 +1 year March 27, 2027 Annual subscription renewal
Add 30 years March 27, 2026 +30 years March 27, 2056 30-year mortgage payoff
Subtract 180 days March 27, 2026 −180 days September 28, 2025 Looking back 6 months

12. Medical and Healthcare Date Calculations

Healthcare involves some of the most important and time-sensitive date calculations — from treatment schedules and follow-up appointments to medication supply calculations and vaccination intervals.

Medication and Treatment Schedules

A 90-day supply of medication dispensed on March 27, 2026 needs refilling by approximately June 25, 2026. A 10-day antibiotic course starting March 27 concludes on April 5, 2026. Chemotherapy cycles — often on 21 or 28-day cycles — are precisely scheduled using date arithmetic. Missing a treatment window by even a few days can affect clinical outcomes, making accurate date calculation a genuine health issue.

Vaccination Intervals

Vaccine schedules specify minimum and maximum intervals between doses. A two-dose vaccine series with doses 21–28 days apart: if dose 1 is administered on March 27, 2026, the earliest dose 2 date is April 17 (21 days) and the latest recommended date is April 24 (28 days). Precise interval calculation is essential for immunization validity.


13. Project Planning with Date Arithmetic

Project management is built on date arithmetic — start dates, end dates, duration, dependencies, and milestones all involve adding and subtracting days, weeks, and months from reference dates.

Critical Path and Milestone Dates

A project starting March 27, 2026 with a 90-day completion target has a deadline of June 25, 2026. Working backward: if the final review requires 2 weeks, the draft must be complete by June 11. If the draft requires 4 weeks of work, work must begin by May 14. This chain of backward date calculations — driven by the final deadline — is the essence of critical path planning.

Sprint and Release Scheduling

In agile development, two-week sprints starting March 27 have end dates of April 9, April 23, May 7, May 21, June 4, and June 18 — a release could target any of these sprint end dates. Calculating the sprint calendar for a full quarter requires adding 14-day intervals repeatedly from the sprint start date — exactly what a date calculator handles in seconds.


14. Subscription and Contract Date Tracking

Managing subscription renewals, contract expirations, and option exercise windows is one of the highest practical-value uses of date arithmetic for both individuals and businesses.

Subscription Renewal Dates

Annual subscriptions renew exactly 1 year after the original signup date. A subscription starting March 27, 2026 renews on March 27, 2027. A monthly subscription billing on the 27th of each month bills on March 27, April 27, May 27, and so on — with the February billing falling on February 27 (not the 28th or 29th, unless the billing system is configured otherwise).

Contract Expiration and Renewal Windows

Many commercial contracts include auto-renewal provisions with specific opt-out windows: "must provide 30-day written notice before contract end date." If the contract ends on December 31, 2026, the opt-out notice must be sent by December 1, 2026 at the latest — and preferably earlier to allow for delivery time. Missing this window by even one day can lock you into another full contract term.


15. Historical and Future Date Reference Points

Date arithmetic connects the present to both past and future reference points — enabling questions like "How many days until the next presidential election?" or "How many days ago was the September 11 attacks?"

Notable Historical Dates in Days

As of March 27, 2026: The September 11, 2001 attacks were approximately 8,963 days ago. The Apollo 11 moon landing (July 20, 1969) was approximately 20,704 days ago. The turn of the millennium (January 1, 2000) was 9,582 days ago. Converting historical events to day counts provides a visceral sense of elapsed time that year counts sometimes fail to convey.

Future Milestone Dates

The United States Semiquincentennial (250th anniversary of independence) falls on July 4, 2026 — 99 days from March 27, 2026. The next U.S. presidential election is November 3, 2028 — 951 days from March 27, 2026. These long-horizon date calculations are effortless with a future date calculator.


16. Common Date Calculation Scenarios Reference

Scenario Calculation Type Typical Interval Calendar or Business Days?
Net-30 payment term Add days 30 days Calendar
Net-60 payment term Add days 60 days Calendar
Stock trade settlement (T+1) Add business days 1 business day Business
Loan notice period Add business days 3–10 business days Business
Warranty expiration Add years/months 1–5 years Calendar
Lease notice to vacate Subtract days 30–60 days prior Calendar
Project deadline Add days/weeks Variable Business or calendar
Tax filing deadline (U.S.) Fixed date April 15 annually Calendar
Prescription refill Add days 30, 60, or 90 days Calendar
Passport expiration Add years 10 years (adult) Calendar

17. Days in Each Month Reference

Understanding the number of days in each month is foundational to manual and automatic date arithmetic. The classic mnemonic ("30 days has September, April, June, and November...") works — but a reference table is more precise and covers the leap year February case explicitly.

Month Days (Non-Leap Year) Days (Leap Year) Cumulative Days (Non-Leap)
January 31 31 31
February 28 29 59
March 31 31 90
April 30 30 120
May 31 31 151
June 30 30 181
July 31 31 212
August 31 31 243
September 30 30 273
October 31 31 304
November 30 30 334
December 31 31 365

18. Frequently Asked Questions

What date is 90 days from today?

To find the date 90 days from today (March 27, 2026), add 90 calendar days: the result is June 25, 2026. Use our date calculator above to get the result for any starting date and interval you enter.

How do I add months to a date without errors?

Advance the month number by the specified count, keep the day the same if it exists in the resulting month. If the day doesn't exist (adding 1 month to January 31 gives February 31 which doesn't exist), clip to the last valid day of the resulting month (February 28 or 29). A date calculator handles this automatically.

What is the difference between calendar days and business days?

Calendar days count every day of the week. Business days count only Monday–Friday, excluding public holidays. 10 business days span 2 calendar weeks (14 days, absent holidays). Always verify whether a legal or contractual deadline is specified in calendar days or business days — they yield materially different result dates.

How do leap years affect date calculations?

Leap years add February 29 to the calendar. This means adding 365 days to a date in a leap year will not produce the same calendar date next year — it produces a date one day earlier. Adding 1 year (using year-based arithmetic) always produces the same calendar date in the following year, with the special exception of February 29 dates which clip to February 28 in non-leap years.

What is the date 6 months from March 27, 2026?

Six months after March 27, 2026 is September 27, 2026. Month-based addition advances the month number by 6 (March = month 3; month 3 + 6 = month 9 = September) while keeping the day (27) the same, since September has 30 days and 27 ≤ 30.

How do I calculate a contract expiration date?

Identify the contract start date and the term length (in days, months, or years). Use the appropriate date arithmetic operation to add the term to the start date. For a 3-year contract starting March 27, 2026, the expiration is March 27, 2029. Always read the contract to determine whether expiration is on the anniversary date or one day before ("through March 26, 2029").

What was the date 30 days ago from March 27, 2026?

Subtracting 30 days from March 27, 2026: March has 27 days in the current month, so we subtract from March 27 back 27 days to March 1, then subtract the remaining 3 days into February: the result is February 25, 2026.

How do you calculate a due date from a start date?

For medical due dates (pregnancy), add 280 days (40 weeks) to the first day of the last menstrual period. For project due dates, add the project duration (in days or weeks) to the start date. For payment due dates, add the payment term (e.g., Net 30 = 30 days) to the invoice date.

What date is exactly one year from today?

One year from March 27, 2026 is March 27, 2027. Note that adding 365 days to March 27, 2026 gives March 27, 2027 as well (since 2026 is not a leap year, 2026 has exactly 365 days). In a leap year starting date, adding 365 days yields one day earlier than the same calendar date next year.

Can a date calculator handle business day calculations?

Yes — a full-featured date math calculator can count business days (Monday–Friday), optionally excluding specified public holidays. Business day calculators are essential for legal, financial, and contractual deadline management where weekends and holidays do not count toward the elapsed period.


Disclaimer: All date calculation examples, financial deadline references, and legal period calculations in this guide are provided for general educational and informational purposes only. Legal and contractual dates must be verified against the specific terms of your agreement and applicable law. Financial settlement dates are subject to market rules and institution-specific policies. Always consult a qualified legal or financial professional for deadline-critical date calculations.