Field guide
How to Calculate Hours Worked (2026): Formula, Breaks & Examples
Hours worked is the time on the clock minus unpaid breaks. Learn the formula, see three worked examples — a standard day, an overnight shift and a split shift — and find out which breaks count.
The short answer: hours worked in one line
Hours worked is the time from clock-in to clock-out minus any unpaid breaks. A 9:00 AM to 5:30 PM day is 8 hours 30 minutes on site; subtract a 30-minute unpaid lunch and you have 8 paid hours. That is the whole calculation — everything else is handling the details: overnight dates, split shifts, and which breaks actually get subtracted.
The formula, step by step
Convert the start and end clock times to minutes since midnight, subtract the start from the end, then subtract unpaid break minutes. Convert the result back: divide the total minutes by 60 for decimal hours, or split them into hours and remaining minutes. A shift from 9:00 AM (540 minutes) to 5:30 PM (1,050 minutes) is 510 minutes; minus a 30-minute unpaid lunch that is 480 minutes, or 8 hours exactly, or 8.00 decimal hours. Payroll systems use decimal hours, so 8 hours 30 minutes is 8.50, not 8.30.
Worked example: a standard 9-to-5 day
Start 9:00 AM, end 5:30 PM, one 30-minute unpaid lunch. Time on site is 8 hours 30 minutes. Subtract the 30-minute unpaid lunch for 8 paid hours — 480 minutes, 8.00 decimal hours. At $20 an hour, gross pay for the day is $160.00. If the lunch had been paid, the answer would be 8 hours 30 minutes of paid time instead: never subtract a paid break.
Worked example: an overnight shift
Start 10:00 PM on Monday, end 6:00 AM on Tuesday, one 30-minute unpaid break. The shift crosses midnight, so the end date matters: 10:00 PM to midnight is 2 hours, midnight to 6:00 AM is 6 hours, for 8 hours total. Subtract the 30-minute unpaid break for 7 hours 30 minutes — 450 minutes, or 7.50 decimal hours. Forgetting the end date is the most common overnight mistake: 10:00 PM to 6:00 AM read on one date looks like a negative shift.
Worked example: a split shift
Morning period 7:00 AM to 11:00 AM, afternoon period 2:00 PM to 6:00 PM. Each period is 4 hours, so the day totals 8 paid hours. The 3-hour gap between periods is unpaid time off the clock — it is already excluded, so do not subtract it again as a break. Calculate each period separately and add the paid totals together; the hours and minutes calculator on this site does the addition for you.
What does not count as hours worked
A bona fide meal break — usually 30 minutes or more, with the worker fully relieved of duties — does not count and is unpaid, so it is subtracted. Short rest breaks, roughly 5 to 20 minutes, count as hours worked and are paid: do not subtract them. Commuting to and from work does not count. Time spent waiting to start work can count if the worker is required to be on the premises. If your employer rounds clock times, the rounding must average out fairly over time — if every rounded punch lands in your employer's favour, keep your own record of actual clock times and compare it with your pay stub.
Frequently asked questions
How do I calculate my hours worked for one shift?
Take the end time minus the start time, then subtract unpaid break minutes. A 9:00 AM to 5:30 PM shift with a 30-minute unpaid lunch is 8 paid hours. Enter the times in the work hours calculator above and it does the subtraction for you, including overnight dates.
How do I convert hours worked to decimal hours?
Divide the total minutes by 60. 7 hours 30 minutes is 450 minutes, or 7.50 decimal hours. 8 hours 45 minutes is 8.75. Payroll systems use decimals, so 7.30 on a pay stub means 7 hours 18 minutes, not 7 hours 30 minutes.
Do unpaid lunch breaks count as hours worked?
No, if the break is a bona fide meal period — typically 30 minutes or more with the worker fully relieved of duties. Short rest breaks of about 5 to 20 minutes do count and are paid. If you work through lunch or are interrupted to work, that time counts.
How do I calculate hours worked across midnight?
Use the start date and the end date, not just the clock times. 10:00 PM Monday to 6:00 AM Tuesday is 8 hours; read on a single date it looks impossible. The overnight shift calculator takes both dates explicitly.
What if my employer rounds my clock times?
Rounding to the nearest 5 or 15 minutes is allowed only if it averages out fairly over time and does not systematically cut your hours. Keep your own record of actual clock times and compare it with your pay stub — if every rounded punch favours your employer, that is a red flag.
Open the Work Hours Calculator →
Related tools and guides
Clock-Out Calculator
Know when your paid target is complete.
Weekly Timecard
A week of work, neatly totaled.
Field guideHow to Calculate Hours After Unpaid Lunch
Step-by-step guide to calculate work hours after an unpaid lunch break. Separate time on site from paid time, with a worked example for U.S. hourly workers.
Read guide Field guideHow to Calculate an Overnight Shift
How to calculate overnight shift hours that cross midnight. Use explicit calendar dates to make overnight time unambiguous for U.S. hourly workers.
Read guideFound an issue? Contact the maintainer with the example and expected result. Please omit personal timecards.