Hours Worked Calculator
Work out exactly how long one shift — or several shifts in a row — actually lasted. Enter clock in, clock out and any unpaid break, and get net time worked in hours and minutes plus decimal hours. Everything calculates in your browser.
Your shifts
Enter times using AM/PM, for example 8:00 AM and 4:30 PM. A clock out earlier than the clock in is treated as the next day.
Time worked
Time only — no pay, overtime or tax is calculated here.
How this hours worked calculator works
This calculator measures time, not money. For each shift it takes the clock in time and the clock out time, works out the elapsed duration between them, then subtracts the unpaid break minutes you entered to give net worked time. Shifts that finish after midnight are handled automatically: when the clock out time is earlier than the clock in time, a full day is added before subtracting. You can add as many shifts as you need — a split shift, a run of night shifts or a few separate days — and the summary reports the combined total in both hours and minutes and decimal hours. Nothing is sent to a server; totals update as you type.
Formulas used
- Elapsed minutes = clock out − clock in (if clock out is earlier than clock in, add 24 hours)
- Applied break minutes = min(unpaid break entered, elapsed minutes)
- Net worked minutes = elapsed minutes − applied break minutes
- Total hours worked = sum of net worked minutes for every shift ÷ 60
- Decimal hours = hours + (minutes ÷ 60)
Worked example
A care worker records three shifts in a row: a standard day, a short evening shift and a night shift that runs past midnight.
| Shift | In | Out | Break | Elapsed | Worked |
|---|---|---|---|---|---|
| 1 | 08:00 | 16:30 | 30 min | 8h 30m | 8h 00m |
| 2 | 18:00 | 22:00 | 0 min | 4h 00m | 4h 00m |
| 3 | 22:00 | 06:00 | 45 min | 8h 00m | 7h 15m |
Shift 1 runs 8:00 AM to 4:30 PM, which is 8 hours 30 minutes elapsed; deducting the 30-minute unpaid break leaves 8 hours worked, or 8.00 decimal hours. Shift 3 starts at 22:00 and ends at 06:00, so the overnight rule adds a day and counts 8 hours elapsed, less a 45-minute break, for 7h 15m. Across all three shifts the total is 19h 15m, or 19.25 decimal hours.
Frequently asked questions
- How do I calculate hours worked in a shift?
- Subtract the clock-in time from the clock-out time to get the elapsed shift duration, then subtract the unpaid break minutes. For example 8:00 AM to 4:30 PM is 8 hours 30 minutes elapsed; a 30-minute unpaid break leaves 8 hours worked, or 8.00 decimal hours.
- How does this calculator handle an overnight shift?
- If the clock-out time is earlier than the clock-in time, the shift is treated as finishing the following day. A shift from 22:00 to 06:00 counts as 8 hours elapsed rather than a negative result.
- Can I calculate more than one shift at a time?
- Yes. Use Add another shift to enter as many separate shifts as you need — split shifts, a double, or several days. Each shift shows its own worked time, and the summary adds them into a single total.
- How is this different from the Time Card Calculator?
- This calculator answers a single question: how much time was worked. The Time Card Calculator is a fixed Monday-to-Sunday timesheet that also handles hourly pay, overtime thresholds and estimated gross pay.
- How do I convert hours and minutes into decimal hours?
- Divide the minutes by 60 and add the result to the hours. 7 hours 45 minutes becomes 7 + 45/60 = 7.75 decimal hours. Payroll systems normally expect decimal hours.
- Are unpaid breaks subtracted from the total?
- Yes. Break minutes are deducted from the elapsed duration of the shift they belong to, and a break can never be longer than the shift itself, so it is capped at the shift duration.
- Is anything I type saved or sent anywhere?
- No. All calculations run in your browser. No times or break values are uploaded, stored on a server or shared, and no sign-up is required.
More work-hours calculators
Other free WorkCalc Hub calculators. Entries still in development will be linked here as soon as they are published.
- Time Card CalculatorDaily clock in/out times and breaks to weekly totals, overtime and estimated gross pay.
- Overtime CalculatorHourly rate, regular and overtime hours to overtime rate, overtime pay and estimated gross pay.
- Decimal Hours CalculatorConvert hours and minutes to payroll-style decimal hours, or decimal hours back again.
- Break / Lunch CalculatorFind when a break ends, or subtract an unpaid lunch from a shift to get worked hours.
- Weekly Pay CalculatorHours and rate to weekly gross pay.Coming soon
- Shift Differential CalculatorNight, weekend and holiday premium rates.Coming soon
Notes and limitations
- This calculator reports time worked only — no pay, overtime or tax.
- Unpaid breaks are capped at the length of the shift they belong to.
- Rounding rules used by your employer's payroll may differ slightly.
- Results are an estimate and are not payroll or legal advice.