What This Calculator Does
The Work Hours Calculator with Lunch Break tells you exactly how many hours you actually worked in a shift. Many time clocks record only when you start and finish, leaving you to subtract your unpaid lunch by hand. This tool does the math instantly: it finds the elapsed time between your clock-in and clock-out, then removes the minutes you spent on break.
How to Use It
Enter your clock-in time and clock-out time using the 24-hour or AM/PM time pickers, then type how many minutes your lunch break lasted. The result shows your net paid hours both as a decimal (handy for timesheets and payroll) and in hours-and-minutes format. If your shift crosses midnight — for example a clock-in at 22:00 and clock-out at 06:00 — the calculator automatically rolls over to the next day.
The Formula Explained
The core equation is $$\text{Worked} = \left(\text{Clock Out} - \text{Clock In}\right) - \text{Break}$$ Each time is first converted to minutes since midnight. The difference gives the total span on the clock. Subtracting the break minutes leaves the net worked minutes, which is then divided by 60 to express the answer in hours.
Worked Example
Suppose you clock in at 09:00 and clock out at 17:30 with a 30-minute lunch. The span is 8 hours 30 minutes (510 minutes). Subtract the 30-minute break to get 480 minutes, or exactly 8.00 hours of paid work.
$$\text{Worked Hours} = \frac{\left(510 - 30\right)}{60} = \frac{480}{60} = 8.00 \text{ hours}$$
Minutes to Decimal Hours Conversion Table
Payroll systems and timesheets often use decimal hours instead of hours and minutes. To convert minutes to decimal hours, divide by 60 and round to two decimals:
$$\text{Decimal hours} = \frac{\text{minutes}}{60}$$
| Minutes | Calculation | Decimal hours |
|---|---|---|
| 5 | 5 ÷ 60 = 0.0833… | 0.08 |
| 6 | 6 ÷ 60 | 0.10 |
| 10 | 10 ÷ 60 = 0.1666… | 0.17 |
| 15 | 15 ÷ 60 | 0.25 |
| 20 | 20 ÷ 60 = 0.3333… | 0.33 |
| 30 | 30 ÷ 60 | 0.50 |
| 40 | 40 ÷ 60 = 0.6666… | 0.67 |
| 45 | 45 ÷ 60 | 0.75 |
| 50 | 50 ÷ 60 = 0.8333… | 0.83 |
| 60 | 60 ÷ 60 | 1.00 |
Rounding to two decimals means values such as 10, 20, 40 and 50 minutes are slightly approximate. Over many shifts, small rounding differences can add up, so check how your employer rounds time.
Shift Scenarios Compared
Net hours = (clock-out − clock-in) − unpaid break. If the clock-out time is earlier than the clock-in time, the shift is treated as overnight and crosses midnight.
| Clock in | Clock out | Unpaid break | Gross time | Net hours (decimal) | Net hours (h:mm) |
|---|---|---|---|---|---|
| 08:00 | 17:00 | 60 min | 9:00 | 8.00 | 8:00 |
| 22:00 | 06:00 (next day) | 30 min | 8:00 | 7.50 | 7:30 |
| 06:00 | 14:30 | 0 min | 8:30 | 8.50 | 8:30 |
| 08:30 | 16:45 | 30 min | 8:15 | 7.75 | 7:45 |
Worked example (overnight): 22:00 to 06:00 is 8 hours, or 480 minutes. Subtracting the break gives \(\frac{480 - 30}{60} = \frac{450}{60} = 7.5\) hours, which is 7:30.
Note that a shift with a longer span can still produce fewer paid hours if the unpaid break is longer, so always compare net hours rather than clock times.
FAQ
Does it handle overnight shifts? Yes. If the clock-out time is earlier than the clock-in time, the calculator assumes the shift ran past midnight and adds 24 hours.
Should I include a paid break? Only enter break minutes that are unpaid and deducted from your hours. If your break is paid, enter 0.
Why show decimal hours? Payroll systems typically use decimal hours (8.5 instead of 8h 30m), so both formats are provided for convenience.