Date Calculator Guide: Add, Subtract, and Find Days Between Dates
Quick Answer
- *To find days between two dates, subtract the earlier date from the later one (accounting for month lengths and leap years).
- *A standard year has 365 days (261 weekdays, 104 weekend days); a leap year has 366.
- *The U.S. averages about 250 business days per year after removing 11 federal holidays (OPM, 2025).
- *Leap years occur every 4 years, except century years not divisible by 400 (1900 was not a leap year; 2000 was).
- *Over 40% of legal deadlines in U.S. courts are calculated in business days (ABA Journal, 2023), making accurate date math essential.
Days Between Two Dates
The most common date calculation: how many days from Date A to Date B? The concept is simple but the execution trips people up because months have different lengths.
| Month | Days | Month | Days |
|---|---|---|---|
| January | 31 | July | 31 |
| February | 28 (29 in leap year) | August | 31 |
| March | 31 | September | 30 |
| April | 30 | October | 31 |
| May | 31 | November | 30 |
| June | 30 | December | 31 |
Worked Example
How many days from March 15, 2026 to July 4, 2026?
- March: 31 – 15 = 16 remaining days
- April: 30 days
- May: 31 days
- June: 30 days
- July: 4 days
Total = 16 + 30 + 31 + 30 + 4 = 111 days
For calculations spanning years, you also need to account for whether each year in the range is a leap year. This is where a calculator becomes genuinely useful — manual date arithmetic across multiple years invites errors.
Adding and Subtracting Days
Need a deadline 90 days from today? A delivery date 45 business days out? Adding days to a date requires stepping through each month's actual length.
Worked Example: Adding 90 Days
Starting from January 1, 2026, add 90 days:
- January has 31 days → 30 days used, now at January 31
- February has 28 days (2026 is not a leap year) → 28 days used, now at February 28
- 90 – 30 – 28 = 32 days remaining into March
- March has 31 days → 31 used, 1 day remaining into April
January 1, 2026 + 90 days = April 1, 2026
Business Days vs. Calendar Days
Business day calculations exclude weekends and holidays. This distinction matters enormously in finance, law, and project management.
| Metric | Per Year (U.S.) | Per Month (avg) |
|---|---|---|
| Calendar days | 365 | 30.4 |
| Weekdays (Mon–Fri) | 261 | 21.7 |
| Federal holidays | 11 | 0.9 |
| Business days | ~250 | ~20.8 |
A quick estimation trick: multiply business days by 7/5 to get approximate calendar days. So 30 business days ≈ 30 × 7/5 = 42 calendar days. Then add any holidays that fall in the range.
When Business Days Matter Most
- Legal deadlines: Court filing deadlines, statute of limitations, and response periods are typically counted in business days. The Federal Rules of Civil Procedure (Rule 6) specify that periods under 11 days exclude weekends and holidays.
- Financial settlements: Stock trades settle T+1 (one business day after the trade). Wire transfers and ACH payments follow business day schedules.
- Shipping and delivery: "Ships in 5–7 business days" means 7–10 calendar days, not including the order date.
- Payroll: Bi-weekly pay periods are based on calendar weeks, but payroll processing uses business days. According to the APA (American Payroll Association), 83% of U.S. employers process payroll on a biweekly or semi-monthly schedule.
Leap Year Rules
The Gregorian calendar's leap year rules exist to keep the calendar aligned with Earth's orbital period of approximately 365.2422 days. The rules:
- A year divisible by 4 is a leap year
- Except years divisible by 100 are not leap years
- Except years divisible by 400 are leap years
| Year | Divisible by 4? | Divisible by 100? | Divisible by 400? | Leap Year? |
|---|---|---|---|---|
| 2024 | Yes | No | — | Yes |
| 2025 | No | — | — | No |
| 2026 | No | — | — | No |
| 2028 | Yes | No | — | Yes |
| 1900 | Yes | Yes | No | No |
| 2000 | Yes | Yes | Yes | Yes |
This system keeps the calendar accurate to within 1 day per 3,236 years. The famous Y2K bug was partly about whether systems correctly handled the year 2000 as a leap year (it was, because of rule 3).
Weeks and Months Between Dates
Weeks are easy: divide total days by 7. But "months between dates" is ambiguous because months vary from 28 to 31 days. The most common convention:
- Count the number of full calendar months between the two dates
- Add a fractional month for remaining days (divided by 30 or the actual month length)
From January 15 to April 10 = 2 full months (Feb 15 to Mar 15 to Apr 15 would be 3, but we stop at Apr 10) = 2 months and 26 days, or approximately 2.87 months.
Financial contracts often specify "30/360" day counting (every month = 30 days, every year = 360 days) to simplify interest calculations. According to the International Swaps and Derivatives Association (ISDA), the 30/360 convention is used in approximately 60% of fixed-rate bond calculations globally.
Common Date Calculation Scenarios
Project Deadlines
"The project is due in 6 weeks" means 42 calendar days. If it starts on a Monday, it's due on a Sunday — which likely means the preceding Friday (30 business days). Always clarify whether deadlines are calendar or business days.
Pregnancy Due Dates
The standard calculation adds 280 days (40 weeks) from the first day of the last menstrual period. According to the American College of Obstetricians and Gynecologists (ACOG), only about 5% of babies arrive on their exact due date, but the calculation provides a crucial planning benchmark.
Loan Maturity Dates
A "90-day note" in banking means 90 calendar days from the issue date. A $10,000 note at 5% annual interest for 90 days accrues $10,000 × 0.05 × (90/365) = $123.29 in interest.
Visa and Immigration Deadlines
The Schengen 90/180 rule allows 90 days within any rolling 180-day period. Overstaying by even one day can result in fines and future entry bans. According to Eurostat, over 1.2 million travelers were denied Schengen entry in 2023, with overstay violations being among the top reasons.
Calculate any date instantly
Use our free Date Calculator →Need business days specifically? Try our Business Days Calculator
Frequently Asked Questions
How do I calculate the number of days between two dates?
Count the remaining days in the start month, add all full months in between, then add the days in the final month. For example, March 15 to July 4: 16 (March) + 30 (April) + 31 (May) + 30 (June) + 4 (July) = 111 days. Remember to check for leap years if February falls in your range.
How do I add or subtract days from a date?
Step through each month's actual day count. Adding 90 days to January 1, 2026: use 30 days of January, 28 days of February (non-leap year), then 31 of March plus 1 into April. Result: April 1, 2026. Subtracting works the same way in reverse.
What is a business day and how do I count them?
A business day is any weekday (Monday through Friday) that is not a public holiday. The U.S. has approximately 250 business days per year. For a quick estimate, multiply business days by 1.4 to get calendar days, then adjust for holidays in the range.
How do leap years affect date calculations?
Leap years add February 29, making the year 366 days instead of 365. They occur every 4 years, except century years not divisible by 400. So 2024 and 2028 are leap years, 1900 was not, and 2000 was. Any date calculation that includes February must account for this extra day.
How many business days are in a year?
A standard year has 261 weekdays (52 weeks × 5 days + 1 extra). Subtract 11 U.S. federal holidays and you get approximately 250 business days. The exact count varies slightly each year depending on which day January 1 falls and whether holidays land on weekends.