Work Hours Calculator

Total your work hours for a shift, week, or pay period from clock-in and clock-out times.

Net Work Hours
37.5 h

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

ScenarioResultCalculation Step
9:00 AM to 5:30 PM with a 30-minute lunch8 hours5:30 PM − 9:00 AM = 8.5 hours, minus a 0.5-hour break = 8 hours.
Overnight shift, 10:00 PM to 6:00 AM8 hoursTreating 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

  1. Open the Work Hours Calculator and enter the values requested in the input fields.
  2. Check the units, percentages, dates, or time periods before reading the answer.
  3. Review the instant result and adjust any value to compare another scenario.
  4. 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.

Last updated: September 27, 2026.