Clever Calculators

📅 Date & Time

How to Count the Days Between Two Dates

Working out the exact days, weeks, months and years between two dates by hand is fiddly because of leap years and uneven months. Here's how it works — and why a tool is more reliable.

Updated 14 September 2026 · 2 min read

"How many days until the deadline?" "How long have we been together?" "How many days' notice is that?" These questions all come down to the gap between two dates — and while it sounds like simple subtraction, the calendar makes it surprisingly awkward to do by hand. Here's what's really going on.

Why you can't just subtract

If two dates fall in the same month, counting is easy: the 3rd to the 18th is 15 days. The trouble starts when you cross month or year boundaries, because months aren't the same length and February changes with leap years.

  • Months vary from 28 to 31 days, so "one month later" isn't a fixed number of days.
  • Leap years add a 29th of February every four years — but not every century year, unless it divides by 400. That's why 2000 was a leap year and 1900 wasn't.
  • Inclusive versus exclusive counting changes the answer by one: whether you count both the start and end day, or the gap between them, depends on the question you're really asking.
Rule of thumb: multiplying whole years by 365 quietly drops a day for every leap year in the span, so a 10-year gap can be off by two or three days. Count the actual calendar days instead.

Days, weeks, months and years all at once

The date difference calculator takes a start date and an end date and gives you the duration several ways: a plain total number of days, the same span broken into years, months and days, and the equivalent in weeks. Enter the two dates and it handles every leap year and month length for you — no counting on your knuckles.

The total-days figure is the one to use for anything precise: interest periods, notice periods, or a couple's "1,000 days together" milestone. The years-months-days breakdown is the natural way to describe a longer gap in conversation — "2 years, 4 months and 11 days" — the way you'd state someone's age.

Common uses

  • Notice and waiting periods — counting the exact days on a contract, visa or return window.
  • Project planning — how many days a task actually spans, including or excluding weekends (for working days only, use the working days calculator).
  • Anniversaries and milestones — the days since a wedding, a first date, or a baby's arrival.
  • Age and gaps — the difference between two birth dates, or your own age to the day.

If you're counting toward a future event rather than measuring a past span, the countdown calculator ticks down to the day. And for the more playful side of counting time, see fun ways to mark how many days you've been alive.

Frequently asked questions

How do I count the number of days between two dates?
Enter the earlier date as the start and the later date as the end in the date difference calculator. It counts every calendar day in the span, correctly handling leap years and different month lengths, and also shows the gap in weeks, months and years.
Should I include both the start and end date when counting days?
It depends on the question. For a duration — how long something lasts — you usually count the gap, so 1 January to 2 January is one day. For something like a hotel stay or a notice period you may count both ends. Decide which you mean, then add or subtract one if needed.

Related calculators