ClockInMath
Hours & decimals · Updated

How to calculate hours worked

Out minus in, minus unpaid breaks. Add the days.

A 9:00 AM to 5:30 PM shift with a 30-minute unpaid break is 8:00 hours (8.00 decimal). If the out time is earlier than the in time, the shift crossed midnight: 10:00 PM to 6:00 AM with a 30-minute break is 7:30.

The steps

  1. Write each time as hours and minutes. Convert to 24-hour time if it helps (5:30 PM = 17:30).
  2. Subtract the in time from the out time. If the answer is negative, add 24 hours: the shift went past midnight.
  3. Subtract unpaid breaks (paid breaks stay in).
  4. Add the days. For payroll, convert to decimal by dividing the minutes by 60.
Minutes = out − in (add 24 h if out is earlier than in) Net minutes = minutes − unpaid break Decimal hours = net minutes ÷ 60

Worked examples

Hours worked examples
ShiftInOutBreakHoursDecimal
Standard day9:00 AM5:30 PM30 min8:008.00
Early start8:15 AM4:45 PM08:308.50
Overnight shift10:00 PM6:00 AM30 min7:307.50
Short day7:50 AM12:10 PM04:204.33

Split shifts

For a split shift, work out each in/out pair and add them. 7:00 AM to 11:30 AM plus 1:00 PM to 4:30 PM is 4:30 + 3:30 = 8:00. The time card calculator has a split-shift option that adds both pairs for you.

Common mistakes

  • AM/PM mix-ups: 9 to 5 is 8 hours, not 20. Type 9a and 5p to be sure.
  • Subtracting minutes like decimals: 8:15 minus 7:45 is 0:30, not 0.70.
  • Forgetting the break: unpaid lunch comes out of the total.

Not legal, tax or payroll advice. Rules depend on your state, job and whether you are exempt. Check with your employer or your state labor department.

FAQ

How do I calculate hours worked between two times?

Subtract the start time from the end time. If the end is earlier, add 24 hours. Then subtract any unpaid break.

How do I calculate hours for a shift that goes past midnight?

Add 24 hours to the end time before subtracting: 10:00 PM to 6:00 AM is 6 + 24 − 22 = 8 hours.

Do paid breaks count as hours worked?

Yes, paid breaks stay in your hours. Only unpaid breaks, such as an unpaid lunch, are subtracted.

Keep reading

More free tools