Counting Days Between Two Dates: Inclusive vs. Exclusive, With Examples
Counting from March 1 to March 10 gives 9 days if the start date is excluded (a common default, since it counts only full days elapsed) or 10 days if both dates are counted inclusively — both are mathematically valid, and the difference is always exactly one day, coming down entirely to which convention is used.
This single, small convention choice explains the vast majority of confusion around date-range calculations, and once it's made explicit, the math itself is simple.
A worked example
From March 1 to March 10: subtracting the dates directly (10 − 1) gives 9, which is the exclusive count — the number of full days that have elapsed between the two dates. Counting both March 1 and March 10 as included days instead gives 10 — the inclusive count, often used for questions like "how many days does this cover."
Which convention fits which question
"How many days until this date" is typically an exclusive question — you don't count today as one of the days remaining. "How many days does this rental/subscription/stay cover" is typically inclusive — a hotel stay from the 1st to the 10th including both nights, or a rental period including both endpoint days, is naturally counted inclusively.
Why the confusion happens so often
Neither convention is universally correct, and different tools, contracts, and casual conversations default to different ones without saying so explicitly — the fix is being explicit about which is meant, especially for anything with real consequences like a legal notice period or a billing cycle.