Work hours calculator
Hours worked between a start and end time, with breaks taken out. Overnight shifts welcome.
Hours worked
How to calculate hours worked
Enter your clock-in and clock-out times and the calculator works out the time between them, subtracts any break, and shows the result as both hours and minutes and a decimal number of hours. Add an hourly rate to see your gross pay for the shift. If your end time is earlier than your start time, it assumes an overnight shift and rolls over midnight.
Worked example
A 9:00 to 17:00 shift with a 30-minute break is 7.5 hours (7 hours 30 minutes). At $20 an hour, that is $150 of gross pay. Decimal hours are what most payroll systems expect, so 7:30 becomes 7.50.
Frequently asked questions
How do I calculate hours worked?
Subtract your start time from your end time, then take off any unpaid break. This calculator does both and shows the answer in hours and minutes and as decimal hours.
How does it handle an overnight shift?
If the end time is earlier than the start time, the calculator assumes you worked past midnight and adds a full day, so a 22:00 to 06:00 shift correctly returns 8 hours.
How do I subtract a lunch break?
Enter the break length in minutes. It is removed from the total, so a paid shift with an unpaid 30-minute lunch reflects only the time you were actually working.
How do I convert hours and minutes to decimal?
Divide the minutes by 60 and add to the hours. The calculator shows decimal hours automatically, which is what most timesheets and payroll systems use.
How is my pay calculated?
Gross pay is your decimal hours multiplied by your hourly rate. Enter a rate to see it; the figure is before tax and other deductions.