Free tool
Time card calculator
Clock in, clock out, unpaid breaks, seven days. Decimal hours for payroll, hh:mm for humans, and overnight shifts handled without a checkbox.
Runs entirely in your browser. No account, nothing uploaded, works offline.
In short
To calculate hours worked, subtract the clock-in time from the clock-out time and remove any unpaid break. If the clock-out is earlier than the clock-in, the shift crossed midnight, so add 24 hours first. Divide the resulting minutes by 60 for the decimal hours payroll systems expect.
Two things this handles that catch people out
Overnight shifts. If the clock-out time is earlier than the clock-in time, the shift crossed midnight and the calculator adds the missing day rather than producing a negative number. Enter 22:00 and 06:00 and you get eight hours.
Overtime on the weekly total. Overtime is applied to hours beyond the weekly threshold, not per day, because that is how the common rule works. A ten-hour Monday followed by a four-day week of six-hour days is a 34 hour week with no overtime in it, and a calculator that adds two hours of overtime for the Monday is quietly wrong.
Why minutes, and not hours
Everything above is computed in whole minutes and converted to hours only when it is displayed. That sounds fussy, and it is the difference between a total that reconciles and one that is off by a few minutes for reasons nobody can find.
Rounding each day to two decimal places and adding those up does not give the same answer as adding the minutes and rounding once. On a single week the gap is small. On a month of timesheets that somebody is being paid from, it is a conversation.
Filling this in from memory is the actual problem
A time card calculator does the arithmetic perfectly on whatever times you type. Nobody checks the times.
If you are reconstructing last week on a Friday afternoon, the arithmetic was never the weak link. An automatic time tracker records the start, the end and the gaps as they happen, so the numbers going into a timesheet are measured rather than remembered. If you bill from these hours, that difference is money.
Questions
How do I calculate hours worked from clock-in and clock-out times?
Convert both times to minutes past midnight, subtract the start from the end, then subtract any unpaid break. Divide by 60 for decimal hours. If the end time is earlier than the start time the shift crossed midnight, so add 24 hours before subtracting.
How do I calculate an overnight shift?
Add 24 hours to the clock-out time before subtracting. A shift from 22:00 to 06:00 is 8 hours, not a negative number. This calculator detects it automatically, so you can enter the times as they are.
How do I convert minutes to decimal hours for payroll?
Divide the minutes by 60. Thirty minutes is 0.5 hours, fifteen is 0.25, and ten is 0.167. Payroll systems generally want the decimal form, which is why this calculator shows both.
How is overtime calculated?
This calculator applies overtime to hours beyond a weekly threshold, which defaults to 40, and pays that portion at time and a half. Overtime rules vary by country, state and contract, so change the threshold or ignore the overtime line if yours differs.
Should I deduct breaks from my timesheet?
Deduct unpaid breaks. Paid breaks stay in. If you are not sure which yours are, that is a question for your contract rather than for a calculator.
Is my timesheet data saved anywhere?
No. Everything is computed in your browser and nothing is uploaded. Close the tab and it is gone, which also means you should copy the total out before you leave.