Travel the world

Climb the mountains

Post Page Advertisement [Top]

Date CalculatorsGuides

How to Calculate the Number of Days Between Two Dates

Calendar page with a date circled in red for counting days between two dates

It sounds like the easiest question in the world until you actually try to answer it. How many days are left until the contract ends? How long is that project, really? How many days until the wedding? You start counting on a calendar, lose your place somewhere around the second month, and end up with a number you're only about 80 percent sure of. The good news is that learning how to calculate days between two dates by hand isn't hard at all. There's one simple method, a couple of rules about leap years, and one decision you have to make about whether the last day counts. Get those three things right and your count will be right every time.

First, decide what you're actually counting

Most disagreements about day counts come down to one thing: people are counting two different things without realizing it. When most of us ask for the number of days between dates, we mean the difference — how much time passes if you start at the first date and travel forward to the second one. If today is Monday and your deadline is Friday, the difference is 4 days. That's the standard method, and it's the one used throughout this guide: don't count the start date, do count the end date.

The other option is the inclusive count, where you count both the first and the last day. Monday through Friday inclusive is 5 days. Neither answer is wrong — they're answers to different questions. The difference method tells you how much time will pass. The inclusive method tells you how many calendar days an event touches. If you ever get a count that's exactly one more than someone else's, this is almost certainly why. To turn a difference count into an inclusive count, just add 1.

How to calculate days between two dates by hand

The manual method has three steps, and it works for any two dates, whether they're three weeks apart or three years apart. The idea is to break the span into pieces that are easy to count: the days remaining in the first month, the whole months in the middle, and the days used up in the final month.

Step 1: Count the days left in the start month

Subtract the start date's day number from the total number of days in that month. If your start date is January 15 and January has 31 days, there are 31 − 15 = 16 days left after the 15th (the 16th through the 31st).

Step 2: Add the full months in between

For every whole month that sits between the start month and the end month, add its full length. You need to know how many days each month has — 31 for January, March, May, July, August, October and December; 30 for April, June, September and November; and 28 or 29 for February, depending on the year. More on February in a moment.

Step 3: Add the days into the end month

Finally, add the day number of the end date. If the end date is March 10, add 10. Then total up the three pieces.

Worked example: January 15 to March 10

Let's say you need the days between January 15 and March 10 in a normal, non-leap year.

  • Days left in January: 31 − 15 = 16
  • Full months in between: February = 28
  • Days into March: 10
  • Total: 16 + 28 + 10 = 54 days

So there are 54 days between January 15 and March 10. If you wanted the inclusive count — both the 15th and the 10th counted — it would be 55.

Worked example: crossing into a new year

The method doesn't change when the span crosses New Year; you just keep going. Take November 20, 2025 to February 5, 2026:

  • Days left in November: 30 − 20 = 10
  • Full months: December (31) + January (31) = 62
  • Days into February: 5
  • Total: 10 + 62 + 5 = 77 days

For really long spans — several years — it's easier to count whole years first. Each full year you pass contributes 365 days, plus one extra day for every February 29 inside the span. Someone born on June 10, 1990 turned 35 on June 10, 2025. That's 35 × 365 = 12,775 days, plus 9 leap days (1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020 and 2024), which makes 12,784 days. A fun number to know on your birthday.

Leap years: the part everyone forgets

February is the troublemaker in every day count. In most years it has 28 days, but in a leap year it has 29 — and if a February 29 falls anywhere inside your span, your total goes up by one. The leap year rule is simple at first and slightly sneaky at the edges:

  • A year is a leap year if it's divisible by 4 (2024, 2028, 2032…).
  • Except years divisible by 100 — those are not leap years (1900, 2100).
  • Except years divisible by 400 — those are leap years after all (2000, 2400).

The century rule catches people out because it rarely matters in everyday life — but it did within living memory. The year 1900 was not a leap year, so February 1900 had 28 days. The year 2000 was a leap year, because 2000 divides evenly by 400. Count February 15 to March 15 in both years and you get two different answers: 28 days in 1900 (13 remaining days in February + 15), and 29 days in 2000 (14 + 15). Same dates on the calendar, different counts, purely because of one extra day in February.

For everyday spans the effect is smaller but just as real. February 10 to March 10 is 28 days in 2025 but 29 days in 2024, because the leap-year version includes February 29. And here's one that surprises people: a "one year" span isn't always 365 days. March 1, 2023 to March 1, 2024 is 366 days because it contains February 29, 2024. March 1, 2024 to March 1, 2025 is 365, because the only February in that span is the 28-day one in 2025. The rule of thumb: a leap day counts only if February 29 actually falls inside your date range — not if the year merely happens to be a leap year.

Should you include the end date? It depends on the job

The include-or-exclude question doesn't have one universal answer, because different situations genuinely work differently. Here's the convention that fits the most common jobs:

  • Deadlines and "days from" dates: Use the difference method. If something is due 90 days from March 1, you count forward 90 days — 30 remaining days in March, 30 in April, then 30 into May — and land on May 30. The start day itself isn't day one; the day after is.
  • Project timelines: Difference for durations ("this phase takes 20 days"), but inclusive when you're counting how many calendar days a task appears on a schedule. Be consistent across the whole plan, and say which one you're using — mixed conventions are how project plans quietly gain or lose a day.
  • Age-related counts: Age itself is a difference — you're not a day old on the day you're born. But "days old" celebrations and countdowns to a birthday use the difference too, which is why the 12,784-day figure above works out exactly.
  • Countdowns: Difference, always. If the event is on Saturday and today is Wednesday, there are 3 days to go, not 4. Counting inclusively here just makes the wait feel longer.
  • Billing and subscription periods: Difference. A 30-day trial that starts on January 1 runs out on January 31, because 30 days pass between those dates. This is also how hotels charge: check in Friday, leave Monday, and you've paid for 3 nights — even though your stay touches 4 calendar days.
  • Travel planning: Think in nights, like the hotels do. A trip from October 3 to December 25 is 83 days apart (28 remaining in October + 30 in November + 25 into December), which means 83 nights away. Booking sites, leave balances and rental agreements all work on this basis.

If a contract, employer or official body gives you a number of days, it's worth checking their definition — most legal and HR documents mean calendar days counted by the difference method, starting the day after the trigger event. When money or a deadline depends on it, that one day matters.

Common mistakes that throw the count off

Nearly every wrong answer comes from one of these four slips:

  • The off-by-one error. Counting the start date as day 1, then also counting the end date, inflates your answer by one. Pick the difference method — start excluded, end included — and stick to it for the whole count.
  • Forgetting February 29. Any span that crosses the end of February in a leap year needs the extra day. If your range includes February of a year divisible by 4, stop and check.
  • Getting a month's length wrong. The classic slip is assuming every month has 30 days, or giving September 31 days to work with. If you can't recite the month lengths, use the knuckle trick: make a fist and count the months along your knuckles and the dips between them. Months that land on a knuckle — January, March, May, July — have 31 days; months in the dips have 30, except February. When you run out of knuckles after July, start again on the first knuckle: August is 31, September 30, October 31, November 30, December 31. It looks silly and works perfectly.
  • Confusing calendar days with 24-hour periods. A day count is about calendar days, not hours. Twice a year the clocks change and a day has 23 or 25 hours — it still counts as exactly one day in your total.

What if you only want working days?

Sometimes weekends shouldn't count at all — leave requests, delivery estimates and business deadlines usually run on working days, not calendar days. That's a slightly different calculation, with its own traps around weekends and holidays. If that's the count you need, see our companion guide on counting business days between dates, which walks through that method step by step.

Frequently asked questions

How many days are there between two dates if I count both of them?

Take the normal difference count and add 1. January 15 to March 10 is a 54-day difference, so counting both the first and last day gives you 55 days. Use the inclusive version when you need to know how many calendar days something spans — for example, how many days of a conference appear on your calendar.

How do I count days between dates in different years?

Exactly the same way — the method doesn't care about the year boundary. Count the days left in the start month, add every full month (including Decembers and Januarys as you pass them), then add the days into the final month. For spans of several years, count whole years at 365 days each and add one day for every February 29 inside the range.

Why is my count always off by one?

Almost certainly because of the endpoints. If you count the start day as day one and also count the finish day, you've added an extra day. Decide before you start: for most purposes the start date is excluded and the end date is included. Changing your mind halfway through a count is the single most common cause of the mystery extra day.

Does the leap year matter if my dates are only a few weeks apart?

Only if February 29 falls inside your range. A three-week span in June is unaffected by leap years entirely. A three-week span covering the end of February in a leap year is one day longer than the same span in a normal year — which is exactly the kind of small span where people forget to check.

Can I just estimate with 30 days per month?

For a rough idea, sure — but know that the error builds up fast. Real months average about 30.4 days, so a 30-day estimate drifts by roughly a day every two to three months, and it can be off in either direction depending on which months are involved. Fine for "about how long until summer," not fine for a filing deadline.

Skip the counting: use the calculator

Counting by hand is worth knowing — it helps you sanity-check any number someone hands you — but for long spans or high-stakes deadlines, nobody should be tallying months on their fingers. Our free Days Between Dates Calculator on this site does the whole thing instantly: enter the two dates and it handles the month lengths, the leap years and the endpoint rules for you, with options for inclusive counting as well. You'll find it alongside our other date and everyday tools on the Free Online Tools Hub home page — bookmark it for the next time a deadline, a trip or a birthday countdown needs an exact number.

Try it now with our free days between dates calculator — just pick your two dates.

No comments:

Post a Comment

Bottom Ad [Post Page]