NEW

How to Calculate Payroll Hours: One Timesheet, Three Overtime Answers

Automate time tracking to earn more
November 2026
How to Calculate Payroll Hours: One Timesheet, Three Overtime Answers

To calculate payroll hours, take each shift’s clock out time minus its clock in time, subtract unpaid meal breaks, convert the minutes to decimal hours, total the hours for each workweek and split them into regular and overtime hours under the rule that covers the employee. Multiply each group by its rate and you have gross pay.

The arithmetic of calculating payroll hours is simple. The part that goes wrong is the period you add hours over. Take one employee’s month of timesheets (22 workdays, 178 hours and 8 minutes) and count it three common ways, and you get three overtime answers: 2:08 when the month is totaled, 3:16 when each US workweek is checked on its own, and 4:08 under California’s daily rule. Below, each step uses that month, so you can see where each answer comes from and which one your payroll owes.

What counts as payroll hours

Payroll hours are the hours an employee worked in a pay period that you owe wages for. That is not always the same as the time between the first clock in and the last clock out. Under US federal rules, short rest periods of about 5 to 20 minutes must be counted as hours worked (29 CFR 785.18), while a bona fide meal period, ordinarily 30 minutes or more during which the employee is completely relieved from duty, is not work time (29 CFR 785.19). Work the employer did not ask for but suffered or permitted, such as finishing a task after the shift ends, is work time as well (29 CFR 785.11).

The records you need are short. The US Department of Labor’s Fact Sheet #21 lists, among other items, the day and time the workweek begins, hours worked each day, total hours each workweek, the regular hourly rate and total overtime earnings for the workweek. Payroll records must be kept for at least three years and the time cards behind them for two. Everything below starts from that timesheet, so get it complete before you add anything.

How to calculate payroll hours step by step

If you are working out how to calculate time for payroll by hand, these steps work whether the hours come from paper time cards, a spreadsheet or a time clock export. If your system already gives you daily totals in decimal form, skip to step 5.

Step 1. Fix the workweek before you add anything

Write down the day and hour your workweek starts and keep it the same every week. In the US, a workweek is a fixed and regularly recurring period of 168 hours (29 CFR 778.105), and it does not have to match the calendar week or your pay period. A biweekly payroll covers two workweeks, while a semimonthly or monthly payroll will cut some workweeks in half. Knowing where each week begins and ends is what lets you count overtime correctly later.

Step 2. Convert clock times to the 24 hour format

Morning times stay as they are. For afternoon and evening times, add 12 to the hour, so 5:03 p.m. becomes 17:03 and 5:31 p.m. becomes 17:31. Now every later time is a bigger number, and you can subtract without thinking about a.m. and p.m.

Clock in and clock out times for Monday to Wednesday converted from a.m. and p.m. to the 24 hour format, for example 5:03 p.m. to 17:03

Step 3. Subtract the start time from the end time

Subtract hours from hours and minutes from minutes. When the end minutes are smaller than the start minutes, borrow one hour from the end time and add 60 to its minutes: 15:13 becomes 14:73, and 14:73 minus 8:45 is 6:28. A shift that crosses midnight needs one more move: count the hours up to 24:00, then add the hours after midnight, so 22:00 to 06:30 is 2:00 plus 6:30, or 8:30.

Two subtraction examples: 15:45 minus 8:30 equals 7:15 without borrowing, and 15:13 minus 8:45 equals 6:28 after borrowing one hour as 60 minutes
Daily total time from clock in to clock out: 8:48 on Monday, 9:19 on Tuesday and 9:08 on Wednesday

Step 4. Subtract unpaid meal breaks

Take out only the breaks that are unpaid and during which the employee really stopped working. A one hour lunch turns Monday’s 8:48 into 7:48 worked. Coffee breaks stay in. If someone ate at their desk while answering customer calls, that meal period was work and stays in as well.

Total time minus a one hour lunch break gives total worked time of 7:48 on Monday, 8:19 on Tuesday and 8:08 on Wednesday

Step 5. Convert minutes to decimal hours

Payroll software and pay rates work in decimal hours, so divide the minutes by 60 and add the result to the whole hours. 7 hours 48 minutes is 7 + 48 ÷ 60 = 7.80 hours, not 7.48. This is also the answer to a question payroll clerks search for often: .75 in payroll hours means 45 minutes.

Minutes Decimal hours Common mistake
6 0.10 Writing 0.06
10 0.17 Writing 0.10
15 0.25 Writing 0.15
20 0.33 Writing 0.20
30 0.50 Writing 0.30
40 0.67 Writing 0.40
45 0.75 Writing 0.45
50 0.83 Writing 0.50

Step 6. Total each workweek and split regular from overtime hours

Add the daily totals inside each workweek, not across the whole pay period. Then apply the overtime rule that covers the employee. Under the US Fair Labor Standards Act, that means hours over 40 in the workweek, and each workweek stands alone: hours cannot be averaged over two or more weeks (29 CFR 778.104). Other jurisdictions use different thresholds, which the table further down compares.

Step 7. Multiply by the rates

Gross pay = regular hours × regular rate + overtime hours × overtime rate. With a $20 rate and a 42 hour week under the federal rule, that is 40 × $20 + 2 × $30 = $860. Bonuses promised in advance, shift differentials and commissions can raise the regular rate that overtime is based on; our guide to overtime calculation covers the regular rate and the special cases. If you only need the totals for a few shifts, the free work hours calculator does steps 2 to 5 for you.

Worked example: one month, three overtime answers

Here is one employee’s month after steps 2 to 4: 22 workdays with a one hour unpaid lunch already taken out. The month starts on a Thursday, so the first column holds only two days. The figures are illustrative.

Monthly timesheet of daily worked hours over five weeks with weekly totals of 15:36, 39:16, 40:45, 41:01 and 41:30 and a monthly total of 178:08

A common shortcut is to compare the month with its scheduled hours: 22 days × 8 hours = 176 hours, so 178:08 minus 176:00 gives 2:08 of overtime. That number is fine for checking whether a salaried employee met their schedule. It is wrong for paying overtime anywhere the law counts by week or by day, because a short week hides the long ones. Here is the same month counted three ways:

Week (hours worked) US federal: hours over 40 in the week California: hours over 8 in a day
Week 1 (15:36, two days) 0:00 in this month (see note below) 0:01
Week 2 (39:16) 0:00 0:30
Week 3 (40:45) 0:45 0:50
Week 4 (41:01) 1:01 1:15
Week 5 (41:30) 1:30 1:32
Month (178:08) 3:16 (monthly shortcut: 2:08) 4:08

In the California column, no week passes 40 regular hours once the daily overtime is taken out (week 5, for example, is 41:30 minus 1:32 = 39:58), so the daily figures are the whole answer. Now price the three answers at an illustrative $20 an hour with overtime at 1.5 times:

Total hours: 178:08 = 178.13 decimal hours
Monthly shortcut: 176.00 × $20 + 2.13 × $30 = $3,584.00
US federal, by workweek: 174.87 × $20 + 3.27 × $30 = $3,595.33
California, by day: 174.00 × $20 + 4.13 × $30 = $3,604.00
Shortfall of the monthly shortcut: $11.33 (federal) or $20.00 (California)

Eleven dollars is easy to shrug off. Repeated for 50 hourly employees over 12 months, the same pattern is about $6,800 of unpaid overtime a year, and under the FLSA employees can claim back pay for two years, or three for a willful violation (29 U.S.C. 255). A different error costs more. If the clerk typed each daily total straight in as a decimal, 7:48 as 7.48 and so on, the 22 days add up to 174.48 hours instead of 178.13, and the employee loses 3.65 hours, or $73 at $20, in a single month.

One more detail sits in week 1. Its Thursday and Friday belong to a workweek that began in the previous month, so the overtime test for that week needs Monday to Wednesday from last month’s records as well. Under the federal rule, overtime earned in a workweek is paid on the regular payday for the period in which that workweek ends (29 CFR 778.106), which here is this month.

Overtime thresholds that change the calculation

Steps 1 to 5 are the same everywhere. Step 6 changes with the law and the contract that cover the employee. The same 41:30 week produces 1:30 of overtime pay in one place and none in another:

Jurisdiction Overtime rule What it changes in the calculation
United States, federal (FLSA) 1.5 times the regular rate for hours over 40 in a workweek; no averaging across weeks Total and test every workweek separately, even on biweekly or monthly payroll
California 1.5 times for hours over 8 in a workday and over 40 in a workweek; double time over 12 in a workday Test each day first, then the week
Ontario, Canada 1.5 times for hours over 44 in a work week for most employees; no daily overtime unless a contract says so A written averaging agreement can spread hours over up to four weeks
United Kingdom No statutory overtime premium; the contract sets overtime rates Average pay for all hours worked must not fall below the National Minimum Wage
European Union No EU rule on overtime pay; national law and agreements set it Average weekly working time, overtime included, is capped at 48 hours over a reference period of up to four months

Sources for the table: 29 CFR 778.104 for the US federal rule, the California Labor Commissioner’s overtime FAQ, Ontario’s guide to overtime pay under the Employment Standards Act, GOV.UK’s overtime rights page and Articles 6 and 16 of the EU Working Time Directive 2003/88/EC. US states add their own rules on top of the federal one, so check the state where the work is done: we cover California, Texas, Oregon and Massachusetts in separate guides.

Rounding, breaks and split pay periods

Rounding clock times

US federal rules accept rounding clock times to the nearest 5 minutes, tenth of an hour or quarter hour, as long as it does not result, over a period of time, in a failure to pay for all time actually worked (29 CFR 785.48). With quarter hour rounding, the usual practice is the 7 minute rule: 1 to 7 minutes past the quarter round down and 8 to 14 round up, so 9:03 becomes 9:00 and 17:12 becomes 17:15. Round clock ins and clock outs by the same rule. A policy that rounds only in the employer’s favor is where rounding disputes start.

Breaks outside the US

In Great Britain, a worker whose daily working time is more than six hours is entitled to an uninterrupted rest break of at least 20 minutes under regulation 12 of the Working Time Regulations 1998, and the EU directive sets the same six hour trigger while leaving the length to national law. Whether that break is paid depends on the contract, so subtract it only if the contract says it is unpaid.

Pay periods that split a workweek

Weekly and biweekly payrolls line up with workweeks. Semimonthly and monthly payrolls do not, so pay the straight time hours in the period they were worked and settle the overtime for a split week once the week is complete, as in week 1 of the example.

Salaried staff

In the US, an exempt employee must receive the full salary for any week in which they perform any work, whatever the number of days or hours (29 CFR 541.602). So do not run their project timesheets through the hourly steps above and dock the difference. Salaried employees who are not exempt still earn overtime; see overtime for salaried employees.

Where payroll hour calculations go wrong

The subtraction rarely fails. The inputs do, and so does the period the hours get added over:

  1. Minutes typed as decimals.

    7:20 entered as 7.20 instead of 7.33. In the example month this one habit removed 3.65 paid hours.

  2. Overtime counted over the pay period.

    Totaling a biweekly or monthly period and subtracting the scheduled hours lets a short week cancel a long one. The example month lost 1:08 of overtime this way under the federal rule.

  3. Lunch deducted automatically.

    A schedule that subtracts 30 or 60 minutes every day assumes the break happened. Give employees a way to flag a missed or interrupted meal period.

  4. Hours rebuilt from memory on Friday.

    Missed punches filled in at the end of the week are guesses. Entering hours the same day, at the end of a task or a shift, removes most corrections before they reach payroll.

  5. Edits with no history.

    When a clerk overwrites a punch, nobody can later show what was recorded and why it changed. Keep the original entry, the correction and who approved it.

  6. Night shifts on the wrong day.

    A shift from 22:00 to 06:30 belongs to one workday under your policy. Splitting it differently from week to week moves hours between workweeks and changes overtime.

How to calculate payroll hours in actiTIME

actiTIME is project time tracking software built for billing, and the same timesheet that feeds client invoices also gives payroll its hours. It does not run payroll itself: it does not withhold taxes or issue paychecks. It does produce approved hours, overtime and labor cost per employee that you pass to your payroll system. Here is how the steps above map to it.

1. Record hours against tasks every day. Employees log time in the weekly timesheet, in Calendar View with exact start and stop times, in the mobile app or with the Chrome extension. The timesheet header totals regular working time, overtime and leave time for the week, so steps 3 to 6 happen as hours are entered. Hours can be typed as 2:30 or as 2.5, which takes the decimal trap out of data entry.

actiTIME weekly timesheet with hours per task and day, weekly totals, and a header showing regular working time, overtime and leave time

2. Let overtime calculate itself. With Overtime Registration turned on, each user gets an overtime mode: calculated automatically and hidden from the user, calculated automatically and visible in their timesheet, entered manually, or disabled for staff who are not entitled to overtime. Work schedules can be set for the whole company or per user, and the Time Balance and Overtime Report compares each person’s reported hours with their schedule.

3. Set the pay rates once. Each user’s profile holds cost of work rates: a regular rate, an overtime rate and rates per leave type, each with an effective date.

Cost of work rates in an actiTIME user profile: regular rate 45.00, overtime rate 67.50 and separate rates for time off, vacation, sick leave and family leave

4. Approve and lock before payroll closes. Employees submit their week with one click, and managers approve or reject it in Approve Time-Track, where every week shows working time, leave time and overtime side by side. Lock Time-Track then stops edits to approved or closed periods, so the hours payroll used are the hours that stay on record.

Approve Time-Track screen in actiTIME listing one employee's weekly timesheets with status, working time, leave time and overtime, and Approve and Reject buttons

5. Pull the payroll figures. The Time Balance and Overtime Report compares scheduled and reported hours for every user and shows overtime reported by users and calculated automatically. The Cost of Work Report turns hours into labor cost using regular, overtime and leave rates. Both export to CSV, and time records can go to QuickBooks Online for payroll and invoicing.

actiTIME Time Balance and Overtime Report with scheduled, reported and difference columns per user and overtime reported by user and auto calculated

We reduced payroll processing to 45 minutes per week

actiTIME is very robust, integrated well into your business process, and most important, helps you focus on your business instead of monkeying around with technology. actiTIME has reduced our payroll processing from 4-6 hours per week to 45 minutes per week.

Overtime Registration and Time-Track Approval are not part of the free version, so test your payroll setup during the trial. Start a free trial of actiTIME with full features for 30 days. After the trial, teams of up to 3 users can keep using it for free, and paid use starts from $5 per user per month.

FAQ

How do I calculate payroll hours in Excel?

Enter start and end times in cells formatted as time, then use =(end-start)*24 to get decimal hours and format the result as a number. For a shift that crosses midnight, use =MOD(end-start,1)*24. Subtract unpaid breaks in their own column, and total hours by workweek rather than by month before you test for overtime.

Do I need to calculate payroll hours for salaried employees?

For exempt salaried employees, pay does not depend on hours, though tracking time on projects still matters for costs and billing. Salaried employees who are not exempt must have hours recorded and are owed overtime, so calculate their hours the same way as hourly staff. Who counts as exempt is covered in who is exempt from overtime pay.

Do paid holidays count toward overtime hours?

Under the US federal rule, pay for a holiday or vacation day not worked is not compensation for hours of employment (29 CFR 778.218), so those hours do not push a week over 40 unless your own policy counts them. Some employers and states pay premiums for holiday work. Our guide to holiday overtime pay walks through the cases.

Are you ready to drive your business growth with actiTIME?

Start Using actiTIME