Hours guide 01
GUIDE · WORK

How to calculate work hours, overtime, and decimal time

The full method behind the UsefulBasis hours tools: how in/out times become paid hours, how lunch and rounding change the result, how hours become decimals, and how federal and California overtime rules split a week — each with a worked example.

The basic calculation

Paid time for one day is: (out − in) for every shift, minus unpaid break time. Three details decide most disagreements:

  • Overnight shifts: if the out time is earlier than the in time, the shift ends the next day. In 10:00 PM, out 6:00 AM is 8 hours, not −16.
  • Split shifts: add each in/out pair separately. 8:00–12:00 plus 12:45–17:15 is 4 + 4.5 = 8.5 hours before breaks.
  • Breaks: subtract only genuinely unpaid time, once. If the gap between two shifts is your lunch, do not also enter it in the break field.

Worked example: in 9:00 AM, out 5:30 PM, 30-minute lunch → 8.5 − 0.5 = 8:00 (8.00).

Open the Hours Calculator

Converting hours to decimal

Decimal hours are fractions of an hour: minutes ÷ 60. The traps are the familiar ones — 7:30 is 7.50 (not 7.30), and 7:20 is 7.33. Totals should be computed from exact minutes and rounded only when displayed, which is what the calculators here do.

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

The full 0–59 chart is on the Hours to Decimal Converter page.

Rounding rules

Many employers round clock times to the nearest 5, 6, or 15 minutes. Federal guidance (29 CFR 785.48) accepts rounding when it averages out over time and does not consistently shortchange employees. The calculators apply rounding to each in and out time and show the before total, the after total, and the difference, so you can see exactly what rounding did.

  • 15-minute rounding: 8:07 → 8:00, 8:08 → 8:15.
  • 6-minute rounding (tenths of an hour): 8:02 → 8:00, 8:03 → 8:06.

Breaks: what is paid and what is not

Under federal rules, short breaks of about 5–20 minutes are generally paid work time (29 CFR 785.18). Meal periods of 30 minutes or more may be unpaid when the employee is completely relieved of duty. State rules and agreements can be stricter. The break field in the calculators subtracts whatever you enter — so enter only time that is genuinely unpaid in your situation.

Overtime: federal rule

The FLSA rule is weekly: hours over 40 in a workweek are paid at 1.5× the regular rate. There is no federal daily overtime. Two consequences people miss:

  • A 12-hour day inside a 36-hour week earns no federal overtime.
  • In a biweekly pay period, each week is judged on its own: 45 hours + 35 hours is 5 overtime hours, not zero. See the Biweekly Hours Calculator.

Worked example: five 9-hour days at $20/hour → 40 regular ($800) + 5 at 1.5× ($150) = $950 estimated gross pay.

Overtime: California rule

California layers daily overtime on top of the weekly rule:

  • Over 8 hours in a day: 1.5×, up to 12 hours; over 12: 2×.
  • On the seventh consecutive day worked in a workweek: the first 8 hours are 1.5×, hours beyond 8 are 2×.
  • Over 40 in the workweek: 1.5× — but hours already counted as daily overtime are not counted again.

Worked example: five 10-hour days → each day gives 8 regular + 2 at 1.5×. The week is 40 regular + 10 at 1.5×, with zero additional weekly overtime, because all 50 hours are already classified.

Worked example: one 13-hour day → 8 regular + 4 at 1.5× + 1 at 2×.

Known limitations

  • Daylight saving time: calculations use the clock times as written and do not model DST transitions. A shift spanning the 2:00 AM change can differ by an hour from elapsed time.
  • State rules: only the federal rule and California are included. Other states, industries, union agreements, and employer policies can differ.
  • Estimates only: pay figures are estimated gross pay for reference only — before taxes and deductions — and are not legal, tax, or payroll advice.
This calculator is for reference only and is not legal, tax, or payroll advice. Rules can vary by state, industry, and agreement. Check with your state labor department or a qualified professional.

Sources

FAQ

How are work hours calculated from in and out times?

Subtract the in time from the out time for each shift, add the shifts together, then subtract unpaid break time. If the out time is earlier than the in time, the shift crosses midnight and the out time counts as the next day.

Does this calculator account for daylight saving time changes?

No. Hours are calculated from the clock times you enter, exactly as written. On the two DST transition days each year, a shift that spans the 2:00 AM change can differ from elapsed real time by an hour; check those specific shifts against your employer’s policy.

How does rounding work?

When rounding is on, each in and out time is rounded to the nearest 5, 6 (one-tenth of an hour), or 15 minutes before durations are computed — the approach described in 29 CFR 785.48. The results show totals before rounding, after rounding, and the difference.

When is overtime calculated weekly instead of daily?

Under the federal FLSA rule, overtime is weekly: hours over 40 in a workweek. California adds daily overtime (over 8 in a day) on top, and this calculator never counts the same hour twice — hours already paid as daily overtime are excluded from the weekly 40-hour count.

Are short breaks paid?

Under federal rules, short breaks of about 5–20 minutes are generally counted as paid work time (29 CFR 785.18). Bona fide meal periods of 30 minutes or more can be unpaid when the employee is completely relieved of duty. Only enter genuinely unpaid time in the break field.

Is the pay figure exact?

No. It is an estimated gross pay figure for reference only, before taxes and deductions, based on the rate and rule you selected. It is not legal, tax, or payroll advice.