How to Calculate Hours Worked, with Breaks and Overtime

Updated · 5 min read

Quick answer

Hours worked = end time − start time − unpaid breaks. Convert the result to decimal hours by dividing the minutes by 60, then multiply by your hourly rate.

Example: 8:45 AM to 5:30 PM with a 30-minute unpaid lunch is 8 h 45 min − 30 min = 8 h 15 min = 8.25 hours. At $20 an hour, that's $165.

If you’re paid by the hour, a small mistake in adding up your time is a mistake in your pay. The maths is simple once you know three steps: work out each shift, take off unpaid breaks, and turn minutes into decimal hours.

Step 1: work out each shift

Subtract the start time from the end time. It’s easiest in 24-hour time:

  • 8:45 AM is 08:45, 5:30 PM is 17:30
  • 17:30 − 08:45 = 8 hours 45 minutes

If the minutes don’t subtract cleanly, borrow an hour: 17:30 is the same as 16:90, and 16:90 − 08:45 = 8:45.

Overnight shifts: add 24 hours to the end time. 22:00 to 06:00 is (06:00 + 24:00) − 22:00 = 8 hours.

Step 2: take off unpaid breaks

Subtract any break you aren’t paid for. With a 30-minute unpaid lunch:

8 h 45 min − 30 min = 8 h 15 min

Which breaks are unpaid depends on where you work. Under US federal rules, a real meal break, usually 30 minutes or more where you’re fully off duty, doesn’t have to be paid, but short rest breaks of 20 minutes or less count as work time. Your state, country or contract may be more generous.

Step 3: convert to decimal hours

Payroll and timesheets use decimal hours, not hours and minutes. Divide the minutes by 60:

MinutesDecimal
60.1
150.25
200.33
300.5
400.67
450.75

So 8 h 15 min = 8.25 hours. At $20 an hour, that day pays 8.25 × $20 = $165.

A full week, worked through

DayStartEndUnpaid breakHours
Mon8:4517:3030 min8.25
Tue9:0018:0030 min8.5
Wed9:0017:1530 min7.75
Thu8:3019:0045 min9.75
Fri9:0019:1530 min9.75
Total44

Add the decimal column, not the hours and minutes. That’s where most hand-added timesheets go wrong.

Step 4: calculate overtime

In the US, the Fair Labor Standards Act says non-exempt employees must get at least 1.5 times their regular rate for every hour over 40 in a workweek. A workweek is any fixed run of seven days your employer sets; it doesn’t have to start on Monday.

For the 44-hour week above at $20 an hour:

  • Regular pay: 40 × $20 = $800
  • Overtime: 4 × $20 × 1.5 = $120
  • Total: $920

Two things catch people out:

  1. Federal overtime is weekly, not daily. A 10-hour day isn’t overtime under the federal rule if the week stays at 40 or under. Some states, such as California, add daily overtime after 8 hours, and some union contracts or employer policies pay it too.
  2. Each week stands alone. 45 hours one week and 35 the next is 5 hours of overtime, not an average of 40.

Outside the US, overtime rules vary by country and contract, so use the threshold and rate that apply to you.

Common mistakes

MistakeResult
Adding 7:45 + 8:30 as 15.75Wrong total. Convert first: 7.75 + 8.5 = 16.25
Forgetting the unpaid breakOverstates hours
Taking off a paid 15-minute breakUnderstates hours
Ending an overnight shift “before” it startedNegative hours. Add 24 to the end time
Averaging overtime across weeksUnderpaid overtime

Keep it automatic

Doing this by hand every week works, but it’s easy to slip. Hours Tracker does every step for you: a one-tap clock in and out, overnight shifts handled automatically, weekly and daily overtime, and a timesheet you can export as PDF, Excel or CSV. It can also track more than one job, each with its own rate.

This guide explains the arithmetic and the US federal basics. It isn’t legal advice; check your local labour law and contract for the rules that apply to you.

Questions people ask

How do I convert minutes to decimal hours?

Divide the minutes by 60. 15 minutes is 0.25 hours, 30 minutes is 0.5, 45 minutes is 0.75, and 20 minutes is about 0.33. So 7 hours 45 minutes is 7.75 hours.

Are lunch breaks counted as hours worked?

Under the US federal rules, a real meal break, usually 30 minutes or more where you're fully relieved from work, doesn't have to be paid. Short rest breaks of about 20 minutes or less count as time worked. State laws and your contract can add to this, so check your own rules.

How do I calculate a shift that goes past midnight?

Add 24 hours to the end time before you subtract. A shift from 10 PM to 6 AM is (6 + 24) − 22 = 8 hours.

When does overtime start?

Under the US Fair Labor Standards Act, non-exempt employees get at least 1.5 times their regular rate for hours over 40 in a workweek. The federal rule doesn't count daily hours, but some states, such as California, also pay overtime after 8 hours in a day. Other countries have their own rules.

What's the easiest way to add up a whole week?

Convert each day to decimal hours first, then add them. Adding hours and minutes directly is where most mistakes happen.

Sources