How to Calculate Working Weeks Between Two Dates (And Why E No Simple Like E Look)

You get two dates and you need know how many working weeks dey between dem. E fit sound like five-second work. Divide the days by 7, maybe remove weekend — done.

But e no be so, because “working week” no be one correct meaning. Depending on wetin you dey calculate — notice period, project timeline, leave entitlement, contract duration — the correct method fit different, and if you use wrong one you fit miss am by some days wey fit matter legally or financially.

Wetin Be “Working Week” Self?

Most times, working week mean five days: Monday to Friday. But make you know some edge cases:

  • Some industries and countries dey use 6-day working week (Monday–Saturday)
  • Some roles get compressed 4-day working week
  • Middle East traditionally dey use Sunday–Thursday, though many countries don move to Monday–Friday
  • Part-time workers fit get working week of 2, 3, or 4 days

For the rest of this article, “working week” mean normal Monday–Friday, unless we talk otherwise. Once you know your own working days, you fit use the same idea for your case.

Method 1: Complete (Whole) Working Weeks

The simplest meaning: how many full Monday-to-Friday blocks fit between two dates?

Na wetin most people mean when dem ask “how many weeks’ notice be this?” 4-week notice period mean 4 full Monday–Friday blocks — 20 working days — no matter where the start date land for the week.

How to calculate:

1. Count total calendar days between the two dates 2. Remove weekends: every full 7-day block get 2 weekend days 3. Handle partial weeks for start and end

For real life, e dey easier make you count working days directly then divide by 5:

working_weeks = working_days / 5

where working_days be the count of Monday–Friday days between the two dates.

Example: April 7 (Monday) to May 2 (Friday)

  • Calendar days: 25
  • Weekends inside: 4 Saturdays + 4 Sundays = 8 days
  • Working days: 25 − 8 = 17... wait, e no correct.

Correct way: count Monday to Friday inclusive:

  • Week 1: Apr 7–11 (5 days)
  • Week 2: Apr 14–18 (5 days)
  • Week 3: Apr 21–25 (5 days)
  • Week 4: Apr 28–May 2 (5 days)

Total: 20 working days = 4 working weeks exactly.

Because the example start Monday and end Friday, e clean. If you start or end mid-week, you go get fraction, and na there Method 2 enter.

Method 2: Working Days Divide by 5

For plenty practical things — project planning, timeline estimate, capacity calculation — you no need only “whole weeks.” You need working days, then you express am as weeks and days.

Formula:

total_working_days = (full_weeks × 5) + working_days_in_partial_week
weeks = floor(total_working_days / 5)
remaining_days = total_working_days mod 5

Example: March 18 (Wednesday) to April 11 (Friday)

Count working days:

  • Mar 18 (Wed) to Mar 21 (Fri): 4 days
  • Mar 24–28: 5 days
  • Mar 31–Apr 4: 5 days
  • Apr 7–11: 5 days

Total: 19 working days = 3 weeks and 4 days.

This method correct for project timelines when you dey plan with capacity in days, not calendar weeks.

Method 3: ISO Week Span

Sometimes “how many weeks between” mean: wetin be the difference for ISO week numbers?

Example: An event run from ISO Week 10 to ISO Week 23. That na 13 ISO weeks duration.

The calculation:

week_span = (end_iso_year × 52.18) + end_iso_week − (start_iso_year × 52.18) + start_iso_week

For dates inside the same year:

week_span = end_iso_week − start_iso_week

If date cross year boundary, you need account if the start year get 52 or 53 weeks:

week_span = (52_or_53_for_start_year − start_iso_week) + end_iso_week

This method matter for broadcast scheduling, retail planning, and any system wey dey organize work by ISO week number instead of working days.

The Inclusivity Wahala (Start/End Date)

One common place wey people dey make mistake: whether to count start date, end date, both, or neither.

“4-week notice period starting today” fit mean:

  • 4 weeks from today, where today na day 1 (inclusive start): e end for same weekday, 4 weeks later
  • 4 weeks after today (exclusive start): e end one day later than the one above

Employment law for many countries dey spell am out. UK employment law dey count notice from the day after you give notice. For US, e dey vary by contract.

The difference na one day. For most cases e no matter. For employment dispute or contract termination, e fit matter.

Safe convention: always write “X working weeks from [date], inclusive/exclusive.” No leave am vague.

Public Holidays: The One Everybody Dey Forget

If your working week calculation no remove public holidays, by definition e wrong — e go overcount the working time.

The hard part: public holidays no be standard. E dey change by:

  • Country (Christmas na Dec 25 for UK; e no be public holiday for Japan)
  • Region inside country (US states get different holidays; England and Scotland get different bank holidays)
  • Year (moveable feasts like Easter dey change date every year)
  • Contract (some jobs get extra holidays; some public sector workers observe different dates)

For rough estimate — “na about 6 working weeks” — you fit ignore holidays. For accurate work — contract deadlines, notice periods, legal timeframes — you must subtract the correct public holidays.

No calculator fit do am automatically unless e know your country/region and the year. The days between dates calculator fit give you working days excluding weekends; you go subtract your local public holidays manually.

One useful approximation for UK: about 8 bank holidays per year, around 1.6 per month. For 3 months, na about 5 holidays to subtract. For US federal holidays: 11 per year, around 0.9 per month.

Notice Period: How the Math Really Dey Work

Employment contracts dey talk notice periods as weeks or months. When you convert am to working days, na there mistake dey happen plenty.

“4 weeks’ notice” mean 4 calendar weeks (28 days), no be 4 × 5 = 20 working days. If you give notice on Tuesday, e run for 28 calendar days — weekends dey inside. The last day of the notice period na Tuesday 4 weeks later.

This dey surprise people because dem think “4 weeks” mean 20 working days. E no mean that — e mean 28 calendar days, and weekends still count as notice period even though you no work them.

“1 month’s notice” self no too precise. One month from January 15 na February 15. One month from January 31 na February 28 (or 29 for leap year). The calendar days fit be 28 to 31. The working days inside that month fit be 20 to 23.

Working weeks vs calendar weeks for contract:

If contract talk “4 working weeks’ notice,” that mean 20 working days — Monday to Friday only. Weekends no count. For that case, notice wey start Tuesday go run 20 working days, and e fit end several calendar weeks later depending on how many weekends fall inside.

Always check whether your contract say “weeks” or “working weeks.” The difference fit be 8–10 days for normal notice period.

Project Timelines: Weeks of Effort vs Calendar Weeks

For project management, “3 weeks of work” and “3 calendar weeks” no be the same thing.

3 weeks of effort at full capacity = 15 person-working-days. If task na 3 weeks of effort for one person full time, e take 3 calendar weeks. If two people share am, e take 1.5 calendar weeks. If one person dey 50% capacity, e take 6 calendar weeks.

3 calendar weeks = 15 working days if no holidays, everybody full time, and no context-switch overhead.

This difference matter when you dey plan delivery dates. If you tell stakeholder say feature go take “3 weeks” but you mean working weeks at 80% capacity plus one holiday inside, the calendar end date go different from wetin dem imagine.

When you dey quote timeline:

  • Talk working days, no be weeks, for tasks wey shorter than one month
  • Add the calendar end date as sanity check
  • Mention any holidays inside the window

How to Calculate Working Weeks for Code

Python:

from datetime import date, timedelta

def working_days(start: date, end: date) -> int:
    total = 0
    current = start
    while current <= end:
        if current.weekday() < 5:  # 0=Mon, 4=Fri
            total += 1
        current += timedelta(days=1)
    return total

def working_weeks(start: date, end: date) -> float:
    return working_days(start, end) / 5

# Example
start = date(2026, 4, 7)
end = date(2026, 5, 2)
print(working_days(start, end))   # 20
print(working_weeks(start, end))  # 4.0

For big date ranges, faster method fit use modular arithmetic so you no loop:

def working_days_fast(start: date, end: date) -> int:
    days = (end - start).days + 1
    full_weeks, remainder = divmod(days, 7)
    working = full_weeks * 5
    # Count working days in the partial week
    start_dow = start.weekday()  # 0=Mon
    for i in range(remainder):
        if (start_dow + i) % 7 < 5:
            working += 1
    return working

JavaScript:

function workingDays(start, end) {
  let count = 0
  const current = new Date(start)
  while (current <= end) {
    const day = current.getDay()
    if (day !== 0 && day !== 6) count++  // 0=Sun, 6=Sat
    current.setDate(current.getDate() + 1)
  }
  return count
}

function workingWeeks(start, end) {
  return workingDays(start, end) / 5
}

SQL (PostgreSQL):

-- Working days between two dates (excluding weekends)
SELECT
  (EXTRACT(DOW FROM end_date) - EXTRACT(DOW FROM start_date))::int +
  ((end_date - start_date) / 7) * 5 +
  CASE WHEN EXTRACT(DOW FROM start_date) = 0 THEN 1 ELSE 0 END +
  CASE WHEN EXTRACT(DOW FROM end_date) = 6 THEN -1 ELSE 0 END
AS working_days
FROM (SELECT DATE '2026-04-07' AS start_date, DATE '2026-05-02' AS end_date) t;

Quick Reference

Wetin you wantMethod
Notice period durationCalendar days (weekends count)
Project working capacityWorking days (Mon–Fri), divide by 5 for weeks
Broadcast/retail planningISO week span
Leave entitlementWorking days, subtract public holidays
Contract deadlinesCalendar days unless contract say “working days”

The days between dates calculator dey show both calendar days and working days for any date range — e good as starting point before you adjust for public holidays for your area.

Related articles