SiteBox

Work Hours Calculator

Free Online Time Card & Payroll Calculator

Enter your clock-in and clock-out times to calculate hours worked, decimal hours for payroll, and total pay including overtime.

8h 0m
Total hours worked
8.00
Decimal Hours
8.00 h
Regular Hours
0.00 h
Overtime Hours
$0.00
Total Pay

How to Use the Work Hours Calculator

1. Enter Your Times

Set your clock-in and clock-out times. Enable "Overnight shift" if you work past midnight.

2. Deduct Your Break

Enter any unpaid break time in minutes, which will be subtracted from your total.

3. Add Payroll Details (Optional)

Enter your hourly rate and overtime settings to see your regular pay, overtime pay, and total pay.

4. Read Your Results

Total hours are shown in both clock format (HH:MM) and decimal format for payroll timesheets.

Understanding Decimal Hours for Payroll

Payroll systems multiply hours by an hourly rate, so time must be converted from clock format to decimal. For example, 7 hours and 30 minutes is 7.5 decimal hours, because 30 minutes is 0.5 of an hour.

To convert minutes to a decimal, divide by 60: 15 minutes = 0.25, 30 minutes = 0.50, 45 minutes = 0.75.

Overtime typically applies to hours worked beyond a standard threshold (often 8 hours per day or 40 per week) and is paid at a higher rate, commonly 1.5× the regular rate ("time and a half").

How to Calculate Hours Worked

  1. Enter the Clock In and Clock Out times for the shift; tick Overnight shift if it ends after midnight.
  2. Enter unpaid break minutes. They are subtracted before anything is paid.
  3. Add the Hourly Rate, and set Overtime After (hours per day) and the Overtime Rate multiplier your employer uses.
  4. Read the hours worked, the same total in decimal hours for payroll, and the regular, overtime and total pay.

Payroll systems usually want decimal hours rather than hours and minutes: 7 hours 45 minutes is entered as 7.75, not 7.45. Working that out by hand is where most time card errors start, so copy the decimal figure straight from the result.

From Clock Times to a Paycheck: One Shift Worked Through

A warehouse worker clocks in at 07:30 and out at 18:45, takes a 45-minute unpaid lunch, earns $22.00 an hour, and gets time and a half after 8 hours in a day.

  1. Elapsed time: 07:30 to 18:45 is 11 hours 15 minutes, or 675 minutes.
  2. Subtract the break: 675 − 45 = 630 minutes worked.
  3. Convert to decimal hours: 630 ÷ 60 = 10.50 hours.
  4. Split regular and overtime: 8.00 regular hours and 2.50 overtime hours.
  5. Pay: 8 × $22.00 = $176.00 regular; 2.5 × $22.00 × 1.5 = $82.50 overtime; total $258.50.

Type those values into the calculator above and you will see the same numbers. Notice that 10 hours 30 minutes is 10.50, not 10.30: confusing clock minutes with decimal hours is the classic timesheet error.

Minutes to Decimal Hours

Payroll systems multiply a decimal number of hours by a rate, so minutes have to be expressed as a fraction of 60.

MinutesDecimalMinutesDecimal
50.08350.58
100.17400.67
150.25450.75
200.33500.83
250.42550.92
300.50601.00

Some employers round punches to the nearest quarter hour (7:53 becomes 8:00). This calculator uses your exact minutes; apply your employer's rounding rule to the clock times first if your payroll does.

Night Shifts

A shift from 22:00 to 06:30 crosses midnight, so the clock-out time looks earlier than the clock-in time. Tick Overnight shift and the calculator adds 24 hours to the clock-out time before subtracting. With a 30-minute break, that shift is 8 hours 30 minutes minus 30, exactly 8.00 hours. Without the tick, the tool stops and asks, rather than guessing a negative number.

Overtime Rules Differ: Set Them Yourself

The default (overtime after 8 hours a day, paid at 1.5×) is a common arrangement, but the legal rules depend on where you work and on your contract:

  • Under the US federal Fair Labor Standards Act, overtime for covered non-exempt employees is based on hours over 40 in a workweek, not per day. Some states, such as California, also have daily overtime rules.
  • Many countries set limits and premiums through national law or collective agreements, and some pay double time for Sundays or public holidays.

This calculator works one shift at a time. For weekly overtime, run each day with the overtime threshold set high (for example 24) to get plain decimal hours, add the days up, and apply overtime to anything above 40. If your contract pays 2× for certain hours, change the overtime rate field.

Mistakes That Cost Money

  • Paid vs unpaid breaks. Only enter breaks you are not paid for. Many short rest breaks are paid; meal breaks often are not.
  • 12-hour confusion. 6:00 PM is 18:00. If your result looks 12 hours off, check AM/PM in the time picker.
  • Adding clock times directly. Treating 7:45 + 8:30 as decimals gives 15.75 instead of the correct 16.25 hours. Convert to decimal first.

For converting hours into days, weeks or seconds, use the Time category of the Unit Converter. For quick pay-rise maths, try the Percentage Calculator. If a team spans time zones, the Time Zone Converter lines up shift start times. More in Calculators.

Check These Shift Examples

These cases can be reproduced in the calculator above. The overtime threshold applies to this one shift, not to a whole workweek.

  • Standard day: 09:00–17:00, 30-minute unpaid break, $20/hour, threshold 8 and multiplier 1.5 → 7h 30m, 7.50 regular hours, $150.00
  • Overnight: 22:00–06:00 with Overnight shift enabled and a 30-minute break → 7h 30m; the same times without the option are rejected
  • Overtime: 09:00–19:00, 30-minute break, $20/hour, threshold 8 and multiplier 1.5 → 8 regular hours plus 1.50 overtime hours, $205.00
  • Invalid break: a 61-minute break in a 09:00–10:00 shift is rejected; previous pay results are cleared

This tool calculates elapsed clock time for one shift of up to 24 hours. It does not account for dated daylight-saving transitions, weekly overtime, paid breaks, tax or employer rounding rules. Equal start and end times count as 24 hours only when Overnight shift is enabled. For US federal overtime context, see the Department of Labor overtime guidance; your applicable rules may differ.

Frequently Asked Questions

How do I convert minutes to decimal hours?

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

How do I calculate hours for a shift past midnight?

Tick Overnight shift. The calculator adds 24 hours to the clock-out time before subtracting the clock-in time.

Is overtime calculated per day or per week?

This calculator applies the overtime threshold per shift. US federal law uses 40 hours per week, so add up daily hours yourself for weekly overtime.

Should I subtract paid breaks?

No. Only subtract unpaid breaks, such as an unpaid lunch.

How do I calculate payroll hours?

Subtract the clock-in time from the clock-out time, take off unpaid breaks, and convert the minutes to decimals by dividing by 60. Multiply regular hours by the hourly rate and overtime hours by the rate times the overtime multiplier, then add the two.

Is my pay information saved?

No. All calculations run in your browser and nothing is sent to a server.