Work Hours Calculator

Hours for one shift

Hours per week

Pay for hours worked

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

Hours worked by clock-in and clock-out time (60-minute break)
Clock in \ Clock out16:0017:0017:3018:0019:0020:00
07:008:009:009:3010:0011:0012:00
08:007:008:008:309:0010:0011:00
08:306:307:308:008:309:3010:30
09:006:007:007:308:009:0010:00
10:005:006:006:307:008:009:00
Time between clock-in and clock-out minus a 60-minute break, in h:mm. For example, 09:00 to 18:00 is 8:00, or 8 hours.

Reference table

Weekly hours by hours per day and days per week
Hours per day \ Days per week3456
412162024
618243036
721283542
824324048
927364554
1030405060
Values are hours. For example, 8 hours a day for 5 days is 40 hours.

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".