The Mechanics of Time: How to Add and Subtract Dates
Instantly find the exact duration between any two dates using our Date Calculator, or read on to understand the complex rules of calendar mathematics.
In business and law, precise date calculation is critical. If a contract states a payment is due "90 days from execution," paying on the 91st day could result in thousands of dollars in penalties. If a warranty lasts "exactly two years," knowing the precise expiration date is essential.
Because the calendar is irregular, doing this math in your head is notoriously error-prone.
Adding Days to a Date
If you sign a contract on March 15th that says you have exactly 90 days to complete a project, what is the deadline? You cannot simply add 3 months, because March has 31 days, April has 30, and May has 31.
Manual Calculation Strategy:
- Subtract the starting day (15) from the total days in the starting month (31 in March).
31 - 15 = 16 days left in March. - Subtract those 16 days from your 90-day total.
90 - 16 = 74 days remaining. - Subtract the entire next month (April has 30 days).
74 - 30 = 44 days remaining. - Subtract the entire next month (May has 31 days).
44 - 31 = 13 days remaining. - You have 13 days left, which fall into the next month (June). Your deadline is June 13th.
Finding the Difference Between Two Dates
How many total days are there between January 1st and December 31st? The answer is 364 days, not 365, because standard date math calculates the duration between the dates and does not include the end date itself.
If you want to include both the start and end dates (often called "inclusive" counting), you must add 1 day to the final mathematical result.
The Leap Year Problem
The biggest complication in date math is the leap year. Every four years, February gains an extra day (February 29th) to keep our calendar aligned with the Earth's orbit around the sun.
The Rule of Leap Years: A year is a leap year if it is evenly divisible by 4. Exception: If the year is divisible by 100, it is NOT a leap year (e.g., 1900 was not a leap year). Exception to the Exception: If the year is divisible by 400, it IS a leap year (e.g., 2000 was a leap year).
When calculating deadlines that cross over February in a leap year (like 2024 or 2028), failing to account for the 29th day is the most common reason people miss 30, 60, and 90-day deadlines.
FAQ
What are "Business Days"? In contract law and shipping, "business days" refer only to Monday through Friday, excluding weekends and official public holidays. Calculating 90 business days is drastically different from calculating 90 calendar days. 90 business days is roughly 18 weeks (almost 4.5 months).
Never risk missing a legal or financial deadline. Use the precise, leap-year-aware CalcUnit Date Calculator for all your scheduling needs.
