Your result will appear here
Fill in the fields and press Calculate.
Adding up worked hours by hand is deceptively error-prone — times are in base 60, breaks come out, and night shifts cross midnight. This calculator does it cleanly: enter when you clocked in and out, subtract an unpaid break, and get the hours in both decimal and hours-and-minutes form, plus gross pay if you add a rate.
How is it calculated?
From clock times to hours
The tool converts both times to minutes, takes the difference, subtracts the break and converts back:
| Step | Example |
|---|---|
| Clock in → out | 09:00 → 17:30 = 510 min |
| Minus break | − 30 min = 480 min |
| Worked | 480 min = 8h 00m = 8.00 h |
Decimal hours (8.00) are what you multiply by an hourly rate; hours-and-minutes (8h 00m) is what a timesheet shows.
Overnight shifts
If the end time is earlier than the start — say 22:00 to 06:00 — the calculator adds 24 hours so the shift rolls correctly over midnight, giving 8 hours rather than a negative number.
Gross pay
Add an hourly rate and it multiplies your decimal hours by it: 8.00 h × 20 = 160 gross. This is before tax and deductions. For a full week, run each day and add the daily totals — decimal hours make that sum straightforward.
Worked example
You clock in at 09:00 and out at 17:30, with a 30-minute unpaid lunch. That’s 8 hours 30 minutes of span, minus 30 minutes, so 8.00 hours worked. At a rate of 20 per hour, gross pay is 8.00 × 20 = 160. For a night shift from 22:00 to 06:00 the tool rolls past midnight and returns 8.00 hours rather than a negative figure.
FAQ
How do I calculate hours worked from clock-in and clock-out?+
Subtract the start time from the end time and take off any unpaid break. Because clock times are in base 60, it’s easy to slip; the calculator converts to minutes, subtracts the break and gives you both decimal hours (for pay) and hours-and-minutes (for the timesheet).
How does it handle overnight shifts?+
If the end time is earlier than the start time, it assumes the shift crosses midnight and adds 24 hours. A 22:00–06:00 shift therefore returns 8 hours, not a negative value.
What are decimal hours?+
Hours expressed as a decimal instead of hours and minutes — 8 hours 30 minutes is 8.5 decimal hours. Payroll uses decimal hours because you multiply them directly by an hourly rate; 8h 30m at 20/hour is 8.5 × 20 = 170.
Can I add up a whole week?+
Yes — calculate each day’s worked hours and add the decimal totals. Decimal hours make weekly sums easy (8.5 + 7.25 + 8.0 …). A single-shift calculation is the building block for any weekly timesheet.
Is the pay figure my take-home?+
No — gross pay is hours × rate, before income tax, insurance and other deductions. Use it to check a paycheck’s hours and gross amount; net pay depends on your country’s tax rules.