How to Calculate Work Hours
Learn how to calculate work hours from start time, end time, unpaid breaks, and overnight shifts.
The basic formula
Work hours are calculated by subtracting the start time from the end time, then subtracting any unpaid break time. The result can be written as hours and minutes for review or as decimal hours for payroll, invoices, and spreadsheets.
The key is to separate elapsed time from paid time. Elapsed time is the full span between clock-in and clock-out. Paid time is the part that remains after unpaid breaks are removed. If a break is paid, do not subtract it from the calculation.
- Work Hours = End Time - Start Time - Break Time
- Decimal Hours = Total Minutes / 60
Step-by-step method
First, convert the clock span into minutes. A 9:00 AM to 5:30 PM shift covers 8 hours and 30 minutes, or 510 minutes. Second, subtract the unpaid break. If lunch is 30 unpaid minutes, the paid total becomes 480 minutes.
Third, convert the final minutes back into the format you need. 480 minutes is 8 hours, or 8.00 decimal hours. If the result was 525 minutes, it would be 8 hours and 45 minutes, or 8.75 decimal hours.
- Find elapsed minutes.
- Subtract unpaid breaks.
- Convert the remaining minutes into hours and decimal hours.
Complete example
A worker clocks in at 8:15 AM and clocks out at 5:45 PM. The elapsed shift is 9 hours and 30 minutes. The worker takes a 45 minute unpaid lunch. Subtracting 45 minutes leaves 8 hours and 45 minutes of paid work time.
For payroll or billing, convert 8 hours and 45 minutes into decimal hours. The 45 minute portion is 45 divided by 60, which equals 0.75. Add that to the 8 full hours and the result is 8.75 decimal hours. At $22 per hour, the gross pay estimate would be 8.75 x $22 = $192.50.
How to handle overnight shifts
If the end time is earlier than the start time, treat the end time as the next day. For example, a shift from 10:00 PM to 6:30 AM crosses midnight and has 8 hours and 30 minutes of elapsed time before breaks.
Overnight shifts are easy to misread on paper because both times may appear on the same line. Add a note such as "next day" beside the clock-out time when reviewing manual records. That makes the calculation easier for someone else to audit.
Common mistakes
Most work-hour errors come from missed breaks, AM/PM confusion, overnight shifts, or decimal conversion mistakes. Another common issue is rounding too early. If you round every small entry before adding the total, the final weekly number may drift from the exact total.
Calculate exact time first, then apply any required rounding policy consistently. TimesheetKit does not decide whether a rounding policy, break policy, or overtime rule is allowed. It only helps with the arithmetic.
- Do not write 7 hours 45 minutes as 7.45 hours.
- Do not subtract paid breaks as unpaid breaks.
- Do not assume every overtime threshold is the same.
When to use a calculator
Use the Work Hours Calculator when you have one shift or work block. Use the Time Card Calculator when you have several days and want a weekly total. Use the Decimal Hours Calculator when the start and end times are already calculated and you only need to convert hours and minutes.
For payroll review, keep the original time source visible. A calculator can make the math cleaner, but the source record still matters when a manager, client, or payroll processor asks where the numbers came from.
Quick audit checklist
Before using a work-hours total, ask five questions. Did the start and end times come from the correct day? Was any unpaid break removed exactly once? Was an overnight shift treated as crossing midnight? Were minutes converted using 60 minutes per hour? Is the final number being used only for math review, or does it need payroll policy review too?
This small audit is useful because work-hour mistakes often look minor until they are multiplied by an hourly rate or repeated across a full pay period. A five minute error every day can become a meaningful payroll or invoice difference over time. Keep the audit trail with the final total when the number is sent to someone else.
Related tools
Calculate total work hours from one or more shifts, including unpaid break time and overnight shifts.
Work Hours Hours CalculatorFind elapsed hours between two times and subtract optional break minutes.
Shifts Shift Length CalculatorCalculate shift length from start time, end time, and unpaid break minutes, including overnight shifts.
FAQ
What is 8 hours and 30 minutes in decimal hours?
It is 8.5 decimal hours.
Should paid breaks be subtracted?
No. Only subtract breaks that should be unpaid in your records.
How do I calculate hours when a shift crosses midnight?
Treat the clock-out time as the next day, then subtract any unpaid break minutes.
Should I calculate in minutes or hours?
Minutes are safer for the arithmetic. Convert the final total into hours or decimal hours after the calculation.