Count Days Calculator
Input Parameters
Computed Results
The count days calculator determines the exact duration between a start date and an end date. It calculates the total elapsed days, business days (excluding weekends), total weeks, and total hours, making it easy to track project timelines, countdowns, or historical durations.
Practical Use Cases
Knowing the exact number of days between two dates is useful for a variety of planning and tracking tasks. Project managers use it to determine how many working days are available before a deadline. Event planners rely on it to count down the days until a wedding, conference, or vacation. It is also helpful for calculating the duration of a lease, a subscription, or tracking how long a specific task took to complete.
Formula & Explanation
The calculator determines the time difference by converting both the start date and end date into a standard time format (milliseconds since the Unix Epoch). It then subtracts the start date from the end date and divides the result by the number of milliseconds in a single day.
If the "Include End Date (+1 Day)" toggle is activated, the calculator adds one additional day to the final count. To calculate business days, the tool iterates through the date range and excludes any days that fall on a Saturday or Sunday. Total hours are calculated by multiplying the total days by 24.
Verified Scenario Walkthroughs
Here are a few examples of how the calculator determines the duration between different dates.
Short Duration Within the Same Month
If you start on January 1, 2025, and end on January 15, 2025 (excluding the end date):
- Total Days: 14
- Business Days: 10
- Weeks & Days: 2 weeks, 0 days
- Total Hours: 336
Year-End Crossover with Inclusive Toggle
If you start on December 25, 2024, and end on January 5, 2025, while choosing to include the end date:
- Total Days: 12
- Business Days: 8
- Weeks & Days: 1 week, 5 days
- Total Hours: 288
Leap Year February Calculation
If you start on February 28, 2024, and end on March 2, 2024 (excluding the end date):
- Total Days: 3
- Business Days: 3
- Weeks & Days: 0 weeks, 3 days
- Total Hours: 72
Multi-Year Duration
If you start on January 1, 2020, and end on January 1, 2022 (excluding the end date):
- Total Days: 731
- Business Days: 523
- Weeks & Days: 104 weeks, 3 days
- Total Hours: 17,544
How to Use the Calculator
Follow these steps to find the exact duration between your dates:
- Select the Start Month, Start Day, and Start Year for your initial date.
- Select the End Month, End Day, and End Year for your final date.
- Toggle Include End Date (+1 Day) if you want the final day to be counted as a full elapsed day.
- Review the results to see the total days, business days, weeks, and hours.
Inputs & Outputs
| Input/Output | Description |
|---|---|
| Start Month / Day / Year | The initial date of your time period. |
| End Month / Day / Year | The final date of your time period. |
| Include End Date (+1 Day) | A toggle that adds one extra day to the total count, treating the end date as a full elapsed day. |
| Total Days | The absolute number of calendar days between the two dates. |
| Business / Working Days | The number of days between the dates, excluding Saturdays and Sundays. |
| Weeks & Days | The total duration expressed in full weeks and remaining days. |
| Total Hours | The total days multiplied by 24 hours. |
Frequently Asked Questions
Does the calculator account for leap years?
Yes, the calculator uses standard calendar logic, which automatically accounts for the extra day in February during leap years.
What does the 'Include End Date' toggle do?
By default, calculating the difference between two dates measures the elapsed time (e.g., Monday to Tuesday is 1 day). If you toggle 'Include End Date', it counts both the start and end days inclusively (e.g., Monday and Tuesday equals 2 days).
Are holidays excluded from the business days count?
No, the business days calculation only excludes weekends (Saturdays and Sundays). It does not automatically exclude public or bank holidays.