Guides

How to Count Weeks Between Two Dates

Count the weeks and days between two dates: count the days, divide by 7 and round down, with the calculator's two date inputs, a worked example and FAQs.

Miryori Editorial Team3 min read
Try the Week Calculator

The week calculator — also called a week counter — answers a deceptively simple question: how many whole weeks, and how many leftover days, separate two dates? It is built for periods of any length, and it also tells you which ISO week and which weekday each of your chosen dates belongs to.

The week calculator finds the exact number of weeks and days between two dates. To count them yourself, count the days between the two dates, divide by 7, and round down to the first integer if you get a decimal. Enter a starting day and a last day; the starting day is not included in the count. The tool also reports which week and which day of the week each set date falls on.

How do I count weeks between two dates?

Counting weeks between dates is a three-step operation: first count the days in the interval, then split that count into groups of seven, and finally keep only the complete groups. The direction of the count is set by your two dates — the starting day is the first day in the period, the last day is the final day, and the starting day itself is not included.

weeks=⌊days between the two dates7⌋\text{weeks} = \left\lfloor \frac{\text{days between the two dates}}{7} \right\rfloor

The floor brackets mean "round down to the first integer." If the division produces a decimal, that decimal is not a partial week counted as a whole; the remaining days are reported alongside the week count instead.

Quantity Value from the counting method
Days per week 7
Days between the two dates Counted between the starting day and the last day; the starting day is not included
Whole weeks Day count divided by 7, rounded down to the first integer
Leftover days The remaining days reported next to the whole weeks

How do I use the week calculator?

The tool asks for two date inputs and returns the finished count immediately:

  1. Starting day — the date from which you would like to count the weeks (the first day in the period).
  2. Last day — the date until which you would like to count the weeks (the last day in the period).

Once both dates are set, you can read how many weeks and days lie between them. Alongside that result, the calculator shows the day name of each date, the ISO 8601 week number of each date and the corresponding year, so a period can be located precisely on the calendar without switching tools.

Worked example: a 364-day interval

Take an interval of 364 days — the length of 52 weeks, since 52 × 7 = 364 days. Count the days between the two dates: 364. Divide by 7: 364 / 7 = 52, with no decimal, so rounding down leaves 52. The calculator shows 52 weeks and 0 leftover days for that span. Had the day count produced a decimal, the first integer would be the week count and the remainder would appear as the separate days figure.

Frequently Asked Questions

Does the starting day count toward the total?

No. The source method explicitly notes that the starting day is not included in the counting; it marks the beginning of the period, while the last day closes it.

What do I enter in the week calculator?

Two variables only: the Starting day, described as the first day in the period, and the Last day, described as the last day in the period.

What does the calculator show besides the week count?

It reports the number of days between the dates, the whole weeks, the weekday name of each of the two dates, and the ISO week number and year associated with each date.

Why round down rather than to the nearest whole number?

A week is a complete block of seven days. The published counting steps say to divide by 7 and round down to the first integer if you get a decimal, leaving any remaining days to be reported separately.

Can I count days or months with this tool?

Not with the week counter itself. For a plain count of days between two dates, use the day counter; for a count in months, use the month calculator.

References

  • Week calculator source article: "How do I count weeks between dates?" and "How to use the number of weeks calculator."
  • ISO 8601 week date conventions, referenced by the source article for week numbers.
  • General arithmetic references on division with a remainder and rounding down.
Calculator

Week Calculator

Week: use the week calculator to find out how many weeks and days are between two dates. Free, fast and private.

Try the Week Calculator