Work Hours Calculator
Professional-grade time card calculator with overtime logic, night shift support, and instant payroll estimation. Export timesheets to CSV without login.
About
Time theft and manual calculation errors cost the global economy billions annually. For freelancers, consultants, and hourly employees, the difference between a rough estimate and a precise calculation can mean hundreds of dollars in lost revenue per month. This Work Hours Calculator is an industrial-strength utility designed to bridge the gap between simple clock-watching and professional payroll processing. It eliminates the ambiguity of manual time arithmetic, specifically addressing the pain points of sexagesimal conversion (minutes to decimals) and midnight crossover (shifts spanning two calendar days).
Unlike basic counters, this tool implements a Double-Ledger Logic. It simultaneously tracks physical time duration for health/compliance (fatigue management) and billable financial value for invoicing. It creates an audit trail for your week, allowing you to reconcile worked hours against billed hours instantly. The system creates a persistent local state, meaning your data remains secure on your device without requiring server-side storage or user accounts, ensuring 100% privacy for sensitive wage data.
Formulas
The core engine uses a 24-hour modulus arithmetic system to handle shift continuity. The Gross Duration (Dgross) is calculated first.
Net Billable Hours (Hnet) are derived by subtracting unpaid break intervals (B). The system converts minutes to floating-point hours:
Total Revenue (R) applies the Overtime Multiplier (M) to hours exceeding the statutory limit (L).
Reference Data
| Minute Segment | Decimal Equivalent (h) | Standard Efficiency Impact | Billing Practice (Round Up) |
|---|---|---|---|
| 1 - 5 min | 0.02 - 0.08 | Micro-task / Email | IGNORE or 0.25 |
| 6 - 12 min | 0.10 - 0.20 | Short Call / Triage | 0.25 |
| 15 min | 0.25 | Standard Unit | 0.25 |
| 20 min | 0.33 | Pomodoro Cycle | 0.50 |
| 30 min | 0.50 | Meeting Slot | 0.50 |
| 45 min | 0.75 | Deep Work Session | 0.75 / 1.00 |
| 60 min | 1.00 | Hourly Rate Base | 1.00 |
| 90 min | 1.50 | Ultradian Rhythm Limit | 1.50 |