Enter a start and end time, deduct any break, and get the total in hours and minutes — plus decimal hours for payroll. Add as many rows as you need, and overnight shifts are handled automatically.
Times use a 24-hour clock. Overnight shifts (end earlier than start) wrap to the next day.
Subtract the start time from the end time, then take off any unpaid break:
Hours worked = (end time − start time) − break
Example. A shift from 9:00 AM to 5:00 PM is 8 hours. Subtract a 30-minute lunch and you worked 7 hours 30 minutes, or 7.5 decimal hours.
Payroll uses decimal hours. Here is how common minute amounts convert.
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 15 min | 0.25 | 40 min | 0.67 |
| 20 min | 0.33 | 45 min | 0.75 |
| 30 min | 0.50 | 60 min | 1.00 |
Subtract the start time from the end time. For example, from 9:00 AM to 5:00 PM is 8 hours; subtract a 30-minute lunch and you have 7.5 worked hours. This calculator does it for you and handles minutes and overnight shifts automatically.
Divide the minutes by 60 and add them to the hours. For example, 7 hours 30 minutes = 7 + 30/60 = 7.5 decimal hours. Payroll systems use decimal hours, and the calculator shows both formats.
If the end time is earlier than the start time, the calculator assumes the shift crosses midnight and wraps to the next day. For example, 10:00 PM to 6:00 AM is counted as 8 hours.
Yes. Add a row for each day or shift and the calculator sums the total. For a structured weekly grid with pay and overtime, use the Time Card Calculator.
Enter the unpaid break in minutes in the Break column for that row. The calculator deducts it from the worked time before totalling.
7.5 hours is 7 hours and 30 minutes, because 0.5 of an hour is 30 minutes. The calculator shows both the h:mm and decimal totals side by side.
Reviewed by the GPTResume team. Last updated July 2026. Disclaimer: Results are for guidance only. Your employer's rounding and break rules may differ.