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.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
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).

Retail employee with split shifts
Shift 1: 9:00 AM to 1:00 PM (no break). Shift 2: 4:00 PM to 8:30 PM (15-minute break). Hourly rate: $15.25.
Shift 1 is 4 hours, Shift 2 is 4 hours 15 minutes minus 15 minutes break = 4 hours. Total: 8.00 hours. Gross pay: $122.00. This is a common split-shift pattern in retail where mid-day coverage is handled by a different crew, and the same employee returns for the evening rush.
Night-shift nurse — 12-hour shifts, three days
Shift 1: 7:00 PM to 7:00 AM (30-min break). Shift 2: 7:00 PM to 7:00 AM (30-min break). Shift 3: 7:00 PM to 7:00 AM (30-min break). Rate: $38.00.
Each shift calculates as 11.5 hours (12 hours minus 30-minute break). Total: 34.5 hours. Gross pay: $1,311.00. No overtime applies because the total stays under 40 hours. For payroll entry, 34.5 decimal hours is the figure to submit — not 34 hours 30 minutes, which payroll systems read as 34.83.
Freelancer tracking billable hours across project sessions
Shift 1: 8:30 AM to 11:45 AM. Shift 2: 1:15 PM to 3:00 PM. Shift 3: 6:00 PM to 8:20 PM. No breaks. Rate: $95.00.
Session 1: 3.25 hrs. Session 2: 1.75 hrs. Session 3: 2.33 hrs. Total: 7.33 hours. Gross billable: $696.67. This use case is technically outside traditional payroll but the math is identical — hourly billing uses the same decimal-hours conversion. The tool handles it cleanly for client invoicing.
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?

How do I enter overnight shifts that cross midnight?
The calculator automatically handles midnight crossings by detecting when the end time is earlier than the start time and adding 24 hours to the end. Enter 10:00 PM as start and 6:00 AM as end — the tool reads the difference as 8 hours, not negative 16. This works correctly as long as the shift is under 24 hours.
Why does payroll use decimal hours instead of hours and minutes?
Payroll systems multiply hours by an hourly rate using standard arithmetic, which requires a single decimal number. 8 hours 30 minutes must be entered as 8.5, not 8:30 — entering 8:30 in a payroll system would calculate pay for 8.3 hours and underpay the employee by about 12 minutes per shift. This calculator converts automatically so you always submit the correct decimal figure.
Does this calculator handle overtime correctly?
The overtime calculation applies the standard 40-hour weekly threshold using time-and-a-half (1.5x) for hours above 40. Some states use daily overtime rules — for example, hours over 8 in a single day trigger overtime regardless of the weekly total. If your state has daily overtime rules, this tool will understate overtime pay. Verify your state rules before using the overtime estimate for payroll.

Need something this doesn't cover?

Suggest a tool — we'll build it →