Hours Worked Calculator
Calculate the hours you worked in a single day from your clock-in time, clock-out time, and the length of any unpaid break.
Hours worked
8h 0m
8.00 decimal hours
Formula
Hours worked = (Clock-out − Clock-in) − Break minutes
Worked example
Clock in 09:00, clock out 17:30, 30-minute break.
- Raw duration = 8h 30m = 510 minutes
- Subtract 30-minute break: 510 − 30 = 480 minutes
- Convert: 480 ÷ 60 = 8 hours
Answer: 8h 0m
How it works
The calculator works out the time between clock-in and clock-out, then subtracts the unpaid break in minutes to give you net hours worked.
If the clock-out time is earlier than the clock-in time, the day is treated as crossing midnight and 24 hours is added — useful for night shifts.
The result is shown in both hours and minutes and as a decimal (for example 8.50 hours), which is the format most payroll systems expect on a timesheet.
Common mistakes
- Entering the break in hours instead of minutes — a half-hour break is 30, not 0.5.
- Forgetting that paid breaks should not be subtracted; only enter unpaid break time.
- Typing a clock-out earlier than clock-in for a same-day shift instead of an overnight one.
FAQ
- Can I add multiple breaks?
- Add them up and enter the total break time in minutes.
- Does this calculate overtime pay?
- No, it only calculates time worked. Multiply the result by your hourly rate to estimate gross pay.
- What about paid breaks?
- Don't include them — only subtract unpaid break time so paid breaks remain part of your hours.
- Will it handle a shift that crosses midnight?
- Yes. If the clock-out time is before the clock-in time, the calculator assumes the shift ends on the next day.
- How do I total a whole week?
- Run the calculator once per day and add the daily totals together. A weekly version is on the roadmap.