How to Count Days Between Two Dates (and Whether to Include the End Date)

December 2, 2026 · By Rehan Raza · Editorial policy

Counting days on a calendar goes wrong in two predictable ways. You forget whether the first or last day belongs in the count, or you forget that a weekend inside the range changes a working-day count. Both mistakes are small, and both can move a deadline by a day, so it is worth settling what the number means before you write it down.

Start with one question: does the end date count?

Take 1 December and 31 December. Subtract one from the other and you get 30: that is how far you move forward to reach the second date. Count both ends as days you are part of, the way a month running from the 1st to the 31st is 31 days long, and you get 31. Neither answer is wrong. They answer different questions, and the trouble starts when one person means the gap and the other means the block.

Worked examples you can check on a calendar

Using 1 December 2026 (a Tuesday) to 31 December 2026 (a Thursday), the four common counts are:

1 Dec 2026 to 31 Dec 2026
CountResult
Days, end date not counted30
Days, end date counted31
Weekdays (Monday to Friday), end date not counted22
Weekdays, end date counted23

Move the end date to 1 January 2027 (a Friday) and the same four rules give 31, 32, 23 and 24. The end-date switch always adds one to the day count, and adds one to the weekday count only when the end date is a weekday.

Weeks and months

Weeks are easy. Divide the day count by 7 and keep the remainder: 30 days is four weeks and two days. Months are less tidy, because a month is not a fixed number of days. "One month after 15 January" is 15 February, which is 31 days away, while a month after 15 February is 28 days away. If a tool gives you months and days together, read the days as what is left after the full months, not as a fraction of a month.

Working days are not quite weekdays

A working day usually means Monday to Friday, but your employer, your bank or the rules you are working under may use different days. A weekday count removes Saturdays and Sundays and nothing else. If a public holiday falls inside your range, such as 25 December, a plain weekday count still includes it. When a deadline depends on the number, take the holiday out yourself and write down that you did.

When the end date should count

Count the end date when the period is a block you occupy in full: a course that runs Monday to Friday, a stretch of leave, a rental where the last day is a full day of use. Leave it out when you are measuring a gap: how long until a payment is due, or how many days have passed since a parcel was posted. If you are not sure, write the rule next to the number, for example "31 days, end date included". That one phrase stops most arguments before they start.

Using Toolysite's Date Difference calculator

Enter the start date and the end date in the two date fields, then tick the option that counts the end date if your period is a full block of days. The result gives the gap in more than one unit for the same two dates, so you can compare the counts side by side instead of working each one out. Check the working-day figure against your own holiday list before you rely on it. The Date Difference calculator is free, and for a question about someone's age rather than a span of days, the Age Calculator is the better fit.

Questions people ask

How do I count days between two dates without a calculator?

If both dates are in the same month, subtract the day numbers: 31 minus 1 is 30. Across months, count the days left in the first month, add the full months in between, and add the day number of the last date. Add one if the end date counts.

Does the end date count when I work out days between two dates?

Only if your period includes that day as a full day. A gap is measured without it, and a block you spend in full is measured with it. Decide which one you need before you read the number.

How many weeks are between two dates?

Divide the day count by 7. Thirty days is four full weeks with two days left over.

Why does my count differ from my calendar app?

Calendar apps do not all treat the last day of an all-day event in the same way, so the two numbers can differ by one. Check which rule the app uses before you compare them.

Does a working-day count take out public holidays?

Not by itself. A weekday count removes only Saturday and Sunday. If your deadline depends on holidays, remove them from the range yourself.

Next time someone asks how many days you have, give them the number and the rule together: 30 days, or 31 with the end date. The rule is usually the part they actually need.