Operations
Work Hours Calculator
Enter clock-in, clock-out and break for each day. Get daily and weekly hours in hh:mm and decimals, and gross pay if you add a rate.
What this calculates
Enter clock-in, clock-out and unpaid break for each day, and get the hours worked per day and for the week, as hours and minutes and as decimals. Add an hourly rate to see gross pay.
Add or remove days for a pay period of any length, and copy the first day's times to every other day to save typing.
The formula
- Clock-in / clock-out
- 24-hour wall-clock times. A clock-out earlier than the clock-in is read as the next day (an overnight shift).
- Unpaid break
- Minutes to subtract from the shift. Paid breaks should not be entered.
Assumptions
- Times are wall-clock times. A shift crossing a daylight-saving change may be an hour longer or shorter in reality than the clock suggests.
- Pay is straight time at the single rate you enter. Overtime is not applied here because thresholds and multipliers vary.
- Clock-out equal to clock-in is rejected, because it could mean 0 or 24 hours.
Worked example
A week with four days from 09:00 to 17:00 and Friday from 09:00 to 15:45, each with a 30-minute unpaid break.
- 01Monday to Thursday: 8 h − 30 min = 7:30 each, so 30:00 in total
- 02Friday: 6 h 45 min − 30 min = 6:15
- 03Week = 30:00 + 6:15 = 36:15, or 36.25 decimal hours
Total 36:15 hours, 36.25 in decimals. At $20 an hour that is $725 gross.
How to read the result
Use the decimal total for pay and invoicing, and hh:mm for how the time looks on a clock. 36:15 and 36.25 are the same amount.
If the week passes your normal threshold, carry the total to the overtime calculator, which applies your own multiplier.
Common mistakes
- Typing minutes as decimals: 7.30 is not 7 hours 30 minutes. Use clock times and the tool does the maths.
- Entering a paid break as unpaid. Only unpaid time is subtracted.
- Using 12-hour times without AM or PM. The inputs use your device's picker: check that 5:00 means 17:00.
- Forgetting that an overnight shift ends on the next day. It is detected automatically when clock-out is earlier than clock-in.
Frequently asked questions
How do I calculate hours worked from clock-in and clock-out?
How do I convert hh:mm to decimal hours for payroll?
Does it handle night shifts?
Does the gross pay include overtime?
Is my data stored?
Keep going
Related tools
- Timesheet GeneratorLog hours by date and task, total them in decimal hours, and turn the billable time into an invoice in one click.
- Overtime CalculatorCalculate overtime pay from your hourly rate, hours worked, overtime multiplier and thresholds, with weekly pay and effective hourly rate.
- Time Duration CalculatorFind the time between two dates and times in days, hours and minutes, or add up a list of durations into decimal hours for billing.
- Hourly Rate CalculatorConvert pay between hourly, daily, weekly, monthly and annual, or find the hourly rate that equals a salary.