CalcUnit Logo
Time

Time Math: How to Calculate Hours Worked and Payroll Timesheets

Calculating hours worked is incredibly frustrating because time is not measured in Base-10. Learn how to convert minutes to decimals for flawless payroll calculation.

CEBy CalcUnit Time ExpertsPublished 8 min read
Time Math: How to Calculate Hours Worked and Payroll Timesheets

Calculate precise timesheet durations and gross pay instantly using our Hours Calculator, or read on to learn the frustrating math of base-60 time conversion.

If you clock in at 8:15 AM and clock out at 4:45 PM, how many hours did you work? What if you took a 30-minute unpaid lunch?

Calculating hours worked is one of the most common administrative tasks in the world, yet it causes massive confusion. The reason calculating time is so difficult is because our standard math system is Base-10 (100 pennies in a dollar), but our clocks are Base-60 (60 minutes in an hour).

You cannot simply subtract 8.15 from 4.45 on a calculator.

Step 1: Converting to 24-Hour Time (Military Time)

The easiest way to calculate time elapsed over an afternoon is to abandon AM/PM formatting entirely and use a 24-hour clock. This prevents errors when crossing the noon threshold.

To convert PM times to a 24-hour format, simply add 12 to the hour (leave AM times alone).

  • 8:15 AM remains 8:15.
  • 4:45 PM becomes 4 + 12 = 16. It is 16:45.

Now you can set up a subtraction problem: 16:45 (Clock Out) - 8:15 (Clock In)

  • Subtract the hours: 16 - 8 = 8 hours
  • Subtract the minutes: 45 - 15 = 30 minutes You were on the clock for exactly 8 hours and 30 minutes.
Run your own numbers

Enter your own numbers and see the result instantly — free, no signup.

Open the Calculator →

Step 2: The "Borrowing" Problem

What happens if the clock-out minutes are smaller than the clock-in minutes? You clock in at 9:45 AM and clock out at 5:15 PM (17:15).

17:15 - 9:45 You cannot subtract 45 minutes from 15 minutes. You must "borrow" an hour from the 17. Crucial Rule: When borrowing an hour, you do not add 100. You add 60!

  • The 17 hours becomes 16 hours.
  • The 15 minutes becomes 15 + 60 = 75 minutes.

New Equation: 16:75 - 9:45

  • Hours: 16 - 9 = 7 hours
  • Minutes: 75 - 45 = 30 minutes You were on the clock for exactly 7 hours and 30 minutes.

Step 3: Converting Minutes to Decimals for Payroll

You cannot multiply your hourly wage by "7 hours and 30 minutes." If you make $20 an hour and punch 20 × 7.30 into a calculator, it will output $146. This is wrong. Your boss owes you $150.

To calculate pay, you must convert the Base-60 minutes into Base-10 decimals.

The Formula: Minutes / 60 = Decimal

  • 15 minutes: 15 / 60 = 0.25 hours
  • 30 minutes: 30 / 60 = 0.50 hours
  • 45 minutes: 45 / 60 = 0.75 hours

So, 7 hours and 30 minutes becomes 7.5 hours. 20 × 7.5 = $150.00

The Full Minutes-to-Decimal Chart

Payroll departments use this chart constantly. Each entry is simply the minutes divided by 60, rounded to two decimal places.

Minutes Decimal Hours Minutes Decimal Hours
5 0.08 35 0.58
10 0.17 40 0.67
15 0.25 45 0.75
20 0.33 50 0.83
25 0.42 55 0.92
30 0.50 60 1.00

Our Time to Decimal Converter does this conversion for any value, including odd minutes like 37 or 52.

Step 4: Subtract the Unpaid Lunch Break

Most shifts include an unpaid meal break, and it must come out before pay is calculated. Subtract it after finding the total span of the shift.

Worked example: you clock in at 9:00 AM and out at 5:30 PM, with a 30-minute unpaid lunch.

  • Total span: 17:30 − 9:00 = 8 hours 30 minutes
  • Minus lunch: 8.5 − 0.5 = 8.0 paid hours

At $20 an hour, that shift pays 8.0 × $20 = $160. Forgetting the lunch deduction would overstate pay by $10 for that single shift.

If your meal break is paid instead, skip this step entirely. Paid breaks remain inside the payable total, which is why two people with identical clock times can still earn different amounts.

One Full Day, From Punch to Paycheck

Here is every step chained together for a single realistic shift, at an illustrative wage of $22.50 an hour.

You clock in at 7:45 AM, take lunch from 12:00 to 12:30, and clock out at 4:15 PM.

Step 1: Convert and Subtract

The clock-out time becomes 16:15. Subtracting 7:45 requires borrowing, so rewrite 16:15 as 15:75.

15:75 − 7:45 = 8 hours 30 minutes on site.

Step 2: Remove the Unpaid Lunch

The 30-minute lunch is 0.5 hours. 8.5 − 0.5 = 8.0 paid hours.

Step 3: Multiply by the Wage

8.0 × $22.50 = $180.00 gross for the day.

Every timesheet on Earth is this same three-step chain. Disputes almost always trace back to one of the steps being skipped, not to exotic rules.

Two-Week Pay Periods

Many employers pay biweekly, which simply means two workweeks stapled together. The math does not change, but one rule surprises people.

Overtime under federal law is judged per workweek, not per pay period. A 35-hour week followed by a 45-hour week is not an even 80 hours for overtime purposes.

The 45-hour week still contains 5 overtime hours, even though the two-week total looks balanced. Averaging across weeks is one of the most common payroll errors small businesses make.

Adding Up a Full Workweek

A weekly timesheet is just the same daily math repeated, then totaled. Here is an illustrative week for one employee:

Day Hours Worked
Monday 8.50
Tuesday 8.25
Wednesday 7.75
Thursday 8.50
Friday 8.00
Total 41.00

Adding decimals is easy once every day has been converted. That is the entire point of the decimal system: the hard work happens once, at conversion time.

Overtime: The 40-Hour Rule

Under the US Fair Labor Standards Act, most non-exempt employees must be paid at least 1.5 times their regular rate for hours worked beyond 40 in a single workweek. Some states add their own daily overtime rules, so check your state's standard too.

An Overtime Pay Example

Use the 41-hour week above and an illustrative wage of $18 an hour.

  • Regular pay: 40 × $18 = $720
  • Overtime pay: 1 × ($18 × 1.5) = $27
  • Gross pay for the week: $720 + $27 = $747

Note that the overtime premium applies only to the hours past 40, not to the whole week. Paying all 41 hours at time-and-a-half is a common and expensive misunderstanding.

From Salary to Hourly (and Back)

Salaried staff often need their hourly equivalent for overtime, moonlighting, or comparing a job offer. The standard full-time year contains 40 hours × 52 weeks = 2,080 hours.

  • Salary to hourly: $52,000 ÷ 2,080 = $25.00 per hour
  • Hourly to salary: $22 × 2,080 = $45,760 per year

Our Salary to Hourly Calculator handles part-time schedules and paid-weeks variations as well.

Common Timesheet Mistakes

  • Typing 7.30 for 7 hours 30 minutes. The correct decimal is 7.5. At $20 an hour, this single typo underpays by $4 per shift — $20 across a five-day week.
  • Forgetting the PM conversion. Subtracting 8:00 AM from 4:00 PM without converting gives a nonsense answer. The 4 PM must become 16:00 first.
  • Counting the lunch break. An unpaid break left in the total inflates every paycheck and creates payroll disputes later.
  • Rounding every day in the same direction. Rounding should follow one consistent policy, like the nearest quarter hour described below, not whichever direction helps one side.

FAQ

Do employers round timesheet punches? Yes. Under the US Fair Labor Standards Act (FLSA), employers are legally allowed to round employee time to the nearest 15-minute increment (often called the 7-minute rule). If you clock in at 8:07, it rounds down to 8:00.

If you clock in at 8:08, it rounds up to 8:15. This practice is legal as long as it averages out fairly over time and doesn't explicitly favor the employer.

How do I calculate an overnight shift? Treat the clock-out time as belonging to the next day. A shift from 10:00 PM to 6:00 AM becomes 30:00 − 22:00 once you add 24 hours to the morning time, giving exactly 8 hours.

What if I work a split shift? Calculate each segment separately, convert each to decimals, then add them. A 4-hour morning segment plus a 3.5-hour evening segment totals 7.5 paid hours for the day.

Should I keep my own timesheet records? It is a smart habit. A simple note of each day's start, lunch, and end times lets you verify every paycheck against your employer's figures. When a discrepancy appears, the person with written records usually wins the conversation.


Stop fighting with Base-60 math and messy 15-minute rounding rules. Generate flawless payroll data instantly using the CalcUnit Hours Calculator.

NameTime Math: How to Calculate Hours Worked and Payroll Timesheets
DescriptionCalculating hours worked is incredibly frustrating because time is not measured in Base-10. Learn how to convert minutes to decimals for flawless payroll calculation.
PublishedJune 12, 2026 · CalcUnit Time Experts
Filed undertime · hours calculator

Keep Reading