Advanced

Weekday Occurrence Counter

Find out exactly how many times a chosen weekday occurs in any date range, plus a full breakdown of every weekday.
Inclusive
Inclusive

Weekday

Pick one weekday or count all
Number of Monday
52

Inclusive of both start and end dates

Total days
365
Full weeks
52
Extra days
1
Sunday52
Monday52
Tuesday52
Wednesday52
Thursday53
Friday52
Saturday52
Step by step
  1. 1

    Total days in range

    ⌊(d2 − d1) ÷ 86,400,000⌋ + 1 = 365
  2. 2

    Full weeks

    ⌊365 ÷ 7⌋ = 52
  3. 3

    Remaining days

    365 mod 7 = 1
  4. 4

    Weekday offset from start day

    (1 − 4 + 7) mod 7 = 4
    JS weekday numbers: 0 = Sunday … 6 = Saturday. Offset is how far the chosen weekday is past the start weekday within the partial-week tail.
  5. 5

    Occurrences

    52 + 0 = 52
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

This tool counts how many times any weekday occurs between two dates, inclusively. It adds up the total days, gives each weekday a base of total divided by seven, then distributes the leftover days starting from the start date's weekday. You get the chosen weekday's count plus a breakdown of all seven weekdays.

Formula
count = floor(total / 7) + (1 if the weekday lands in the first (total mod 7) days from the start)
How this is calculated

Enter a start date and an end date (both inclusive) in YYYY-MM-DD form, then pick a single weekday or choose "All weekdays". The tool first computes the total number of days in the span as floor((end - start) / 86,400,000) + 1, counting both endpoints.

Every seven consecutive days contain exactly one of each weekday, so each weekday gets a base count of floor(total / 7). The leftover days, remainder = total mod 7, form a short run that begins on the start date's weekday and advances day by day. Each weekday falling inside that run receives one extra occurrence, which is why some weekdays can appear one more time than others.

Dates are parsed at UTC midnight to avoid daylight-saving and timezone shifts, so a whole-day difference is always exact. If the end date precedes the start date, or a date is malformed, no result is shown. The bar chart lists the count for all seven weekdays; the highlighted bar is your selected weekday.

Frequently asked questions

Yes. The range is inclusive, so a start and end on the same day counts as one day, and that day's weekday gets one occurrence.

Any range longer than a multiple of seven days has leftover days. Those extra days start on the start date's weekday, so the first few weekdays in that run get one additional count.

Use YYYY-MM-DD (for example 2026-12-31). Slashes and dots also work. Dates are interpreted at UTC midnight, so results are unaffected by timezones.

Also known as

how many mondays
count weekdays between dates
number of fridays
weekday counter
count days of week
how many sundays
count specific weekday
occurrences of weekday

APA

TG we-Calculate Editorial Team. (2026). Weekday Occurrence Counter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/weekday-occurrence-counter

Chicago

TG we-Calculate Editorial Team. "Weekday Occurrence Counter." TG we-Calculate. 2026. https://we-calculate.com/calculator/weekday-occurrence-counter.

IEEE

TG we-Calculate Editorial Team, "Weekday Occurrence Counter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/weekday-occurrence-counter

BibTeX

@misc{wecalculate_weekday_occurrence_counter, title = {Weekday Occurrence Counter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/weekday-occurrence-counter}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?