ToolNimba Browse

⏱️ Work Hours Calculator (Timesheet)

By ToolNimba Editorial Team · Updated 2026-06-19

Day Clock in Clock out Break (min) Hours
Total (hh:mm)
0:00
Decimal hours
0.00
Gross pay
-

Enter clock-in and clock-out times for each day. Shifts that pass midnight are handled automatically.

This work hours calculator turns your clock-in and clock-out times into hours worked for the day and the week. Add a row for each shift, enter the start time, the end time and any unpaid break in minutes, and you get the hours both as hh:mm and as a decimal figure for payroll. Shifts that run past midnight are handled for you, and an optional hourly rate gives an instant gross-pay estimate.

What is the Work Hours Calculator?

A timesheet exists to answer one question: how many hours did someone actually work? The raw inputs are simple, the time you clocked in and the time you clocked out, but two things get in the way of a clean answer. Unpaid breaks have to be subtracted, and shifts that cross midnight have to wrap correctly so that a 22:00 start and a 06:00 finish reads as 8 hours rather than a negative number. This tool deals with both so the figure you copy into payroll is the one you actually earned.

The core calculation works in minutes. Each time is converted to minutes since midnight (09:30 becomes 570), the clock-out is subtracted from the clock-in, and if the result is zero or negative a full day of 1440 minutes is added to account for an overnight shift. The unpaid break is then subtracted. Working in whole minutes avoids the rounding errors you get when you try to do the sum in fractional hours by hand, and the result is converted to hours only at the very end.

Payroll almost always wants decimal hours, not hh:mm. Eight hours and thirty minutes is 8.50 decimal hours, not 8.30, because the minutes are a fraction of 60 rather than of 100. The conversion is minutes divided by 60: 30 minutes is 0.50, 15 minutes is 0.25, 10 minutes is 0.167. Getting this wrong is one of the most common timesheet errors, so the calculator always shows the decimal value alongside the familiar hh:mm so you can check both at a glance.

When to use it

  • Filling in a weekly timesheet from your clock-in and clock-out times without doing the arithmetic by hand.
  • Working out hours for a night shift or split shift that runs past midnight.
  • Estimating gross pay for the week by adding an hourly rate to your logged hours.
  • Checking a paycheck or invoice against the hours you actually worked, break time included.

How to use the Work Hours Calculator

  1. Enter the clock-in and clock-out time for each day using the 24-hour or AM/PM time picker.
  2. Type any unpaid break for that day in minutes (leave it as 0 if there was none).
  3. Add or remove day rows so the table matches your working week.
  4. Optionally enter your hourly rate and currency symbol to see gross pay.
  5. Read the per-day hours, the weekly total in hh:mm and decimal, and the gross pay.

Formula & method

worked minutes = (clock-out − clock-in), and if that is 0 or less add 1440 (overnight), then subtract the unpaid break. decimal hours = worked minutes ÷ 60. gross pay = decimal hours x hourly rate.

Worked examples

A day shift from 09:00 to 17:30 with a 30-minute unpaid lunch break.

  1. Clock-in 09:00 = 540 minutes since midnight
  2. Clock-out 17:30 = 1050 minutes since midnight
  3. Span = 1050 − 540 = 510 minutes
  4. Subtract break: 510 − 30 = 480 minutes
  5. As hh:mm = 480 ÷ 60 = 8 hours 0 minutes = 8:00
  6. Decimal hours = 480 ÷ 60 = 8.00

Result: 8:00, or 8.00 decimal hours

An overnight shift from 22:00 to 06:00 with no break.

  1. Clock-in 22:00 = 1320 minutes since midnight
  2. Clock-out 06:00 = 360 minutes since midnight
  3. Span = 360 − 1320 = −960, which is 0 or less, so add 1440
  4. Span = −960 + 1440 = 480 minutes
  5. No break to subtract
  6. Decimal hours = 480 ÷ 60 = 8.00, shown as 8:00

Result: 8:00, or 8.00 decimal hours

A full five-day week of 8-hour days at an hourly rate of 18.50.

  1. Daily hours = 8.00 (from the example above)
  2. Weekly minutes = 5 x 480 = 2400 minutes
  3. Weekly hh:mm = 2400 ÷ 60 = 40 hours = 40:00
  4. Weekly decimal hours = 2400 ÷ 60 = 40.00
  5. Gross pay = 40.00 x 18.50 = 740.00

Result: 40:00 (40.00 hours), gross pay 740.00

Minutes to decimal-hours conversion (common values)

MinutesDecimal hours
0 min0.00
10 min0.17
15 min0.25
20 min0.33
30 min0.50
40 min0.67
45 min0.75
50 min0.83
60 min1.00

Worked hours for a 09:00 start at different end times (30-minute break)

Clock inClock outBreakHours worked
09:0013:000 min4:00 (4.00)
09:0017:0030 min7:30 (7.50)
09:0017:3030 min8:00 (8.00)
09:0018:0060 min8:00 (8.00)
09:0021:0060 min11:00 (11.00)

Common mistakes to avoid

  • Reading minutes as decimals. Eight hours thirty minutes is 8.50 decimal hours, not 8.30. Minutes are a fraction of 60, so 30 minutes is 0.50 and 15 minutes is 0.25. Always divide the minutes by 60 before treating them as a decimal.
  • Forgetting to subtract the unpaid break. If your employer does not pay for your lunch, that time is not worked time. A 09:00 to 17:30 shift is 8.5 hours of presence but only 8.0 hours worked once a 30-minute unpaid break comes out.
  • Getting a negative result on an overnight shift. If you clock out at 06:00 the next morning, subtracting a 22:00 start gives a negative number. You have to add 24 hours (1440 minutes) so the shift reads as a positive 8 hours. This calculator does that wrap automatically.
  • Rounding each day before adding the week. Rounding every day to the nearest quarter hour and then summing can drift a few minutes off the true total. Add up the exact minutes first, then round only the final weekly figure if your payroll rounds at all.

Glossary

Clock-in
The time you start work and begin counting paid hours for a shift.
Clock-out
The time you finish work and stop counting paid hours for a shift.
Unpaid break
Time during a shift, such as lunch, that is not paid and is subtracted from the worked total.
Decimal hours
Hours expressed as a decimal where minutes are divided by 60, so 90 minutes is 1.50 hours. Used by most payroll systems.
Overnight shift
A shift that crosses midnight, where the clock-out time is earlier on the clock than the clock-in time.
Gross pay
Pay before tax and deductions, here estimated as decimal hours multiplied by the hourly rate.

Frequently asked questions

How do I calculate hours worked from clock-in and clock-out times?

Convert both times to minutes since midnight, subtract the clock-in from the clock-out, and if the result is zero or negative add 1440 minutes to handle an overnight shift. Then subtract any unpaid break and divide by 60 to get hours. This calculator does all of that for each day you enter.

How does it handle shifts that go past midnight?

When the clock-out time is at or before the clock-in time, the tool assumes the shift crossed midnight and adds a full 24 hours to the span. So a 22:00 start and a 06:00 finish correctly reads as 8 hours rather than a negative number.

What is the difference between hh:mm and decimal hours?

hh:mm shows hours and minutes the way a clock does, so 8 hours 30 minutes is 8:30. Decimal hours divide the minutes by 60, so the same shift is 8.50. Payroll systems almost always use decimal hours, which is why the calculator shows both.

Are breaks paid or unpaid?

It depends on your employer and local law. Short rest breaks are often paid while meal breaks are usually unpaid. Enter only the unpaid break minutes here, since paid time should stay in your worked total.

Can I add more than one day?

Yes. Use the Add day button to add a row for each shift in your week, and the Remove button to delete one. The weekly total and gross pay update automatically as you fill in each row.

How is gross pay worked out?

Gross pay is your total decimal hours multiplied by the hourly rate you enter. It is an estimate before tax, overtime premiums and deductions, so treat it as a guide rather than a final paycheck figure.