Work Hours Calculator
Total your work hours for a shift, week, or pay period from clock-in and clock-out times.
This work hours calculator (a timesheet tool) totals your hours worked from clock-in and clock-out times, across a single shift or an entire weekly working hours calculator view for a full pay period. It handles breaks and lunch deductions where entered.
Enter your clock-in and clock-out times for each day, and the calculator totals your work hours automatically.
Worked Calculation Examples
| Scenario | Result | Calculation Step |
|---|---|---|
| 9:00 AM to 5:30 PM with a 30-minute lunch | 8 hours | 5:30 PM − 9:00 AM = 8.5 hours, minus a 0.5-hour break = 8 hours. |
| Overnight shift, 10:00 PM to 6:00 AM | 8 hours | Treating clock-out as the next calendar day: 6:00 AM + 24h − 10:00 PM = 30:00 − 22:00 = 8 hours. |
Calculating Hours from Clock Times
Subtract the clock-in time from the clock-out time to get the duration worked in that shift, then subtract any unpaid break time. Summing each day's net hours across a pay period gives the total for payroll or timesheet purposes.
Handling Overnight Shifts
For shifts that cross midnight (clocking in at 10 PM and out at 6 AM, for example), the calculation needs to treat the clock-out time as occurring the next calendar day, adding 24 hours before subtracting, to avoid a negative duration.
How to Use the Work Hours Calculator
- Open the Work Hours Calculator and enter the values requested in the input fields.
- Check the units, percentages, dates, or time periods before reading the answer.
- Review the instant result and adjust any value to compare another scenario.
- Use the formula, example, and FAQs below to understand how the work hours calculator works.
Frequently Asked Questions
How do I calculate total work hours from clock-in and clock-out times?
Subtract the clock-in time from the clock-out time for each shift, subtract any unpaid breaks, then sum the results across all shifts in the pay period.
How does this handle an overnight shift?
For shifts crossing midnight, the calculator treats the clock-out time as the following day before subtracting, so the duration comes out positive instead of negative.
Can I total a full week of work hours at once?
Yes, enter each day's clock-in and clock-out times and the calculator sums them into a weekly working hours total for the pay period.
How do I use this work hours calculator?
Enter the known values, review the units or settings, and the calculator updates the result instantly. The formula and example on this page show how the answer is produced.
What does the Work Hours Calculator calculate?
Total your work hours for a shift, week, or pay period from clock-in and clock-out times. It is designed for fast browser-based calculations without sign-up, downloads, or manual spreadsheet setup.
What formula does this work hours use?
The formula is: Hours Worked = Clock-Out Time − Clock-In Time − Unpaid Breaks. US federal law under the Fair Labor Standards Act, enacted in 1938, requires accurate timekeeping for non-exempt hourly employees specifically to enforce minimum wage and overtime protections - the 1938 Act was a landmark of New Deal-era labor legislation, and modern timesheet calculations like this one trace their basic recordkeeping structure directly back to the requirements it first established.
Related Calculators
Countdown Calculator
Count down the days, hours, and minutes until any future date or event.
Business Days Calculator
Calculate Business Days values quickly with a free online utility tool.
Meeting Cost Calculator
Calculate Meeting Cost values quickly with a free online utility tool.
QR Code Capacity Calculator
Calculate QR Code Capacity values quickly with a free online utility tool.
Date Calculator
Calculate the number of days, weeks, or months between two dates.
Fuel Cost Calculator
Calculate trip gas cost based on distance, vehicle MPG, and fuel price.
Last updated: September 27, 2026.