Method 1: finish the month, then add whole months
This is the method most people can do in their head. Count the days left in the starting month, add the full months in between, then add the day number of the end date.
Take October 5 to December 25, 2026. October has 31 days, so 26 days are left after the 5th. November adds 30. Then December gives 25. That's 26 + 30 + 25 = 81 days.
Formula notes
Days = (days in start month - start day) + full months in between + end day
Method 2: use day-of-year numbers
Every date has a position in its year. January 1 is day 1 and December 31 is day 365, or 366 in a leap year. Inside one year, subtract the two positions and you're done.
October 5, 2026 is day 278 and December 25 is day 359. 359 - 278 = 81, the same answer as Method 1. When the range crosses into a new year, add the days left in the first year to the day number in the second.
Method 3: count whole weeks first
For ranges of a few weeks, jump in seven-day steps. Each step lands on the same weekday, so it's easy to see where you are on a calendar. Then count the last few days one by one.
January 1 to January 8 is one week exactly, so 7 days. Weeks also make a handy check on any answer: 81 days is 11 weeks and 4 days, so a Monday start should end on a Friday. October 5, 2026 is a Monday and December 25 is a Friday.
When to add one
Every method above gives elapsed days, the number of nights or steps between the dates. That's right for "how long until" and "how long since."
If you're counting dates on a list, add one. A conference from October 5 through October 7 runs 3 days even though only 2 days pass between the first and last. This off-by-one slip is the most common counting mistake, and it's called a fencepost error for the same reason: a 10-foot fence with posts every foot needs 11 posts.
When a rule or contract tells you which days count, its wording wins. Many court rules, for example, skip the day of the event that starts the clock.
Watch February and leap years
Month lengths cause most hand-counting errors. The knuckle trick helps: run along your knuckles from January, and each knuckle is a 31-day month while each dip between them is a shorter one. February has 28 days, or 29 in a leap year.
Leap years are divisible by 4, except century years, which must also be divisible by 400. So 2000 was a leap year and 1900 wasn't. A full year in 2028 has 366 days.
Let a spreadsheet or calculator do it
In Excel or Google Sheets, subtract one date cell from the other: =B1-A1. For an inclusive count, use =B1-A1+1. The DAYS function, =DAYS(B1, A1), gives the same result as plain subtraction.
For a quick answer with weeks, months, weekdays and weekend days included, our days between dates calculator does both counts at once.
Formula notes
Elapsed days: =B1 - A1Inclusive days: =B1 - A1 + 1DAYS function: =DAYS(end_date, start_date)
Frequently asked questions
What day of the year is today?
Count from January 1 as day 1. October 5, 2026 is day 278. The days between dates calculator shows the day-of-year number for both of your dates.
Why do I get a different answer than a friend?
Usually one of you counted the end date and the other didn't. Inclusive counts are always one higher than elapsed counts.
How many days are in each month?
January, March, May, July, August, October and December have 31. April, June, September and November have 30. February has 28, or 29 in a leap year.
What is a fencepost error?
It's an off-by-one mistake from counting gaps when you meant to count items, or the other way around. Days between dates is a classic example.
References
These sources support the method or guidance used for Days Between Dates Calculator. Verify time-sensitive rules at the source.
Try the calculator
Open Days Between Dates Calculator, enter your scenario, and compare its supporting rows with this guide's method and checks.
