Number of Days Calculator – Count Days Between Two Dates
Enter a start and end date to calculate the total number of calendar days, business days, and weeks between them.
AI Quick Summary
Definition & Purpose:
This calculator counts the total number of calendar days, business days, and weeks between a start and end date, with an option to include or exclude the starting day.
When to Use:
Use it to count exact days for contracts, project timelines, billing periods, or any span where you need both a calendar-day and business-day total.
Key Takeaway Insights:
- By default, the day count excludes the starting day (standard date-subtraction behavior) — checking 'include starting day' adds one extra day to account for counting both endpoints.
- The business-day count only excludes weekends; it does not know about public holidays, so an actual work schedule with holidays in the range will have fewer working days than this figure shows.
- The calculator works with dates in either order — entering the later date first and the earlier date second still produces a correct, positive day count.
Introduction
Number of Days Calculator
Enter a start date and an end date, and this calculator counts the total number of calendar days, business days, and weeks between them.
Formula
Total days = End date − Start date, with one extra day added if "include starting day" is checked. Business days = count of Monday-through-Friday dates in the range. Weeks = floor(Total days ÷ 7).
From Monday, June 1, 2026 to Monday, June 15, 2026: the default (excluding the start day) gives 14 total days, 10 business days, and 2 complete weeks. Checking "include starting day" brings the total to 15 days.
Why the day count shifts with "include starting day"
Plain date subtraction measures elapsed time, which naturally excludes the starting day — the same logic behind "June 1 to June 15 is 14 nights." The include-starting-day option adds one day to the total for situations where both endpoints should count as full days, such as figuring the total length of a reservation rather than the time between check-in and check-out.
What the business-day count does and doesn't include
The business-day figure counts weekdays (Monday through Friday) only — it has no awareness of public holidays, so it will overstate actual available working days for any range that includes one. If you need a holiday-adjusted figure for something like a legal filing deadline, subtract any holidays in the range manually.
Date order doesn't matter
Enter the two dates in either order — the calculator automatically sorts them chronologically before calculating, so the result is always a correct, positive day count regardless of which field the earlier or later date was typed into.
Formula & Variables Explained
This tool utilizes standard equations formulated under standard rules.
Variables:
- Input parameter: Values supplied to resolve the output formula.
How to Calculate (Step-by-Step)
- Input the required parameters into the form.
- Click the calculate or auto-compute option.
- The outputs will refresh instantly with step-by-step variables.
Worked Examples Calculation
1June 1, 2026 to June 15, 2026
Start date = June 1, 2026 (Monday), End date = June 15, 2026 (Monday), Include starting day = No
Total days = June 15 - June 1 = 14 days. Business days (weekdays only, excluding the start day) = 10 days. Weeks = floor(14/7) = 2 weeks
14 total days, 10 business days, 2 weeks (15 total days if 'include starting day' is checked)
Real-World Applications
Widely used in student curriculum, professional projections, and quick estimations.
Limitations & Common Mistakes
- Entering incompatible unit formats (e.g. Mixing Metric and Imperial).
- Typographical mistakes in numeric entry fields.
The business-day count treats Saturday and Sunday as non-working days and does not exclude public holidays, so it will overcount actual working days in periods that include holidays.
Frequently Asked Questions (FAQ)
Q:Why does the day count change when I check 'include starting day'?
Standard date subtraction counts the number of days that have elapsed between two dates, which naturally excludes the starting day itself — the same way 'June 1 to June 15' spans 14 nights. Checking 'include starting day' adds one extra day to the total, which is useful when you need to count both endpoints as full days, such as counting the total number of days a rental or booking covers.
Q:Does the business-day count account for public holidays?
No — the business-day figure counts only Monday through Friday dates in the range and does not exclude any public holidays that might fall within it. If your actual use case needs holiday-adjusted working days (like calculating a legal deadline that excludes federal holidays), you'll need to manually subtract any holidays that fall within the range from this figure.
Q:Can I calculate days between a future date and a past date?
Yes — the calculator automatically sorts whichever two dates you enter into chronological order before calculating, so it doesn't matter which date you type into the 'start' field versus the 'end' field. The result will always be a positive day count regardless of the order you enter them in.
Q:How is the week count calculated?
The week count takes the total day count and divides it by 7, rounding down to the nearest complete week — so a 14-day span shows as exactly 2 weeks, while a 16-day span would still show as 2 weeks (with 2 days left over), since only complete 7-day weeks are counted.
References & Citations
CalculationDesk Editorial Team
Content & Calculation Editors
The CalculationDesk Editorial Team consists of math educators, technical writers, and product specialists dedicated to ensuring accuracy and clarity for everyday calculations.
CalculationDesk Review Team
Quality Assurance & Formula Verifiers
Our internal Review Team ensures that every calculator logic corresponds precisely to established academic standards and industry specifications.
Was this calculator helpful?
Embed this Calculator
You are welcome to embed this tool on your own blog or website. Simply copy the code snippet below and paste it into your HTML code.