How it works
The calculator finds the minutes between your start and end times, subtracts the unpaid break, and converts the result to hours and minutes plus decimal hours for payroll. If the end time is before the start time, it treats the shift as overnight and adds a day.
worked minutes = (end − start) − break
decimal hours = worked minutes ÷ 60
pay = decimal hours × hourly rate
Worked example
A shift from 09:00 to 17:30 is 510 minutes. Take off a 30-minute break to get 480 minutes, which is 8.00 decimal hours. At $20/hour that is $160.00.
Worked examples and decimal minutes
A shift from 8:45 AM to 5:15 PM is 8 hours 30 minutes; minus a 30-minute unpaid lunch, that is 8.0 hours. An overnight shift from 10:00 PM to 6:30 AM is 8 hours 30 minutes, or 8.5 decimal hours. Five 8-hour shifts plus one 6-hour shift make 46 hours, and under the US Fair Labor Standards Act non-exempt employees are owed time-and-a-half for the 6 hours over 40.
12-hour to 24-hour time
Sample weekly timesheet
At $22 an hour with time-and-a-half after 40 hours: 40 × $22 + 0.5 × $33 = $880 + $16.50 = $896.50.
Rounding and overtime rules
- Federal rules allow employers to round time to the nearest 5, 6 or 15 minutes, as long as rounding is neutral over time (the "7-minute rule" for quarter hours).
- Under the FLSA, non-exempt employees earn 1.5× pay for hours over 40 in a workweek.
- Some states add daily overtime; California, for example, pays overtime after 8 hours in a day.
- A full-time 40-hour week equals 2,080 hours a year.
For overtime pay across a full week, use the overtime pay calculator.
Frequently asked questions
How do I calculate hours worked?
Subtract start from end and deduct any unpaid break. Overnight shifts (end before start) add 24 hours automatically.
How are decimal hours found?
Divide worked minutes by 60, 8h 15m becomes 8.25 decimal hours, the format payroll uses.
How do I convert minutes to decimal hours?
Divide by 60. 15 minutes is 0.25 hours, 45 minutes is 0.75 hours.
Is a 30-minute lunch counted as hours worked?
Not if it is a genuine unpaid meal break. Under US federal rules, short breaks of about 5 to 20 minutes are paid work time, while bona fide meal breaks of 30 minutes or more can be unpaid.
How do I convert 24-hour time to 12-hour?
Subtract 12 from hours 13 to 23 and add PM; 00 becomes 12 AM. For example, 17:45 is 5:45 PM.
What is the 7-minute rule?
If time is rounded to the nearest quarter hour, 1 to 7 minutes rounds down and 8 to 14 minutes rounds up. It is allowed under federal rules when applied neutrally.