Loona Automation logo← Loona Salary & Tax Calculators

How to Calculate Work Hours and Overtime

Every payslip starts with one number: the hours you actually worked. This guide shows the exact method payroll uses — subtract start from end, remove unpaid breaks, convert minutes to decimal hours, then split the week at the overtime threshold and apply the right multiplier — with worked examples you can check line by line.

In short: Hours worked = end time − start time − unpaid breaks. Convert the result to decimal hours (minutes ÷ 60) before multiplying by your rate. For overtime, pay the hours up to the threshold at your regular rate and the hours beyond it at the multiplier — under US federal law (the FLSA), that is at least 1.5× for hours over 40 in a single workweek for covered, non-exempt employees.

The basic formula

One formula handles almost every shift:

Hours worked = (end time − start time) − unpaid breaks

And once you have the hours, pay follows from a second one:

Gross pay = (regular hours × hourly rate) + (overtime hours × hourly rate × multiplier)

Everything below is these two formulas applied carefully — the mistakes happen in the details: breaks, minutes that are not decimals, night shifts, and weeks that cross the overtime threshold.

Step by step: from time card to total hours

  1. Write down the start and end time of every shift, exactly as clocked — including the minutes, not rounded to the nearest hour.
  2. Convert both times to 24-hour format. Morning times stay as they are; add 12 to afternoon and evening hours (5:00 PM becomes 17:00). This makes subtraction simple and prevents AM/PM errors.
  3. Subtract the start from the end. If the minutes go negative, borrow one hour as 60 minutes. If the end time is earlier than the start, the shift crossed midnight — add 24 hours to the end first (see the night-shift example below).
  4. Subtract unpaid breaks only — typically an unpaid meal break. Paid rest breaks stay in your hours.
  5. Convert minutes to decimal hours (next section) if the total will be multiplied by an hourly rate or entered into payroll software.
  6. Add up the whole week first, then split it into regular and overtime hours at your threshold. Add the days in hours and minutes, and convert to a decimal once, at the end — rounding each day separately quietly loses minutes.

Convert minutes to decimal hours

Payroll systems, invoices and spreadsheets want hours as a decimal — 8.25, not 8:15. The conversion is:

Decimal hours = whole hours + (minutes ÷ 60)

MinutesDecimal hours
50.08
100.17
150.25
200.33
250.42
300.50
350.58
400.67
450.75
500.83
550.92

The trap: 7 hours 45 minutes is 7.75 hours, not 7.45. The digits after the decimal point are sixtieths of an hour, not minutes — 0.45 of an hour is 0.45 × 60 = 27 minutes. Writing 8:30 as “8.30 hours” underpays every shift by 12 minutes. A quick mental check: every 6 minutes is exactly one tenth of an hour (0.10), so 36 minutes is 0.60 and 54 minutes is 0.90. To convert back, multiply the decimal part by 60: 7.6 hours = 7 hours + (0.6 × 60) = 7 hours 36 minutes.

Worked example 1: one day, with a lunch break

You clock in at 8:15 AM and out at 5:00 PM, with a 30-minute unpaid lunch. Your rate is $20 an hour.

If the lunch had been a paid break, nothing would be subtracted: 8 hours 45 minutes = 8.75 hours, and the day would pay 8.75 × $20 = $175.00. Whether a break is paid or unpaid is worth $10 a day in this example — check your contract before you subtract anything.

Night shifts: when the shift crosses midnight

If the end time is earlier than the start time, add 24 hours to the end before subtracting. A shift from 10:00 PM to 6:30 AM:

Worked example 2: a full week, day by day

One week, a 30-minute unpaid lunch on the weekday shifts, and an hourly rate of $18:

DayStart – endHours workedDecimal
Monday9:00 AM – 5:30 PM8 h 00 min8.00
Tuesday9:00 AM – 5:30 PM8 h 00 min8.00
Wednesday9:00 AM – 6:15 PM8 h 45 min8.75
Thursday9:00 AM – 5:30 PM8 h 00 min8.00
Friday9:00 AM – 7:00 PM9 h 30 min9.50
Saturday10:00 AM – 2:00 PM4 h 00 min4.00
Week total46 h 15 min46.25

Now split the week at a 40-hour overtime threshold:

Note that the split happens on the week, not on any single day: Friday's long day is not overtime by itself — the week's total decides. (Some contracts and some local laws also set daily overtime thresholds; if yours does, apply whichever rule your contract or law specifies.)

How overtime pay works

Overtime is the higher rate paid for hours beyond a set threshold. The two multipliers you will meet most often:

In the United States, the federal baseline is the Fair Labor Standards Act (FLSA): covered, non-exempt employees must be paid at least 1.5× their regular rate for hours over 40 in a workweek. A workweek is a fixed, recurring period of 168 hours (seven consecutive days); it can start on any day, but each workweek stands alone — an employer cannot average a 50-hour week with a 30-hour week to avoid overtime. Some states add their own rules on top, and exempt (salaried-exempt) employees are not covered by the federal overtime requirement. Outside the US, the threshold and multiplier come from your local labour law or contract, so check which rules apply to you before using the examples below.

Worked example 3: overtime at time and a half

You earn $20 an hour and work 46 hours in one week, with overtime at 1.5× over 40 hours:

Two ways to read the same answer: the 6 overtime hours earned $180 instead of the $120 they would have paid at the plain rate, so the overtime premium — the extra above straight time — is $60. If payroll has already paid you straight time for all 46 hours ($920), only that $60 premium is still owed. And if 2 of the overtime hours were paid at double time under your contract instead, they would pay 2 × $40 = $80 rather than 2 × $30 = $60, taking the week to $1,000.

If you are salaried: find your hourly rate first

Overtime maths needs an hourly rate. For a salary, divide by the paid hours in the period. On a common full-time pattern of 40 hours a week × 52 weeks = 2,080 hours a year, a $52,000 salary is $52,000 ÷ 2,080 = $25 an hour — so time and a half would be $25 × 1.5 = $37.50 an hour. Whether a salaried employee is owed overtime at all depends on exemption status and local law; the conversion itself is just arithmetic.

Doing it in a spreadsheet

In Excel or Google Sheets, times are stored as fractions of a day, so multiply the difference by 24 to get decimal hours:

Format the result as a number with two decimal places, not as a clock time.

Common mistakes that cost money

Frequently asked questions

How do I calculate the hours I worked?

Subtract your start time from your end time, then subtract any unpaid breaks. For example, 8:15 AM to 5:00 PM is 8 hours 45 minutes; minus a 30-minute unpaid lunch, that is 8 hours 15 minutes worked — 8.25 in decimal hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60 and add the whole hours. 15 minutes is 0.25, 30 minutes is 0.50 and 45 minutes is 0.75, so 7 hours 45 minutes is 7.75 hours. Never write it as 7.45 — that would mean 7 hours 27 minutes.

How is overtime pay calculated?

Split the week at the overtime threshold, then pay each part at its own rate: gross pay = (regular hours × hourly rate) + (overtime hours × hourly rate × multiplier). At $20 an hour with 6 overtime hours at time and a half: (40 × $20) + (6 × $20 × 1.5) = $800 + $180 = $980.

What is time and a half of $20 an hour?

Time and a half means 1.5 times the regular rate, so $20 × 1.5 = $30 an hour. Double time is 2 times the rate — $40 an hour on a $20 rate.

When does overtime start?

Under the US Fair Labor Standards Act (FLSA), covered non-exempt employees earn overtime at at least 1.5 times their regular rate for hours over 40 in a single workweek. Each workweek stands alone — hours cannot be averaged over two weeks. Outside the US, the threshold and multiplier come from local law or your contract.

Should lunch breaks be subtracted from my hours?

Unpaid meal breaks are subtracted; paid breaks are not. As a general rule under US federal law, short rest breaks of about 5 to 20 minutes are paid, while a genuine meal break of 30 minutes or more, during which you are fully relieved of duty, can be unpaid. Your contract or local law may differ.

Disclaimer: this guide explains the general method for calculating work hours and overtime. The US figures describe the federal FLSA baseline in general terms; state law, local law outside the US, and your contract can set different thresholds, multipliers and break rules. This is general information, not legal or payroll advice. Figures last verified: 28 November 2026.

Try it with your own numbers