Days Between Dates Calculator: Count Days Online
Counting the number of days between two dates seems simple โ until you need to exclude weekends, account for holidays, or calculate business days for a legal deadline. This comprehensive guide covers every method, common pitfalls, and real-world applications so you can count days with confidence.
Why Counting Days Matters
Accurate day counting is essential across many fields. A single miscounted day can mean a missed legal deadline, an incorrect interest payment, or a failed project timeline. Here are the most common situations where precise day counting matters:
- Legal deadlines: Court filing deadlines, statute of limitations, response windows
- Financial calculations: Interest accrual, bond pricing, loan repayment schedules
- Project management: Sprint durations, milestone tracking, resource allocation
- HR and payroll: Leave tracking, probation periods, benefit eligibility
- Travel planning: Visa validity, trip duration, accommodation booking windows
For instant, accurate results, use our Days Between Dates Calculator. But understanding the methods below will help you verify results and handle edge cases.
Calendar Days vs. Business Days
The most important distinction in day counting is between calendar days and business days:
Calendar Days
The total number of days between two dates, including weekends and holidays. This is the simplest and most common calculation.
Business Days (Working Days)
Only counts Monday through Friday, excluding weekends. Optionally excludes public holidays as well. Used for legal notices, shipping estimates, and SLA tracking.
How to Calculate Business Days
Step 1: Count Total Calendar Days
Subtract the start date from the end date. For example, from Monday, January 6 to Friday, January 17, 2025: 17 โ 6 = 11 calendar days.
Step 2: Count and Subtract Weekends
Count how many Saturdays and Sundays fall within the range. In our example (Jan 6โ17), there are 2 Saturdays (Jan 11, 18) and 2 Sundays (Jan 12, 19). But Jan 18 and 19 are after Jan 17, so only Jan 11 and 12 count โ that's 2 weekend days. 11 โ 2 = 9 business days.
Step 3: Subtract Public Holidays
If any public holidays fall on business days within your range, subtract those too. In the US, Martin Luther King Jr. Day falls on January 20, 2025 โ which is outside our range, so no adjustment needed.
The Formula
For a precise business day count between two dates:
Business Days = Total Days โ Full Weekends โ Remaining Weekend Days โ Public Holidays
Where:
- Full weekends = floor(total days / 7) ร 2
- Remaining weekend days = count Sat/Sun in the leftover days
- Public holidays = holidays falling on Mon-Fri within the range
Holiday Exclusion: A Complete Guide
Holiday handling is where day counting gets tricky because holidays vary by country, region, and even company. Here's how to approach it:
US Federal Holidays (2025)
| Holiday | Date | Day |
|---|---|---|
| New Year's Day | Jan 1 | Wednesday |
| Martin Luther King Jr. Day | Jan 20 | Monday |
| Presidents' Day | Feb 17 | Monday |
| Memorial Day | May 26 | Monday |
| Juneteenth | Jun 19 | Thursday |
| Independence Day | Jul 4 | Friday |
| Labor Day | Sep 1 | Monday |
| Columbus Day | Oct 13 | Monday |
| Veterans Day | Nov 11 | Tuesday |
| Thanksgiving | Nov 27 | Thursday |
| Christmas | Dec 25 | Thursday |
Observed Holidays
When a federal holiday falls on a Saturday, it's observed on the preceding Friday. When it falls on a Sunday, it's observed on the following Monday. For example, July 4, 2025 is a Friday โ so it's observed on Friday, July 4 (no shift needed). But if it fell on Saturday July 5, it would be observed on Friday July 4.
Custom Holiday Lists
Different organizations use different holiday lists. A global company might observe:
- US federal holidays for American offices
- UK bank holidays for London offices
- Chinese public holidays for Shanghai offices
- Company-specific holidays (founder's day, winter break)
Our calculator supports custom holiday lists so you can define exactly which days to exclude.
Inclusive vs. Exclusive Counting
This is one of the most common sources of error:
Exclusive Counting (Default)
Does not include the start date. Jan 1 to Jan 3 = 2 days (Jan 2, Jan 3). This is the standard mathematical approach and what most calculators use.
Inclusive Counting
Includes both the start and end dates. Jan 1 to Jan 3 = 3 days (Jan 1, Jan 2, Jan 3). Used in some legal contexts, hotel bookings, and rental calculations.
Always verify which convention your situation requires. When in doubt, count both ways and clarify with the relevant party.
Financial Day Count Conventions
In finance, the way you count days affects interest calculations. The three main conventions are:
Actual/365
Uses the actual number of days divided by 365. This is the most common convention for personal loans and savings accounts in many countries.
Interest = Principal ร Rate ร (Actual Days / 365)
Actual/360
Uses actual days divided by 360. Common in money market instruments and some commercial lending. This slightly increases the effective interest rate.
30/360
Treats every month as 30 days and every year as 360 days. Used in bond markets and some corporate finance. Simplifies calculations but is less accurate.
Example: $10,000 at 5% for 90 days
| Convention | Calculation | Interest |
|---|---|---|
| Actual/365 | 10000 ร 0.05 ร (90/365) | $123.29 |
| Actual/360 | 10000 ร 0.05 ร (90/360) | $125.00 |
| 30/360 | 10000 ร 0.05 ร (90/360) | $125.00 |
Practical Applications
Counting Days for Shipping and Delivery
E-commerce platforms often promise "5-7 business days" for delivery. Understanding that business days exclude weekends and holidays helps set realistic expectations. If you order on Thursday evening with 5 business day shipping:
- Friday (Day 1), Monday (Day 2), Tuesday (Day 3), Wednesday (Day 4), Thursday (Day 5)
- Delivery expected by the following Thursday โ 7 calendar days later
Visa and Immigration Deadlines
Immigration authorities often specify deadlines in calendar days. A 30-day visa extension means exactly 30 days from the date of entry or approval. These deadlines are typically strict with no exceptions for weekends or holidays.
Employee Probation Periods
A 90-day probation period typically runs for 90 calendar days. However, some jurisdictions specify business days. Check your employment contract and local labor laws.
Common Mistakes in Day Counting
- Forgetting leap years. February has 29 days in leap years (2024, 2028, 2032...). A year is a leap year if divisible by 4, except century years not divisible by 400.
- Time zone boundary issues. If you're counting days across time zones, the "day" boundary may shift. A transaction at 11 PM EST on March 1 is already March 2 in UTC.
- Mixing inclusive and exclusive. Off-by-one errors are the #1 cause of deadline disputes.
- Ignoring observed holidays. A holiday on Saturday doesn't reduce business days, but its observed Friday does.
- Not accounting for partial holidays. Some countries have half-day holidays that may or may not count as full business days.
Frequently Asked Questions
Conclusion
Counting days between dates is a fundamental skill with applications in law, finance, project management, and daily life. The key is understanding the distinction between calendar and business days, handling holidays correctly, and being consistent with inclusive vs. exclusive counting. For accurate, hassle-free calculations, bookmark our Days Between Dates Calculator and never second-guess your count again.