Hours worked calculator

Count the hours between a start and end time, minus breaks, including overnight shifts.

  • ๐Ÿ‡บ๐Ÿ‡ธ US federal & state rules

12-hour (5:30 PM) or 24-hour (17:30). An end time earlier than the start is read as the next day.

min
days
$/hr
Example

Hours worked per shift

8 hours

9:00 AM to 5:30 PM, minus 30 min break

Decimal
8

This is an example. Enter your numbers above and press the button to see your own result.

Minutes to decimal hours

15 minutes0.25
30 minutes0.5
45 minutes0.75
  • Overtime is not added here. Use the time card calculator for a full week with overtime.
Show the math
Clock time9:00 AM โ†’ 5:30 PM = 8 h 30 min
Minus break8 h 30 min โˆ’ 30 min = 8 h

What to do next

How it works

The calculator takes the time between start and end, subtracts the unpaid break, and shows the result in hours and minutes and as a decimal. Multiply by the number of shifts to get a weekly or pay-period total, and add a rate to see gross pay.

Things to keep in mind

This counts one kind of shift. If your days differ, the time card calculator takes each day separately and adds overtime after 40 hours.

Rounding rules vary by employer. Federal law allows rounding to the nearest quarter hour as long as it evens out over time, which is why a timesheet may show 8.25 where this page shows 8.17.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time, then take off any unpaid break. 9:00 AM to 5:30 PM is 8.5 hours, and 8 hours after a 30-minute lunch.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 15 minutes is 0.25, 30 minutes is 0.5 and 45 minutes is 0.75. Most payroll systems want the decimal form.

What about a shift that crosses midnight?

Enter the times as they are. If the end time is earlier than the start, the calculator treats it as the next day. 11 PM to 7 AM is 8 hours.

Is my meal break paid?

Under federal rules a meal break of 30 minutes or more is unpaid if you are fully relieved of duty. Short rest breaks of 5 to 20 minutes count as paid time and should not be subtracted.

Related tools