Date Delta, Add & Subtract Calendar Calculator
Calculate exact duration between two calendar dates, or add/subtract days, weeks, and months with leap year handling.
All formulas and computation matrices for this calculator execute directly in your browser with zero latency. Enter your parameters to see instant results.
Who Uses This Calculation & Why Accuracy Matters
Project managers, legal paralegals calculating court filing deadlines, supply chain coordinators, human resources officers, and event planners use this calculator to add or subtract days, weeks, months, and years from any calendar date and calculate exact intervening spans.
A litigation attorney served with a summary judgment motion on Thursday, October 15, 2026, with a statutory 21-day response deadline.
A manufacturing procurement director scheduling ocean freight component delivery with a 45-calendar-day transit lead time departing May 1.
A tenant serving a mandatory 60-day non-renewal notice for a lease terminating September 30.
Gregorian Calendar Month Lengths & Quarter Day Distribution
Standard monthly day counts across common and leap years.
| Month Name | Common Year Days | Leap Year Days | Fiscal Quarter | Cumulative Days (Common) |
|---|---|---|---|---|
| January | 31 Days | 31 Days | Q1 | Day 1 – 31 |
| February | 28 Days | 29 Days (+1 day) | Q1 | Day 32 – 59 (60 in leap) |
| March | 31 Days | 31 Days | Q1 | Day 60 – 90 (91 in leap) |
| April | 30 Days | 30 Days | Q2 | Day 91 – 120 (121 in leap) |
| May | 31 Days | 31 Days | Q2 | Day 121 – 151 (152 in leap) |
| June | 30 Days | 30 Days | Q2 | Day 152 – 181 (182 in leap) |
| July | 31 Days | 31 Days | Q3 | Day 182 – 212 (213 in leap) |
| August | 31 Days | 31 Days | Q3 | Day 213 – 243 (244 in leap) |
| September | 30 Days | 30 Days | Q3 | Day 244 – 273 (274 in leap) |
| October | 31 Days | 31 Days | Q4 | Day 274 – 304 (305 in leap) |
| November | 30 Days | 30 Days | Q4 | Day 305 – 334 (335 in leap) |
| December | 31 Days | 31 Days | Q4 | Day 335 – 365 (366 in leap) |
* A common year contains 52 weeks plus 1 day; a leap year contains 52 weeks plus 2 days.
Julian Day Number (JDN) & Calendar Arithmetic Equations
Uses Julian Day Numbers (continuous day counts since Jan 1, 4713 BCE) to eliminate calendar month and year boundary complexities.
Civil Gregorian calendar date components.
Continuous astronomical integer count of days.
Absolute calendar days between two dates.
Step-by-Step Worked Examples with Real Numbers
Worked Example 1: Adding 90 Days to June 15, 2026
June boundary.
July boundary.
August boundary.
Target date.
Worked Example 2: Subtracting 45 Days from March 10, 2028 (Leap Year)
March offset.
Leap day accounting.
Resulting date.
Assumptions, Edge Cases & Common Calculation Mistakes
ℹ Underlying Algorithm Assumptions
- Assumes Gregorian calendar rules across the entire range.
- Assumes calculations operate in UTC to eliminate 23/25 hour daylight saving time distortions.
- Assumes default exclusive counting unless the inclusive toggle is selected.
⚠ 3 Common Mistakes to Avoid
- Assuming that adding "1 month" to January 31 lands on February 31 (which does not exist); standard convention clamps to February 28/29.
- Failing to adjust for leap years when calculating historical dates across February 29.
- Overlooking court and bank holiday exclusion rules when computing statutory legal filing deadlines.
Frequently Asked Questions
What happens when you add 1 month to January 31st?
Because February has only 28 days (or 29 in a leap year), adding one month to January 31 cannot produce February 31. Software standards (such as JavaScript Date and ISO 8601) clamp the result to the last valid day of the month: February 28 (or 29).
What is the Julian Day Number (JDN) and why do astronomers use it?
The Julian Day Number is a continuous count of days starting from noon on January 1, 4713 BCE. By converting calendar dates into a single integer, it completely eliminates leap years, months of varying lengths, and calendar reform shifts.
How does daylight saving time affect date calculations?
During spring forward (23-hour day) and fall back (25-hour day) transitions, naive millisecond subtraction can introduce fractional day errors. Our engine normalizes to midnight UTC to ensure date arithmetic remains strictly integer-accurate.
What is the difference between calendar days and business days?
Calendar days count every consecutive 24-hour period, including Saturdays, Sundays, and public holidays. Business days exclude weekends (Saturday and Sunday) and official statutory public holidays.
When did the Gregorian calendar replace the Julian calendar?
Pope Gregory XIII instituted the Gregorian calendar in October 1582, skipping 10 days to realign the calendar with the solar equinox. Britain and its American colonies adopted the calendar in September 1752, skipping 11 days.