Hours Worked Calculator

Calculate Total Pay?

Hours Worked

7h 30m

The Numbers

  • Decimal hours: 7.5
  • Total pay: $150.00

Compare Calculations

Downloads

Includes your inputs and results for this calculation, plus any additional calculations you've compared.

How This Calculator Works

Hours worked is the time between clock-in and clock-out, minus any unpaid break. Enter when you clocked in, when you clocked out, and how many minutes of unpaid break you took, and this calculator returns your total hours worked — plus your total pay, if you enter an hourly rate.

This calculator handles overnight shifts correctly: if your clock-out time is earlier in the day than your clock-in time (like working 10:00 PM to 6:00 AM), it assumes the shift crossed midnight rather than treating it as an error.

The Formula

Raw Hours=Clock-Out TimeClock-In Time\vE{\text{Raw Hours}} = \vA{\text{Clock-Out Time}} - \vB{\text{Clock-In Time}} (adding 24 hours if the shift crosses midnight)

Total Hours Worked=Raw Hours(Unpaid Break Minutes÷60)\vF{\text{Total Hours Worked}} = \vE{\text{Raw Hours}} - (\vC{\text{Unpaid Break Minutes}} \div 60) Total Pay=Total Hours Worked×Hourly Rate\text{Total Pay} = \vF{\text{Total Hours Worked}} \times \vD{\text{Hourly Rate}}

Worked Example

Clocking in at 9:00 AM, out at 5:00 PM, with a 30-minute unpaid lunch break, at $20/hour:

  1. Raw hours: 17:009:00=8 hours\vA{\text{17:00}} - \vB{\text{9:00}} = 8 \text{ hours}.
  2. Total hours worked: 8(30÷60)=7.5 hours8 - (\vC{30} \div 60) = 7.5 \text{ hours} (7h 30m).
  3. Total pay: 7.5×20=150.007.5 \times \vD{20} = 150.00.

Source: Wikipedia: Timesheet.

Frequently Asked Questions

Does this handle overnight shifts?

Yes — if your clock-out time is earlier in the day than your clock-in time (for example, 10:00 PM to 6:00 AM), this calculator assumes the shift crossed midnight and adds a full day, rather than treating it as an error.

What if I took multiple breaks?

Add up the total unpaid break time across all your breaks and enter that combined total in the break field.

Do I need to enter an hourly rate?

No — the hourly rate is optional. Leave it out if you just want the total hours worked, or fill it in under "Calculate total pay?" to also see your total pay for the shift.