Hours Calculator — Shift Length, Breaks & Decimal Hours
Why payroll wants decimal hours
A shift from 9:00 to 17:30 is eight and a half hours on the clock — but after a 45-minute unpaid meal break you worked 7 hours 45 minutes, and that is where timesheets get awkward. Pay is hours × rate, and you cannot multiply "7:45" by $20 an hour. Converted to decimal hours — minutes divided by 60 — the same shift is 7.75 hours, and 7.75 × $20 = $155 exactly. Five such shifts make a 38.75-hour week and $775 before deductions. Almost every dispute about "missing" pay on a payslip turns out to be this conversion done wrongly somewhere: 7:45 entered as 7.45 hours instead of 7.75 quietly removes 18 minutes of pay per shift, over 23 hours across a year of five-day weeks. The result above always shows both forms side by side so you can check your payslip against either.
Overnight shifts are the second classic trap. A night worker starting at 22:00 and finishing at 06:00 has worked 8 hours, but naive subtraction gives −16. The rule this calculator applies: if the end time is earlier than the start time, the shift crosses midnight and 24 hours are added before subtracting. The 30-minute break on that night shift leaves 7.5 paid hours. The same logic handles shifts that start before midnight and end after, in either direction, with no date fields to fill in.
Breaks are entered as a single unpaid total. If you take a 30-minute lunch and two paid 10-minute rest breaks, enter 30 — paid breaks stay in. If your meal break is unpaid, enter its full length. Where the law or your contract sets a minimum break for a shift of a given length, the unpaid amount is normally that meal break; when in doubt, calculate both ways and compare with your payslip.
Worked examples
The standard office day. 9:00 → 17:30 with a 45-minute break: 8 h 30 min on site, minus 0:45 = 7 h 45 min = 7.75 hours. Five days a week = 38.75 hours; at $20/hour, $155 a day and $775 a week.
The night shift. 22:00 → 06:00 with a 30-minute break: 8 hours across midnight, minus 0:30 = 7 h 30 min = 7.5 hours.
The awkward finish. 8:10 → 16:30 with a 20-minute break: 8 h 20 min minus 0:20 = 8 hours exactly = 8.00 decimal — a reminder that round results do happen, and that 8 h 20 min on its own would be 8.33, not 8.20.
Minutes to decimal hours — the timesheet table
| Minutes | Decimal | Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|---|---|
| 5 | 0.08 | 25 | 0.42 | 45 | 0.75 |
| 10 | 0.17 | 30 | 0.50 | 50 | 0.83 |
| 15 | 0.25 | 35 | 0.58 | 55 | 0.92 |
| 20 | 0.33 | 40 | 0.67 | 60 | 1.00 |
Notice the pattern: only multiples of 15 minutes give tidy decimals (0.25, 0.50, 0.75), which is exactly why so many employers round clock times to the nearest quarter hour — and why a 6-minute (0.1 hour) rounding grid is the other common system. Neutral rounding, applied the same way to start and finish times, averages out; rounding that always favours one side does not, and the exact decimal shown here lets you spot the difference on your own record.
Common shift patterns and what they really total
The pattern printed on a rota is rarely the number that reaches payroll. A "9-to-5" with an unpaid hour for lunch is a 7-hour paid day, not 8 — 35 hours a week, which is why two colleagues on the same-looking pattern can have different contracted hours. Compressed patterns hide the same trap in reverse: four 10-hour shifts with a 30-minute unpaid break are 9.5 paid hours a day, 38 a week, not 40. Rotating rosters — two days, two nights, four off — average out over the cycle rather than the week: a 12-hour shift with an hour of unpaid breaks is 11 paid hours, and the famous "four on, four off" averages 42 paid hours a week across the eight-week cycle once breaks are removed. If your contract states an annual hours figure, the honest way to check it is shift by shift with breaks removed, exactly as above, multiplied across the roster cycle — not by the headline pattern. Where a shift runs into a public holiday or a rest day, entitlements differ by contract and country; the time arithmetic stays the same, only the rate changes.
Frequently asked questions
How do I convert minutes to decimal hours for payroll?
Divide the minutes by 60. 45 minutes is 0.75 hours, 20 minutes is 0.33, 7 hours 45 minutes is 7.75. Payroll systems need decimals because pay is hours × rate — you cannot multiply a clock time like 7:45 by $20, but 7.75 × $20 = $155 works. The conversion table on this page covers every 5 minutes.
How are overnight shifts calculated?
If the end time is earlier than the start time, the shift is treated as running past midnight into the next day: 22:00 to 06:00 is 8 hours, not minus 16. This calculator does that automatically — enter the times exactly as they appear on the rota, then subtract any unpaid break.
Should breaks be paid or unpaid?
It depends on your contract and local law. Short rest breaks (around 20 minutes or less) are paid in many workplaces and under some laws; meal breaks of 30 minutes or more are commonly unpaid. This calculator subtracts whatever break length you enter — set it to 0 if your breaks are paid, or to your meal-break length if they are not.
What is the "round to the nearest 6 minutes" rule?
Many timesheet systems round clock times to the nearest tenth of an hour (0.1 h = 6 minutes) or quarter hour (0.25 h = 15 minutes) because those decimals are clean. Rounding must be neutral — sometimes up, sometimes down — and consistently applied. The calculator shows your exact decimal hours so you can see the effect of any rounding your employer applies.
How do I work out my weekly hours from daily shifts?
Calculate one shift, then multiply by the days worked — the calculator does this with the "days per week" field. Five shifts of 7.75 hours give 38.75 hours a week. If your shifts vary by day, calculate each day separately and add the decimal hours together.
Related tools
Conversion method last verified: 23 November 2026. Your times never leave your browser — everything is calculated on this page.