Calculator

Counting Days Between Dates Without Mistakes

Two ways to count: exclusive and inclusive

The first question to settle is whether you count both the start date and the end date. Different situations use different habits, and mixing them up is the number one cause of "off by one" errors.

Example: from 1 March to 15 March 2026. Exclusive: 15 − 1 = 14 days. Inclusive: 15 days, because 1 March and 15 March are both counted. A two-day event on 1 and 2 March spans one day by subtraction, but it occupies two calendar days.

Use exclusive counting for "how long until" and "how much time has passed". Use inclusive counting for "how many days does this trip or course cover". The date calculator shows both totals so you can pick the right one.

Counting across months

When the two dates fall in different months, work in three pieces: the days left in the first month, any full months in between, and the days in the last month.

Example: 10 January to 5 March 2026.

  1. Days left in January after the 10th: 31 − 10 = 21.
  2. All of February 2026: 28 days.
  3. Days into March: 5.

Total: 21 + 28 + 5 = 54 days (exclusive). Inclusive counting would make it 55. To turn days into weeks, divide by 7: 54 days is 7 weeks and 5 days.

Another case: 1 September to 27 October 2026. September leaves 30 − 1 = 29 days, and October adds 27, so the total is 29 + 27 = 56 days, which is exactly 8 weeks.

Month lengths and leap years

You do not need a calendar if you remember the rhyme: April, June, September and November have 30 days; February has 28 (or 29); every other month has 31.

A year is a leap year, with 29 days in February, under these rules:

  1. Divisible by 4: usually a leap year (2024, 2028).
  2. But divisible by 100: not a leap year (2100).
  3. Unless also divisible by 400: then it is a leap year (2000).

So 2024 and 2000 are leap years, while 2100 is not. A leap year has 366 days. This is why a span of exactly "one year" can be either 365 or 366 days long, and why multiplying years by 365 is only an estimate. The effect on birthdays is explained in the age guide.

Here is a leap-year example. From 1 March 2023 to 1 March 2024 is 366 days, because 29 February 2024 falls inside the span. From 1 March 2024 to 1 March 2025 is only 365 days, since 2025 is not a leap year.

Adding or subtracting days

To find a date a number of days from now, add the days month by month, filling each month before moving on.

Example: what is 90 days after 15 January 2026?

The answer is 15 April 2026. Since 90 days equals 12 weeks and 6 days, the weekday also moves forward by 6 days: if you started on a Thursday, you finish on a Wednesday.

This weekday shortcut works for any span: divide the days by 7 and keep only the remainder. 100 days after a Monday gives 100 − 98 = 2, so the day is a Wednesday.

Subtracting works the same way in reverse. Counting back 30 days from 1 March 2026 lands on 30 January, because February 2026 has 28 days. A calculator handles all of this for you, but knowing the logic lets you sanity-check a result.

Adding months is not the same as adding days

"One month later" is not a fixed number of days. From 15 January it means 15 February, which is 31 days; from 15 February it means 15 March, which is 28 days. For month-end dates there is a real ambiguity: one month after 31 January has no 31 February, so tools differ on whether to give the last day of February or early March. If precision matters, add days rather than months, and say which you mean.

Countdowns

A countdown is just a date difference with today as the start. From 14 November 2026 to 25 December 2026: 16 days remain in November after the 14th, plus 25 days of December, giving 41 days to go. Counting down in weeks is often more motivating for study plans or trips: 41 days is 5 weeks and 6 days.

When planning around deadlines, remember to decide whether the final day itself counts as available. A task that is due on the 25th with 41 days to go has 41 full days of work before the due date but 42 if you can work on the due date itself. For tracking hours within a day, use the time guide.

FAQ

How many days are in a year?
365 in a common year and 366 in a leap year. February is the only month that changes.

Why does my result differ by one day from another tool?
Almost always inclusive versus exclusive counting. Check whether the tool counts both the start and the end date.

How do I count weekdays only?
Divide the days by 7 to get whole weeks, then multiply by 5 for weekdays, and add the leftover days that fall on weekdays. Public holidays differ by place, so they need to be subtracted separately.

Open the calculator: Date Calculator →

Related guide