Formulas, Rounding Rules & Accuracy Verification
Exact equations used across all five payroll and time-tracking tools on this website.
1. Shift Duration & Midnight Wrap
Timestamps entered in HH:MM format convert to integer minutes since midnight (0–1439). If a clock-out timestamp is earlier than clock-in (for example, 22:00 to 06:30), 1,440 minutes (24 hours) are added automatically so overnight shifts calculate seamlessly. Unpaid break minutes are subtracted and floored at 0.
2. US FLSA 7-Minute Rounding (29 CFR § 785.48)
When quarter-hour rounding is enabled, total minutes modulo 15 determines rounding direction: remainder 0–7 rounds down to the lower 15-minute mark; remainder 8–14 rounds up to the next 15-minute mark.
3. Weekly vs. California Daily Overtime Allocation
- Weekly FLSA Rule: Hours are chunked per 7-day workweek (Week 1 and Week 2 separately on biweekly schedules). Minutes above
40 × 60(or your custom weekly threshold) earn the selected overtime multiplier (1.5xor2.0x). - California Daily Rule: Each daily shift independently assigns up to
8hours to straight time (1.0x), hours>8up to12to overtime (1.5x), and hours>12to double-time (2.0x). If weekly straight-time hours exceed40, excess regular hours convert to1.5xwithout double-counting hours already paid at daily OT.
4. Pro-Rata Salary & Statutory Leave
Annual Pro-Rata Pay = Full-Time Salary × (Your Hours ÷ Full-Time Hours). Partial-year amounts multiply by Inclusive Calendar Days ÷ 365 (or 366 when specified).