How to Calculate the Days Between Two Dates by Hand

Counting the days between two dates looks trivial until you actually try it on paper. The two things that trip people up almost every time: whether to count the start date itself, and what to do when February gets involved. Here's the manual method, the traps, and a worked example.

On this page
Skip the manual math → Use the Days Between Two Dates Calculator

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.

March 15 → March 31: 16 days
April: 30 days
May: 31 days
June: 30 days
July: 31 days
August 1 → August 21: 21 days
Total: 159 days

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

Cedrick Reese

Ready Utilities was founded by Cedrick Reese, a retired veteran and web developer who enjoys building free, user-friendly online tools that simplify everyday tasks. His journey began in the early 2000s with affiliate marketing and niche site development, which grew into a passion for creating practical digital utilities and calculators. After retiring, he earned a Computer Systems Technician certificate from UEI College, completed Electro-Mechanical Technologies at Tulsa Welding School, and finished the Carpentry program at Florida State College at Jacksonville. Today, he combines his technical background and craftsmanship by building furniture using traditional woodworking methods, gardening, and developing helpful online tools for users worldwide.