How to Calculate Hours Worked (With Breaks and Overtime)

A step-by-step guide to calculating employee hours worked from clock-in and clock-out times, including unpaid breaks, overnight shifts, decimal hours, and overtime.

· 2 min read

Calculating hours worked sounds simple until you have a stack of time cards, a few overnight shifts, and a payroll deadline tomorrow. This guide walks through the exact method — and the mistakes that cost small businesses money.

Step 1: Subtract the start time from the end time

Convert both times to a 24-hour clock, then subtract.

  • 9:00 to 17:30 → 8 hours 30 minutes
  • 6:45 to 14:15 → 7 hours 30 minutes

Overnight shifts: if the end time is earlier than the start time, the shift crossed midnight. Add 24 hours to the end time before subtracting. 22:00 to 06:00 becomes 22:00 to 30:00, which is 8 hours.

Step 2: Subtract unpaid breaks

Only subtract breaks that are unpaid under your policy and local rules. A 30-minute unpaid lunch turns 8 hours 30 minutes into 8 hours.

Short rest breaks are often paid. Check the rules where you operate before you deduct them.

Step 3: Convert to decimal hours

Payroll is calculated by multiplying hours by an hourly rate, so 7 hours 45 minutes must become 7.75. Divide the minutes by 60:

MinutesDecimal
150.25
300.50
450.75
200.33
400.67

Our free decimal hours converter has the full 1–60 minute chart.

Step 4: Add up the week and apply overtime

Add the daily totals. Then apply the overtime rule that applies to you — for example, many US employers pay 1.5× for hours over 40 in a workweek, and some states also have daily overtime. Rules vary by country and region, so confirm with your accountant or local labor authority.

A worked example

DayInOutBreakHours
Mon09:0017:30308.00
Tue09:0018:15308.75
Wed09:0017:30308.00
Thu09:0019:00309.50
Fri09:0017:30308.00

Total: 42.25 hours → 40 regular + 2.25 overtime (under a 40-hour weekly rule).

Want to skip the arithmetic? Paste your times into the free time card calculator — it handles breaks, overnight shifts, and overtime, and exports a CSV.

The common mistakes

  1. Rounding every punch in your head. Small rounding errors add up across a team and a year.
  2. Forgetting overnight shifts. A negative number of hours is a sign you missed one.
  3. Using 7.45 instead of 7.75. Minutes are not decimals.
  4. Reconstructing hours from memory. If a punch is missing, ask for a correction with a reason — and keep a record of it.

Let the time clock do it

A time clock app records every punch with a timestamp, subtracts breaks automatically, and totals regular and overtime hours per pay period. With Punch, staff clock in from their phone at the store and you export a clean CSV for payroll — no calculator required.

Ready to stop chasing timesheets?

Set up your store in minutes. Staff clock in from their phone, and you export clean hours for payroll.