CalculatorBear
English

Hours Calculator

Work out hours worked between a start and end time, minus breaks, as hours:minutes and decimal hours, with optional pay.

Like 09:00, 17:30 or 9:30 PM.

An earlier end time means an overnight shift.

min

Multiplies the daily hours.

$

Leave at 0 to hide pay.

Total hours worked

40:00 (40 h)

Shift length
8:30
Break
30 min
Hours per day
8:00 (8 h)
Days worked
5
Total (hours:minutes)
40:00
Total (decimal hours)
40

Results are provided for general information only.

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.