By Iqbal Hussain, Founder and calculator developer · Formulas checked against worked examples · Last updated
Hours by Pay Period Calculator
Split sessions across payroll period boundaries.
How Hours by Pay Period Calculator Works?
The Hours by Pay Period Calculator works by assigning each session to a payroll period using the period boundaries and splitting any session that crosses a boundary.
- 1
Set period boundaries
Enter the period type and first start date, for example biweekly from January 6.
- 2
Paste sessions
Paste dated sessions for the date range.
- 3
Read period totals
Each pay period shows its hours; a shift crossing the cutoff splits at midnight.
Hours by Pay Period Calculator Formula
The Hours by Pay Period formula is Hours(period) = Σ session hours falling between Period Start and Period End.
- P_start, P_end: payroll period boundaries.
- Sᵢ, Eᵢ: session start and end.
Example: a shift from 20:00 on the last day of Period 1 to 06:00 on the first day of Period 2 adds 4 hours to Period 1 and 6 hours to Period 2.
Hours by Pay Period Calculator Conversion Table
The Hours by Pay Period conversion table lists 4 biweekly periods with hours and day counts.
| Period | Dates | Workdays | Hours |
|---|---|---|---|
| 1 | Jan 6 – Jan 19 | 10 | 80.0 |
| 2 | Jan 20 – Feb 2 | 10 | 78.5 |
| 3 | Feb 3 – Feb 16 | 10 | 84.0 |
| 4 | Feb 17 – Mar 2 | 9 | 72.0 |
| Total | 39 | 314.5 |
What is Hours by Pay Period Calculator?
The Hours by Pay Period Calculator is an allocation tool that splits recorded sessions across payroll period boundaries.
Shifts that cross a period cutoff belong to 2 periods. The Hours by Pay Period Calculator splits those shifts at the boundary, so each period’s hours match the dates it covers.
What are the uses of Hours by Pay Period Calculator?
There are 5 main uses of the Hours by Pay Period Calculator, including payroll cutoffs, period reports, and back-pay checks.
-
Payroll cutoffs
Payroll staff split a night shift across a period cutoff.
-
Period reports
HR teams report hours per biweekly period.
-
Back-pay checks
Employees check which period a shift was paid in.
-
System migrations
Admins rebuild period totals from raw sessions.
-
Contractor billing
Contractors split hours by monthly billing periods.
Hours by Pay Period Calculator FAQ
How do I use the Hours by Pay Period Calculator?
1. Set period boundaries: Enter the period type and first start date, for example biweekly from January 6. 2. Paste sessions: Paste dated sessions for the date range. 3. Read period totals: Each pay period shows its hours; a shift crossing the cutoff splits at midnight.
What formula does the Hours by Pay Period Calculator use?
The Hours by Pay Period formula is Hours(period) = Σ session hours falling between Period Start and Period End. In short: Hours(p) = Σᵢ max(0, min(Eᵢ, P_end) − max(Sᵢ, P_start)).
Can you show a worked example?
a shift from 20:00 on the last day of Period 1 to 06:00 on the first day of Period 2 adds 4 hours to Period 1 and 6 hours to Period 2.