How to Calculate the Number of Days Between Dates
Learn how elapsed calendar days are counted between two selected dates.
Key idea
Elapsed days are the difference between two calendar dates. The result usually excludes the starting date; schedules that count both endpoints use an inclusive count.
Formula or method
Worked example
From 1 April 2026 to 10 April 2026, the elapsed difference is 9 days. If both 1 April and 10 April are counted as included dates, the schedule contains 10 calendar dates. State which convention the task requires.
Common mistakes
- Counting both dates when the question asks for elapsed days.
- Forgetting that February has 28 days in a common year and 29 in a leap year.
- Using ambiguous date formats without confirming month and day order.
Why the result can differ
The result depends on whether you need elapsed days or an inclusive count of calendar dates. Contracts, leave policies, and booking rules may define the counting method explicitly, so follow the stated rule for those cases.
Exclusive and inclusive counting
Elapsed-day calculations often count the interval between dates, while schedules may count both the starting and ending calendar dates. A stated counting convention is therefore important for deadlines, billing periods, and project plans.
Calendar example
From April 1 to April 10, the elapsed interval is nine days. Counting both calendar dates as included produces ten calendar days. Neither is universally “correct”; the intended convention determines the answer.
Check the requirement
If a contract, policy, or application specifies how days are counted, follow that definition rather than relying on a generic date calculator.