How to Count the Days Between Two Dates

The method behind the number — and the one-day trap that makes half of all hand counts wrong.

Why this count matters more than it looks

The gap between two dates decides real things. A tenancy that began on 14 March and ends on 2 November ran for a specific number of days, and the deposit dispute may turn on it. A contract gives 30 days to cancel from the signing date. A baby is a certain number of weeks old. A project started on one date and shipped on another, and the retrospective wants to know how long it really took. In each case somebody has to count the days between two dates — and the count has to be exactly right, because the other side is counting too.

The method, by hand

Counting by hand means walking the calendar: count the days remaining in the first month, add the whole months in between at their true lengths, then add the days into the final month. Take 14 March to 2 November. March has 31 days, so 17 days remain after the 14th. Then April 30, May 31, June 30, July 31, August 31, September 30, October 31 — and finally 2 days into November. Total: 17 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 2 = 233 days. The method works, but it has three places to fail: misremembering a month's length, forgetting a leap day when February is inside the range, and the counting trap described next.

The trap: do you count the first day?

The standard count — the one contracts, airlines, schools and our calculator use — measures the distance between the dates: how many full days you travel from the first date to land on the second. The start day itself is not counted. Some situations genuinely count both endpoints (a three-day festival running Friday to Sunday covers three calendar days, though the distance from Friday to Sunday is two). Neither answer is wrong; they answer different questions. Most disputes happen because two people used different conventions without saying so. When a rule matters, ask which convention the rule uses — and if it is your rule to write, write it so the convention is obvious.

Leap years, briefly

A February inside your range has 29 days whenever the year is a leap year — divisible by 4, except century years, which need divisibility by 400 (so 2000 was a leap year, 1900 was not). Any range longer than a few months that crosses February deserves a leap check. Our Days Between Dates calculator handles all of this automatically: enter the two dates and it returns the exact days, plus the same gap expressed in weeks and in months and days, which is often the form you actually need for planning.

Common mistakes

Assuming every month has 30 days is the classic — across a long range it drifts by days. Counting on fingers week by week fails when a deadline crosses a month boundary nobody noticed. And the quietest mistake: counting from today instead of from the date the rule names ("30 days from the date of this letter" starts at the letter's date, not the day you opened it). If the count decides money, eligibility or a deadline, run it through the calculator as a check even if you counted by hand first — the dates you type are processed in your browser and never sent anywhere.

Three real counts, checked

A cancellation window. A gym contract signed on 5 October allows cancellation "within 30 days of signing". Counting 30 days forward from 5 October — the count that matters is the gap, so the last safe day is 4 November: the distance from 5 October to 4 November is exactly 30 days. People instinctively say 5 November (the same date next month, roughly) or count 5 October as day one and land on 3 November. Both are wrong, in opposite directions, which is why written rules and exact counting exist.

A project's true length. Work began on 22 January and shipped on 30 April of the same non-leap year: 9 days left in January, 28 in February, 31 in March, 30 into April — 98 days, exactly 14 weeks. "About three months" would have hidden a fortnight. Teams that measure in days plan in reality; teams that measure in vibes ship late and call it surprising.

A baby's age in weeks. Born on 9 September, seen at a clinic on 18 November: 21 days left in September, 31 in October, 18 into November — 70 days, exactly 10 weeks. Health visitors quote weeks because at that scale "two months" blurs a fortnight either way. In every example the arithmetic is the same walk across the same calendar — only the stakes change.