Work Hours Calculator
Hours for one shift
Hours worked
- Decimal hours
- h
- Beyond 8 h
- Shift
Hours per week
Weekly totalh
- Beyond 40 h
- h
- Monthly average
- h
Pay for hours worked
Pay
- Total hours
- h
Your inputs are saved in the address. Bookmark the page (Ctrl+D) to come back to them.
Hours worked in a shift are clock-out time minus clock-in time minus the break. For example, clocking in at 09:00 and out at 17:30 with a 30-minute break gives 8:00 of work (8 hours). This page works out the hours for one shift, including a night shift that ends after midnight, totals a working week and turns hours into pay at an hourly rate.
Results are shown both as h:mm (8:30) and as decimal hours (8.5), ready for a timesheet or spreadsheet. Your inputs are saved in the page address, so you can bookmark or share them.
How it works
Hours worked in a shift are (clock-out − clock-in) − break. Times are converted to minutes after midnight; if the clock-out time is earlier than the clock-in time, the shift is taken to end the next day and 24 hours (1,440 minutes) are added. A night shift from 22:00 to 07:00 with a 45-minute break is 540 − 45 = 495 minutes, or 8 hours 15 minutes. A break longer than the whole shift is flagged as an error.
"Beyond 8 h" is the part of the shift above 8 hours, and "Beyond 40 h" the part of the week above 40 hours. Both are simple subtractions, not a legal judgement on whether the time is overtime.
The weekly total is days per week × hours per day. The monthly average multiplies it by the average number of weeks in a month, 365 ÷ 12 ÷ 7 ≈ 4.345, so a 40-hour week is about 173.81 hours a month. This counts hours actually worked; paid holidays or other hours that some payroll systems add on top are not included.
Pay is hourly pay × (hours + minutes ÷ 60). Eight and a half hours at 15.00 an hour is 15 × 8.5 = 127.50. This is base pay only: no overtime or night premiums, no paid-holiday allowance and no tax or insurance deductions. Rounding to cents happens only on screen.
Worked examples
- Hours for one shift
Clocking in at 09:00 and out at 17:30 with a 30-minute break gives 8:00 of work (8 hours), of which 0:00 is beyond 8 hours; shift type: same day. - Hours for one shift
Clocking in at 08:30 and out at 20:15 with a 60-minute break gives 10:45 of work (10.75 hours), of which 2:45 is beyond 8 hours; shift type: same day. - Hours for one shift
Clocking in at 22:00 and out at 07:00 with a 45-minute break gives 8:15 of work (8.25 hours), of which 0:15 is beyond 8 hours; shift type: past midnight. - Hours per week
Working 5 days a week at 9 hours a day is 45 hours a week, 5 hours beyond 40, or about 195.54 hours in an average month. - Pay for hours worked
At 15 an hour, 8 h 30 min (8.5 hours) of work pays 127.50.
Reference table
| Clock in \ Clock out | 16:00 | 17:00 | 17:30 | 18:00 | 19:00 | 20:00 |
|---|---|---|---|---|---|---|
| 07:00 | 8:00 | 9:00 | 9:30 | 10:00 | 11:00 | 12:00 |
| 08:00 | 7:00 | 8:00 | 8:30 | 9:00 | 10:00 | 11:00 |
| 08:30 | 6:30 | 7:30 | 8:00 | 8:30 | 9:30 | 10:30 |
| 09:00 | 6:00 | 7:00 | 7:30 | 8:00 | 9:00 | 10:00 |
| 10:00 | 5:00 | 6:00 | 6:30 | 7:00 | 8:00 | 9:00 |
Reference table
| Hours per day \ Days per week | 3 | 4 | 5 | 6 |
|---|---|---|---|---|
| 4 | 12 | 16 | 20 | 24 |
| 6 | 18 | 24 | 30 | 36 |
| 7 | 21 | 28 | 35 | 42 |
| 8 | 24 | 32 | 40 | 48 |
| 9 | 27 | 36 | 45 | 54 |
| 10 | 30 | 40 | 50 | 60 |
FAQ
Does a lunch break count as working time?
The calculator subtracts whatever break you enter; it does not decide which time counts as work. Enter the break your contract or workplace rules set out, for example 60 for an hour-long lunch.
How do I enter a shift that ends after midnight?
Enter the clock-in and clock-out times as they are. When the clock-out time is earlier, the calculator assumes it is the next day and shows "past midnight". For example, 22:00 to 07:00 with a 45-minute break is 8 hours 15 minutes.
What does "Beyond 8 h" show?
It is hours worked minus 8 hours, in h:mm, or 0:00 for a shift of 8 hours or less. For example, 08:30 to 20:15 with a 60-minute break is 10:45 worked, so "Beyond 8 h" is 2:45. It is a simple count, not a ruling on whether the time is overtime.
Where does 173.81 hours a month come from?
It is a 40-hour week times the average month of about 4.345 weeks (365 ÷ 12 ÷ 7). It averages hours actually worked; a payroll figure for monthly hours may add paid holiday time and differ from it.
Does the pay include overtime premiums?
No. Pay here is hourly pay × hours, the base amount only. Premiums, holiday allowances, tax and insurance deductions are not included, so check your pay stub for the amount actually paid.
How do I turn hours and minutes into decimal hours?
Divide the minutes by 60 and add them to the hours: 8 h 15 min is 8.25, 8 h 30 min is 8.5 and 8 h 45 min is 8.75. The shift result shows this figure as "Decimal hours".