Skip to main content
Productivity & Tracking

Hours by Week Calculator

Allocate sessions to selected weekly boundaries.

By Iqbal Hussain, Founder and calculator developer · Formulas checked against worked examples · Last updated

Hours by Week Calculator

Allocate sessions to selected weekly boundaries.

Calculated Result
—
Adjust inputs above to calculate instantly.

How Hours by Week Calculator Works?

The Hours by Week Calculator works by assigning each session to a workweek based on a selected week start day and totaling hours per week.

  1. 1

    Select the week start

    Choose the first day of the workweek, for example Monday or Sunday.

  2. 2

    Paste sessions

    Paste dated sessions; sessions crossing the boundary split at midnight.

  3. 3

    Read weekly totals

    The calculator lists hours per week, for example Week 1 = 42 hours, Week 2 = 37.5 hours.

Hours by Week Calculator Formula

The Hours by Week formula is Hours(week) = Σ session hours falling between the week start and 7 days later.

Hours(w) = Σᵢ max(0, min(Eᵢ, W + 7d) − max(Sᵢ, W))
  • W: week start (00:00 on the chosen start day).
  • Sᵢ, Eᵢ: start and end of session i.

Example: a Sunday 20:00 to Monday 04:00 shift adds 4 hours to the week ending Sunday and 4 hours to the week starting Monday under a Monday week start.

Hours by Week Calculator Conversion Table

The Hours by Week conversion table shows the same 4-week data under 2 week start days.

WeekMonday StartSunday Start
Week 142.038.0
Week 237.541.5
Week 340.040.0
Week 444.044.0
Total163.5163.5

What is Hours by Week Calculator?

The Hours by Week Calculator is an allocation tool that groups sessions into weekly totals using the week start day you choose.

Weekly overtime depends on where the week starts: a Monday start and a Sunday start give different weekly totals for the same hours. The Hours by Week Calculator applies the selected boundary.

What are the uses of Hours by Week Calculator?

There are 5 main uses of the Hours by Week Calculator, including weekly overtime prep, weekly reports, and trend tracking.

  • Weekly overtime prep

    Payroll teams group hours by the official workweek.

  • Weekly reports

    Managers report hours per ISO week.

  • Trend tracking

    Individuals track weekly totals across a quarter.

  • Boundary checks

    HR teams test how a Sunday start changes weekly totals.

  • Client reports

    Agencies send weekly hour totals to clients.

Hours by Week Calculator FAQ

How do I use the Hours by Week Calculator?

1. Select the week start: Choose the first day of the workweek, for example Monday or Sunday. 2. Paste sessions: Paste dated sessions; sessions crossing the boundary split at midnight. 3. Read weekly totals: The calculator lists hours per week, for example Week 1 = 42 hours, Week 2 = 37.5 hours.

What formula does the Hours by Week Calculator use?

The Hours by Week formula is Hours(week) = Σ session hours falling between the week start and 7 days later. In short: Hours(w) = Σᵢ max(0, min(Eᵢ, W + 7d) − max(Sᵢ, W)).

Can you show a worked example?

a Sunday 20:00 to Monday 04:00 shift adds 4 hours to the week ending Sunday and 4 hours to the week starting Monday under a Monday week start.

Related Productivity & Tracking Tools

View All Calculators →