Adding Time For Payroll
How many hours did your employee actually work this pay period?
Enter start and end times for up to five shifts, and this tool adds them up into total hours worked for the pay period. No spreadsheet required.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
How It Works
The formula, explained simply
Payroll time addition looks simple until you realize that clocks and calculators speak different languages. A clock shows 8:45 as eight hours and forty-five parts-of-sixty, but a calculator treats 8.45 as eight and forty-five hundredths — which is only 27 minutes. That single misread turns a correct timesheet into an incorrect paycheck.
The right approach is to convert every time to total minutes from midnight, subtract the start from the end, deduct any unpaid breaks in minutes, then divide the whole thing by 60 to get decimal hours. For a shift from 9:00 AM to 5:30 PM with a 30-minute lunch, that is (510 minutes minus 270 minutes minus 30 minutes) divided by 60 = 3.5 hours. No, wait — (1030 minus 540 minus 30) divided by 60 = 7.67 hours. Minutes-from-midnight arithmetic avoids the intuition errors that happen when you add hours and minutes separately.
Once you have decimal hours, gross pay is multiplication: hours times rate. Overtime adds a layer — hours above 40 in a week multiply at 1.5x the regular rate. The tool computes this split automatically when you enter a rate, so you see both what to submit to payroll software and what the employee should expect in their check.
When To Use This
Right tool, right situation
Use this tool when you are reconciling a paper timesheet before entering hours into payroll software, verifying that a payroll system calculated the right gross amount, or invoicing a client for hourly work across multiple sessions in a day. It is also useful for employees who want to double-check their own hours before payday.
Do not rely on this tool as the sole basis for payroll if your team works irregular shifts across multiple time zones, if your jurisdiction applies daily overtime thresholds, or if your pay structure includes shift differentials, hazard pay, or piece-rate components. Those situations require payroll software with jurisdiction-specific rules, not a general-purpose hours calculator.
The tool handles up to five shifts in a single calculation. For weekly totals, run the tool once per day and add the daily totals, or enter all shifts from the week across the five shift slots.
Common Mistakes
Why results sometimes look wrong
The most common mistake is entering break time in hours instead of minutes. A 30-minute lunch entered as 30 minutes is correct. Entering 0.5 — thinking it means half an hour — gets ignored because the field expects whole minutes. The result: the break never gets deducted, the employee gets paid for time they did not work, and the discrepancy shows up at audit.
The second mistake is forgetting to convert to decimal before entering hours in payroll software. Eight hours and fifteen minutes is 8.25, not 8.15 and not 8:15. Payroll systems that accept free text will silently treat 8:15 as 8.15 and undercut the employee by 6 minutes. Over a full year at $20 an hour, that is $26 of underpaid wages per employee — small enough to miss, large enough to create liability.
The third mistake is applying this tool to a two-week pay period without distinguishing between daily and weekly overtime thresholds. If your jurisdiction uses daily overtime — hours over 8 in a single day — then weekly totals alone do not capture all overtime owed. Always confirm which overtime rule applies before running payroll.
The Math
Worked examples and deeper derivation
The core conversion: convert each time to minutes since midnight. For 12-hour format, add 720 to any PM hour that is not 12, and treat 12:xx AM as 0 hours plus minutes.
Shift duration in minutes = (end time in minutes) minus (start time in minutes) minus (break minutes). If the result is negative, add 1,440 (24 hours in minutes) to handle midnight crossings.
Decimal hours = shift duration in minutes divided by 60. Round to two decimal places for payroll entry.
Gross pay = (regular hours times rate) + (overtime hours times rate times 1.5). Regular hours = minimum of total hours or 40. Overtime hours = maximum of zero or (total hours minus 40).
Expert Unlock
The thing most explanations skip
The decimal-hours conversion has a subtle rounding trap: rounding each individual shift to two decimal places before summing introduces more error than rounding the total once at the end. For example, three shifts of 2 hours 10 minutes each round to 2.17 hours each — total 6.51 hours. Calculated in full minutes: 390 minutes divided by 60 = 6.50 hours exactly. Always sum raw minutes across all shifts and divide once at the end. This calculator does that by design, but spreadsheet-based timesheets that round per-cell consistently undercount by a few cents per week.
Why does my total look different from what I calculated in my head?
Need something this doesn't cover?
Suggest a tool — we'll build it →