π’ Day Counter
Count the exact days between two dates, with inclusive and exclusive options.
How to Count Days Between Dates
Enter the two dates in either order and choose how to count. Exclusive (standard) counts the days strictly between the dates, which is what most people mean and what date libraries compute. Inclusive counts both endpoints, which is what you want for "how many days was the trip" or "how many days of the challenge did I complete." The swap button flips the dates if you entered them backwards.
Enter the start and end dates in either order.
Pick exclusive for elapsed time or inclusive when both endpoint days count.
Hit Count Days for the total plus weeks, months, hours, and both weekdays.
Use Swap dates if you want the earlier date listed first for readability.
Inclusive vs Exclusive: The Fencepost Problem
This single distinction causes most day-counting arguments. A hotel stay from the 16th to the 18th is 2 nights (exclusive) but covers 3 calendar days (inclusive). A "7-day challenge" starting Monday ends Sunday inclusive, which is 6 days exclusive. Fitness apps, rental companies, and project plans each pick a convention, and the fine print rarely says which. When in doubt, ask: do both endpoint days count?
Worked Example
January 1, 2026 to December 31, 2026: exclusive count is 364 days (exactly 52 weeks, since 2026 is not a leap year), inclusive is 365. Same date twice gives 0 exclusive and 1 inclusive, which is the cleanest way to remember the difference: inclusive always runs exactly one higher.
Common Uses
Project managers count working spans, travelers count trip lengths, HR counts leave balances, and lawyers count notice periods. Each field has its own convention: hotels and car rentals charge nights (exclusive), challenge trackers count completed days (inclusive), and contracts usually mean exclusive unless they say "including." Match the tool to the convention and the arguments disappear.
Leap Years and Long Spans
Over multi-year spans the count automatically includes every February 29 in range. A span from 2024 to 2028 includes two leap days; 2025 to 2027 includes none. Manual counters miss these constantly, which is why a calculator earns its keep on anything longer than a few months.
Estimating Workdays Between Dates
This counter totals calendar days, but deadlines usually mean workdays. A quick estimate: multiply the day count by 5/7 and round down, then subtract public holidays in the span. So 70 calendar days is roughly 50 workdays before holidays. The estimate assumes a Monday-to-Friday schedule and no shift work. For exact business-day counts that skip weekends and named holidays, a dedicated workday calculator is the right tool; this one gives you the raw calendar span to start from.
A Second Worked Example: The 100-Day Challenge
Start a 100-day challenge on October 16, 2026 and count inclusively, so day 1 is October 16. Day 100 is 99 days later: October 16 plus 90 is January 14, plus 9 more is January 23, 2027. Exclusive count between the dates is 99; inclusive is 100. This is the fencepost in action: the challenge lasts 99 days of elapsed time but occupies 100 calendar days. If the challenge rules say "100 days," use inclusive. If they say "100 days from now," use exclusive.
Trip math works the same way. A trip from March 10 to March 17 is 7 nights (exclusive, what the hotel charges) but 8 calendar days (inclusive, what your itinerary covers). Run both counts when travel planning: the hotel bill follows one convention and your out-of-office message follows the other.
Where the Convention Is Decided for You
You do not always get to choose. Hotels, car rentals, and parking charge nights and 24-hour blocks: exclusive counting, always. Subscriptions bill in cycles from the start date, and "annual" means 365 days from signup, not to December 31. Legal notice periods vary by jurisdiction and sometimes by contract; "30 days notice" in a lease may count the serving day or not, and getting it wrong can void the notice.
The practical rule: when someone else's money or rules are involved, ask which convention they use. "Is that 30 days inclusive?" takes five seconds and prevents the argument. When it is your own tracking, pick one convention and stick to it. Mixed conventions in the same spreadsheet are how project timelines quietly gain or lose days.
Common Day-Count Mistakes
First: the fencepost itself, covered above but worth repeating because it causes the most arguments. Count the posts, not the gaps, when days themselves matter. Second: February 29. Any span crossing a leap day is one day longer than the same span in a non-leap year, and multi-year counts that ignore this drift. Third: time zones. A "3-day" trip from New York to Tokyo loses a day to the date line; the calendar count and the experienced count differ.
Fourth: counting today in "days until" math. If an event is tomorrow, it is 1 day away, not 0 and not 2. Fifth: month-length guessing. "About 90 days" for three months can be 89, 90, 91, or 92 depending on which months. The calculator exists because month lengths are irregular; trust it over mental math whenever the answer matters.
Worked Example: Project Deadline Countdown
A project runs March 10 to June 25. Counting exclusive of the start date: March has 31 days, so March 10 to March 31 is 21 days, plus 30 in April, 31 in May, and 25 in June = 107 days. Inclusive of both endpoints it is 108. The one-day difference is the fencepost problem, and it causes real missed deadlines: "30 days from March 10" exclusive lands April 9, inclusive lands April 8. The calculator states its convention up front so both sides of a contract read the same number.
Date math across February needs leap-year care. From January 15, 2024 to March 15, 2024 is 60 days (16 remaining in January + 29 in February + 15 in March), while the same span in 2023 is 59. Hand-counting month lengths invites exactly this error, which is why the calculator does the calendar walking itself.
Inclusive vs Exclusive: Picking the Right One
Use exclusive (difference) for durations: how long something lasted, interest accrual, age in days. Use inclusive when counting days something covers: a "7-day course" starting Monday ends Sunday, which is 6 days of difference but 7 days of attendance. Hotel nights are exclusive (check-in to check-out); rental days are usually inclusive. When a contract says "within 30 days of," lawyers mean exclusive unless stated otherwise, and stating it otherwise is always worth the sentence.
Frequently Asked Questions
How many days are between two dates?
Enter both dates above and choose exclusive or inclusive counting. The calculator handles month lengths and leap years, and date order does not matter. For January 1 to December 31, 2026, the answer is 364 days exclusive or 365 inclusive.
What is the difference between inclusive and exclusive day counts?
Exclusive counts only the days strictly between the dates (the standard for elapsed time). Inclusive adds one to count both endpoint days, which suits trips, challenges, and anything where both ends count as full days.
How do you count days for a hotel stay?
Hotels charge nights, which is the exclusive count: check in the 16th, out the 18th, and you pay for 2 nights. The inclusive count would be 3 calendar days. This is the classic fencepost situation.
Does the order of the dates matter?
No. The calculator takes the absolute difference, so start and end can go in either field. Use the swap button if you prefer the earlier date listed first.
How many days are in 2026?
365, since 2026 is not a leap year. The exclusive count from January 1 to December 31, 2026 is 364 days, exactly 52 weeks. A leap year like 2028 gives 365 exclusive or 366 inclusive.
How do leap years affect the count?
Every February 29 inside the span adds one day automatically. Spans crossing 2024 or 2028 include a leap day; spans within 2025-2027 do not. Manual counting misses this often; the calculator never does.
How many weeks is 90 days?
12 weeks and 6 days. The results always break the total into weeks plus a remainder, which is handy for sprint planning and training schedules.
What does "within 30 days" legally mean?
Usually 30 calendar days exclusive of the triggering date, but contracts vary and some exclude weekends or holidays. For anything with real money or legal consequences, read the clause and, if needed, ask a lawyer rather than trusting a calculator.