How the Count Hours Calculator works
This tool counts the time worked in a single shift from a clock-in time and a clock-out time, subtracts an unpaid break, and converts the result into decimal hours and pay. It follows the same logic used by paper timesheets and payroll time-card tools: elapsed clock time minus break time equals hours worked.
The formula
- Elapsed time = End time − Start time. If the end time is earlier on the clock than the start time (an overnight shift, like 22:00 to 06:00), 24 hours is added automatically.
- Hours worked = Elapsed time − Unpaid break.
- Decimal hours = Hours worked, expressed as minutes ÷ 60 (for example, 7 hours 30 minutes = 7.50).
- Regular pay = min(Decimal hours, Overtime threshold) × Hourly rate.
- Overtime pay = max(0, Decimal hours − Overtime threshold) × Hourly rate × 1.5.
- Gross pay = Regular pay + Overtime pay.
The overtime assumption
The default overtime threshold is 8 hours, a common daily-overtime rule used by some states and employers, paid at the standard 1.5× (time-and-a-half) rate required by the US Fair Labor Standards Act for hours beyond 40 in a workweek. Since this calculator evaluates a single shift, treat the 8-hour default as a placeholder — change the Overtime threshold field to match your actual employer policy or state law, or set it to a high number (like 24) to turn overtime off entirely.
Practical context
Use the decimal-hours result for payroll spreadsheets and timesheet software, which expect hours as a fraction rather than hours-and-minutes. For pay figures that affect an actual paycheck, confirm your employer's rounding rules and overtime policy, since some workplaces round punches to the nearest 5 or 15 minutes before totaling.