Skip to content
TheCalcUniverse

Day Counter

Count the exact days between two dates, with business-day exclusion, an end-date inclusion toggle and week/month/year conversions.

Select the starting date

Select the ending date

Yes counts the end date as a full day too (a Friday-to-Sunday stay is 3 days inclusive). The business-day count follows the same rule.

Exclude Saturdays and Sundays from the day count

Fill in the inputs to see your result here.

The formula

Days = EndDate − StartDate

Days
Days
Full explanation ↓

How Day Counter Works

Days = EndDate − StartDate

Count the exact number of days between two dates. Optionally include the end date in the count (making it inclusive), count only business days (excluding weekends), and see the result broken down into years, months, and days for a human-readable perspective on the time span.

Days
Days — The number of days between the start and end dates, optionally including or excluding the final day in the count.
Day counter computes days between two dates, optionally including the end date or counting only business days.

Worked Examples

Sarah is planning a 2-week vacation to Japan from December 20, 2025 to January 3, 2026. She needs to know the exact number of days for booking accommodations and calculating her travel budget.

startDate = 2025-12-20 · endDate = 2026-01-03 · includeEndDate = yes · countBusinessDays = no

15

The trip spans 15 days including both the departure and return dates. This is important for hotel bookings, which typically charge per night — 14 nights for a 15-day trip with both end dates included. The year boundary crossing is handled automatically, and the breakdown shows the trip as 0 years, 0 months, and 15 days.

Marcus is a project manager who needs to estimate the working days available for a software development sprint. The sprint starts Monday March 2, 2026 and ends Friday March 27, 2026.

startDate = 2026-03-02 · endDate = 2026-03-27 · includeEndDate = yes · countBusinessDays = yes

26

The sprint spans 20 business days (Monday through Friday). With 26 calendar days total (March 2-27 inclusive), the remaining 6 days are weekends. This confirms the sprint fits exactly into four 5-day work weeks, which is the standard sprint length for many agile teams. Marcus can now accurately estimate team capacity for the sprint.

Priya wants to know how many days until her wedding on October 15, 2026, counting from today (May 18, 2026), so she can plan the remaining preparations.

startDate = 2026-05-18 · endDate = 2026-10-15 · includeEndDate = no · countBusinessDays = no

150

There are exactly 150 days until the wedding. This breaks down to 0 years, 4 months, and 27 days (May 18 to Sep 18 is 4 months, then 27 more days to Oct 15). Priya can use this to plan her preparation timeline — for example, vendors typically need to be booked 3-6 months out, which is roughly 90-180 days, so she is right in the critical booking window. She can also toggle business days mode to see how many working days are available for DIY projects.

Understanding the Result

This calculator counts the number of days between two dates. It can include or exclude the end date, count only business days (Monday-Friday), and show the result in various time units. The "Include End Date" option is particularly useful when computing the total length of a stay, rental period, or event that spans from a start date to an end date inclusive. The year/month/day breakdown gives an intuitive sense of the time span using real calendar months (not a 365-day year or 30-day month).

How to Use

  1. Select the start and end dates using the date pickers for a visual calendar interface.
  2. Toggle "Include End Date" to include the final day in the count (useful for date ranges like vacation periods).
  3. Toggle "Count Business Days Only" to count only weekdays, excluding Saturdays and Sundays.
  4. View the total days, a breakdown into years/months/days, and alternative time units like weeks and hours.
  5. Use the business days option for project timelines and shipping estimates that exclude weekends.

Quick Reference

1 Week7 days
1 Month (approx.)30 days
1 Quarter (approx.)90 days
1 Year (standard)365 days
1 Leap Year366 days
Business Days / Week5 days (Mon–Fri)
Business Days / Month~22 days (varies)
Business Days / Year~260 days (varies)

Frequently Asked Questions

What is the difference between including and excluding the end date?
Excluding the end date counts the days from the start date up to (but not including) the end date. Including the end date adds 1 to the total, counting the end date as well. For example, Monday to Wednesday is 2 days excluding (Tuesday and Wednesday are the full days between), or 3 days including (Monday, Tuesday, and Wednesday). The inclusive count is commonly used for vacation rentals, hotel stays, and event durations that span a range of dates.
How are business days calculated?
Business days count only Monday through Friday, excluding Saturdays and Sundays. The calculation counts whole weeks (5 weekdays each) plus the leftover days, over the same range as the day total: the start date is counted, the end date only when Include End Date is Yes. Monday 22 to Friday 26 January is therefore 4 business days, or 5 when the end date is included.
Is the year/month/day breakdown exact?
The breakdown uses real calendar months: it counts whole years and whole months from the start date, then the leftover days, so 2024-01-31 to 2024-03-01 is 1 month and 1 day. Total days, weeks, hours and minutes are exact calendar-day counts.
Does the calculator account for leap years?
Yes. The total days calculation uses the actual calendar dates you enter, so leap years are automatically handled by the browser's date engine. For example, the range from January 1, 2024 (a leap year) to January 1, 2025 returns 366 days, while the same range in a non-leap year returns 365 days. The year/month/day breakdown uses real calendar months, so 2024-01-01 to 2025-01-01 shows exactly 1 year.
Can I use this calculator to find my exact age in days?
Yes. Enter your birth date as the start date and today's date (or any other date) as the end date with "Include End Date" set to "No" to get your age in days. The total will show your age in days, weeks, and a years/months/days breakdown using real calendar months. For a more precise age calculation that accounts for actual calendar month lengths, see the dedicated Age Calculator.
What date formats are supported?
Dates are entered using your browser's native date picker, which uses the YYYY-MM-DD format internally. The date picker adapts to your locale settings, so you can select dates using your regional calendar format. All major browsers on desktop and mobile support this date input type.

Pro Tips

  • →Use "Include End Date = Yes" for hotel stays, rental periods, and event durations where both the first and last day count. For example, a Friday-to-Sunday hotel stay is 2 nights but 3 days inclusive.
  • →Toggle between "All Days" and "Business Days Only" to compare total calendar days vs. working days. This is the quickest way to estimate project timelines — if a 30-day project has 22 business days, you know you have about 8 weekend days baked in.
  • →For long-range planning (90+ days), the year/month/day breakdown is harder to read at a glance. Use total weeks (totalDays / 7) for a more practical sense of the timespan — 180 days = about 25.7 weeks, which is easier to grasp than "0 years, 5 months, 30 days."
  • →The total minutes and hours outputs are useful for precise calculations in logistics and shipping. One full day = 1,440 minutes or 86,400 seconds — the calculator handles these conversions automatically.

Limitations to Know

  • •This calculator does not account for public holidays when counting business days — only Saturdays and Sundays are excluded. For accurate business day counts that respect specific regional holiday calendars, use a dedicated business day calculator with a holiday database.
  • •The year/month/day breakdown follows real calendar months, but month-end conventions differ between jurisdictions and contracts (is 31 January plus one month the 28th or the 1st of March?), so confirm the rule that applies before using it for legal deadlines.
  • •The calculator handles dates from year 1 to year 275760 in most browsers, but dates before 1582 (the Gregorian calendar reform) may produce historically inaccurate results.
  • •End date inclusion logic assumes a simple +1 day adjustment — for edge cases spanning multiple years or leap seconds, verify results independently.

Sources

Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "Day Counter — Count Days Between Dates, Business Days." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/day-counter-calculator/. Accessed October 25, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like

Guides that use this calculator