About the hours calculator
Enter when a shift starts and ends, subtract unpaid break minutes, and get the time worked as hours and minutes and as decimal hours, which payroll systems usually need. Times can be in 24-hour form (17:30) or 12-hour form with AM or PM.
If the end time is earlier than the start time, the shift is treated as an overnight shift that ends the next day. Set days worked to multiply a typical shift across a week or pay period and add an hourly rate to see pay.
Formula
- Shift = end − start (+24 h if the shift passes midnight)
- Net hours per day = shift − break
- Decimal hours = minutes ÷ 60
- Pay = total decimal hours × hourly rate
Example
A 09:00 to 17:30 shift with a 30 minute break is 8:00, or 8 decimal hours. Over 5 days that is 40 hours; at $20 per hour the pay is $800.00. A 22:00 to 06:15 shift with no break is 8:15, or 8.25 hours.