WORK & PAYROLL / NO. 017 FREE ONLINE TOOL

Time card
calculator.

Enter start and end times for up to seven days, including split shifts, minus unpaid breaks, to total the week in hours and minutes and in decimal hours, with overtime, optional punch rounding and gross pay.

01 / YOUR INPUTSUPDATES AS YOU TYPE

Loading calculator…

02 / YOUR RESULT LIVE
CALCULATED ANSWER
—

HOW IT WAS CALCULATED
THE EXPLANATION / 01

Clock times
to payable hours.

THE RULES WE USE
  • Shift hours = end time − start time − unpaid break. If the end time is earlier than the start, the shift ends the next day.
  • Weekly total = sum of the shifts; overnight shifts count on the day they start.
  • Decimal hours = minutes ÷ 60: 20 h 53 min is 20.88 hours, not 20.53.
  • Federal overtime: hours over 40 in the week at 1.5×. California also applies daily overtime.

How do you calculate hours worked on a time card?

For each shift, subtract the start time from the end time and then subtract any unpaid break. 09:00 to 17:30 with a 30-minute lunch is 8 hours 30 minutes minus 30 minutes, or 8 hours. Add the shifts for the weekly total.

Converting minutes to decimal hours

Payroll systems multiply the rate by decimal hours, so minutes must be divided by 60. 8 hours 5 minutes is 8.083 hours; 8 hours 23 minutes is 8.383 hours. Writing 8:23 as 8.23 hours underpays by 9 minutes’ worth.

Overnight shifts

A shift from 22:00 to 06:30 crosses midnight. The calculator recognizes an end time earlier than the start as the next morning and counts the 8.5 hours (8 after a 30-minute break) on the day the shift starts, matching how most time-keeping systems assign shifts.

Which breaks are unpaid?

Under federal rules, short rest breaks (typically 5 to 20 minutes) are paid working time, while bona fide meal periods of usually 30 minutes or more, when the employee is fully relieved of duty, can be unpaid. Enter only unpaid breaks.

Is rounding time-clock punches legal?

Federal rules accept rounding start and stop times to the nearest 5 minutes, tenth of an hour or quarter hour, provided that over time it does not fail to pay employees for all the time they actually work. Rounding to the nearest interval, as this calculator does, is neutral on average; always rounding in the employer’s favour is not.

WORKED EXAMPLES / 02EACH ONE IS CHECKED BY OUR TEST SUITE

Worked examples.

01

A standard week

Monday to Friday, 9:00 to 17:30 with a 30-minute unpaid lunch.

40:00, or 40 hours.

Load this example
02

Night shifts

Four shifts from 22:00 to 06:30 with a 30-minute break, $19 an hour.

32:00 (32 hours) and $608.00. Each shift counts on the day it starts.

Load this example
03

Overtime from long days

Five shifts from 07:00 to 17:45 with 45-minute breaks, $24 an hour, federal overtime.

50:00 (50 hours): 40 at $24 and 10 at $36, $1,320.00 gross.

Load this example
04

Odd minutes to decimal hours

Three shifts: 08:12–16:47, 08:05–16:58 and 07:55–12:20, 30-minute break on the first two.

20:53, or 20.88 hours: 8:05 + 8:23 + 4:25.

Load this example
05

A split shift

One day with two periods: 06:00–10:00 and 16:00–20:30, $18 an hour.

8:30 (8.5 hours) and $153.00 for the day.

Load this example
LIMITS / 03

What this calculator
does not do.

  • Shifts are assigned to the day they start, and each shift must be shorter than 24 hours.
  • It does not apply meal-period premiums, split-shift pay or local scheduling rules.
  • Punch rounding, when chosen, rounds each start and end to the nearest interval; it does not model employer policies that always round in one direction.
QUESTIONS / 04SHORT ANSWERS

Common questions.

How do I convert 7 hours 45 minutes to decimal?

Divide the minutes by 60: 45 ÷ 60 = 0.75, so 7 hours 45 minutes is 7.75 hours.

Is lunch counted as hours worked?

A bona fide meal period, usually 30 minutes or more with the employee fully relieved of duty, is not working time under federal rules. Short rest breaks are paid.

How is a shift past midnight counted?

As one continuous shift on the day it starts, so 22:00–06:00 is 8 hours on the first day.

How do I record a split shift?

Choose “Two (split shift)” and enter the second start and end for that day. Both periods count toward the day’s hours and toward daily overtime in California.

SOURCES & METHOD / 05REVIEWED NOVEMBER 2026
  1. US Department of Labor, Overtime Pay — over 40 hours in a workweek at not less than 1.5× the regular rate
  2. California DIR, Overtime FAQ — daily, seventh-day and weekly overtime
  3. 29 CFR 785.18–785.19, Rest and meal periods — short rest periods are hours worked; bona fide meal periods are not
  4. 29 CFR 785.48, Use of time clocks — rounding to the nearest 5 minutes, tenth or quarter hour if it averages out

Golden vectors cover standard weeks, overnight shifts, odd minutes, seconds, federal and California overtime, and validation of missing, equal and out-of-range times.