1. Home
  2. Guides
  3. How to Calculate Hours Worked for Payroll

How to Calculate Hours Worked for Payroll

Turn clock times into payroll hours: minutes to decimals, unpaid breaks, the 7-minute rounding rule and weekly overtime.

Whether you are checking your own paycheck or running payroll for a small team, adding up hours by hand is where most errors start: a lunch break counted twice, 7:45 typed as 7.45, an overnight shift that comes out negative. Here is a method that works every time.

Step 1: Use clock times in 24-hour format

Convert p.m. times by adding 12 to the hour: 1:30 p.m. becomes 13:30, 5:15 p.m. becomes 17:15. This removes the a.m./p.m. confusion when a shift crosses noon.

Step 2: Subtract start from end

Subtract hours from hours and minutes from minutes. If the minutes come out negative, borrow one hour (60 minutes).

Example: in at 8:45, out at 17:20. Minutes: 20 − 45 is negative, so borrow an hour: 80 − 45 = 35 minutes, and 16 − 8 = 8 hours. Total: 8 hours 35 minutes.

For overnight shifts, add 24 hours to the end time. In at 22:00, out at 6:30: (6:30 + 24:00) − 22:00 = 8 hours 30 minutes.

Step 3: Subtract unpaid breaks

Under federal rules, a meal break of 30 minutes or more is unpaid only if you are completely relieved from work. Short breaks of about 5 to 20 minutes count as paid time. Some states, such as California, Oregon and Washington, require specific meal and rest breaks. In the example above, a 30-minute lunch leaves 8 hours 5 minutes.

Step 4: Convert minutes to decimal hours

Payroll multiplies your rate by decimal hours, so divide the minutes by 60. 8 hours 5 minutes = 8 + 5 ÷ 60 = 8.08 hours. A very common mistake is writing 8:05 as 8.05; that underpays by about 2 minutes, and 7:45 written as 7.45 underpays by 18 minutes.

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Step 5: Add up the week and find overtime

Add each day's decimal hours for the workweek. Anything over 40 is overtime at 1.5× your regular rate under federal law. In California, Alaska, Nevada and Colorado, long days can also earn daily overtime. On a biweekly time card, count each week separately; hours cannot be averaged.

DayInOutBreakHours
Mon8:0017:0030 min8.50
Tue8:0018:1530 min9.75
Wed8:0017:0030 min8.50
Thu7:3017:3030 min9.50
Fri8:0016:3030 min8.00
Total44.25 (4.25 overtime)

At $18 an hour, that week pays 40 × $18 = $720 plus 4.25 × $27 = $114.75, for $834.75 gross.

Rounding: the 7-minute rule

Federal rules allow employers to round clock times to the nearest 5, 6 or 15 minutes, as long as rounding is neutral over time and does not always favor the employer. With quarter-hour rounding, 1 to 7 minutes are rounded down and 8 to 14 minutes are rounded up: 8:07 becomes 8:00, 8:08 becomes 8:15. Some states and courts restrict rounding, and many employers now pay to the exact minute. If your time clock only ever rounds down, that is not allowed.

What counts as hours worked

The fastest way to do all of this is our free time card calculator: type in and out times for each day, and it subtracts breaks, handles overnight shifts and splits overtime by week. You can print the result for your records.

Try the calculator

More guides

This guide is general information about U.S. payroll rules, not tax or legal advice. Rules change and your situation may differ; check with your employer, your state labor department or a tax professional.