The basic method
The cleanest way to count days between two dates by hand is to convert each date into a running day count, a day-of-year number, adjusted so the count keeps going up across a year boundary, then subtract the smaller from the larger. If both dates are in the same year, you can skip the conversion and just count forward from the start date to the end date, one month at a time, adding up each month's full length as you go, then the remaining days at the end.
The inclusive vs. exclusive trap
This is the single most common source of an off-by-one error. If you count March 1st to March 10th and include both endpoints, that's 10 days. If you count only the days that pass between them (the standard mathematical difference, end minus start), that's 9 days. Contracts, deadlines, and most calculators (including the one on this site) use the second convention: the start date isn't counted as one of the days, only the days after it, up to and including the end date. Always check which convention a given context actually wants before trusting a manual count.
Watch out for leap years
February has 28 days most years and 29 in a leap year. If your date range crosses a February, you need to know whether that particular year is a leap year before you can count correctly. The rule: divisible by 4, except century years, which need to be divisible by 400. That's why 2000 was a leap year but 1900 wasn't. Miscounting February by even one day throws off everything after it in the same calculation.
A worked example
Say you want the days between March 15, 2026 and August 21, 2026.
Notice how much of that total is just careful bookkeeping of how many days are in each month you pass through, that's where a manual count usually goes wrong, not the concept itself.
When to just use the calculator
For a single quick check, doing it by hand is fine. For anything with a real deadline attached, or a range that spans several months or a leap year boundary, the manual method has too many places to slip. The Days Between Two Dates Calculator handles all of this automatically and also gives you a full years/months/days breakdown, not just a single day count.
Frequently asked questions
How do I calculate the number of days between two dates?
Subtract the start date from the end date. The cleanest way by hand is to count forward from the start date to the end date one day at a time, or convert both dates to a running day count (like a day-of-year number, adjusted for leap years) and subtract. The result depends on whether you count the start date itself, most calculators and contract language count the days after the start date, up to and including the end date.
Sources
- SuperCalcy, Years Between Dates Calculator