Calculateus

Specific Weekday Count Between Dates

Count how many times a specific day of the week (like every Saturday) occurs between two dates.

Result

Occurrences
52

About the Weekday Count

The Specific Weekday Count Between Dates calculator answers a precise scheduling question: how many times does a chosen day of the week, such as every Saturday, fall between two dates. It's useful for anyone counting recurring weekly events, like class sessions, trash pickup days, or pay periods, across a date range that doesn't divide evenly by seven.

How It Works

You choose a start date, an end date, and a target day of the week from Sunday through Saturday. The calculator steps through every single calendar day from the start date to the end date, inclusive, checking each one's day of the week and incrementing a counter whenever it matches your chosen weekday. This day-by-day approach returns the exact figure rather than an estimate, which matters because dividing the total number of days by seven only ever gives an approximation.

Occurrences = count of days d, for start <= d <= end, where d.getDay() equals the selected target weekday index (0 = Sunday through 6 = Saturday).

Examples

Saturdays in a Full Year

Counting Saturdays from January 1, 2026 through December 31, 2026, a 365-day year that begins on a Thursday, returns 52 occurrences, since only Thursday (the weekday January 1 falls on) occurs 53 times that year.

Fridays in a Single Month

Counting Fridays from June 1, 2026 (a Monday) through June 30, 2026 returns 4 occurrences, landing on June 5, 12, 19, and 26.

Advantages

  • Gives an exact count rather than an estimate, which matters for scheduling tasks where being off by one day is a real problem.
  • Works across any date range, from a single month to multiple years, without manual counting on a calendar.
  • Handles ranges that don't align evenly with a 7-day week automatically, without requiring the user to adjust for remainder days.

Common Mistakes

  • Estimating the count by dividing total days by 7 and rounding, which can be off by one depending on the range's start and end weekdays.
  • Forgetting that the count includes both the start and end date, which can cause a mismatch when manually cross-checking against a paper calendar.
  • Entering an end date earlier than the start date, which the calculator flags as an error rather than silently returning zero or a negative count.

Edge Cases to Watch For

  • If the end date is before the start date, or either date is invalid, the calculator returns an error instead of a count.
  • The count is inclusive of both the start and end date, so if the start date itself falls on the target weekday, it counts as one occurrence.
  • A simple total-days-divided-by-seven shortcut can be off by one compared to this exact day-by-day count, depending on which weekdays the chosen range happens to start and end on.

Common Use Cases

  • Payroll or scheduling staff counting how many shift days of a given weekday fall within a pay period.
  • Teachers and administrators counting class sessions that meet on a specific weekday across a semester.
  • Event planners or facilities staff tracking recurring weekly services, like trash pickup or deliveries, across a custom date range.
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

Why isn't this just the total days divided by 7?

Simply dividing by 7 gives a good approximation but can be off by one depending on exactly which weekday the range starts and ends on - counting each day precisely (as this calculator does) always gives the exact answer, which matters for tasks like scheduling recurring weekly events or payroll periods that depend on an exact count.

Conclusion

The Specific Weekday Count Between Dates calculator replaces manual calendar counting or rough division with an exact, day-by-day tally. It's a small but precise tool for anyone whose scheduling depends on knowing exactly how many Mondays, Fridays, or any other weekday fall within a set window.