Hours Calculator
Work out the hours in a shift, minus breaks, and what it pays.
Last updated 2026-11-25 · How we calculate this
Your Hours
Enter a start and an end time.
The calculator handles one shift of up to 24 hours, to the nearest minute, with one unpaid break. Pay is before tax and deductions, and it doesn't work out overtime, shift premiums or tips. It assumes a normal day without a daylight saving change. Your employer's records and state law decide what counts as paid time.
Quick Answer
Hours worked are the time from clock-in to clock-out, minus any unpaid break. A shift from 9:00 AM to 5:30 PM with a 30-minute unpaid lunch is 8 hours. At $18.50 an hour, that pays $148.00 before tax.
How to Use This Calculator
Enter when the shift started and ended, then any unpaid break, such as a lunch hour. The calculator gives the hours worked in hours and minutes and as a decimal, the form payroll and timesheets usually use. Add your hourly rate to see what the shift pays before tax.
Night shifts work too: if the end time is earlier on the clock than the start, it counts as the next morning. For a total across several days, run each shift and add up the decimal hours.
- Enter the start time and the end time.
- Enter any unpaid break in minutes.
- Add your hourly rate if you want the pay.
- Read the hours worked and the pay for the shift.
The Formula
Hours worked = (end time − start time) − unpaid break. Pay = decimal hours × hourly rate.
Both times are turned into minutes after midnight and subtracted, with a day added if the shift crosses midnight. The unpaid break comes off next. Dividing the minutes by 60 gives decimal hours, so 465 minutes is 7.75 hours. Pay is rounded to the nearest cent.
Worked Example
Day shift: 9:00 AM to 5:30 PM is 510 minutes. Less a 30-minute lunch, that's 480 minutes, or 8 hours. At $18.50 an hour: 8 × 18.50 = $148.00.
Night shift: 10:00 PM to 6:30 AM is 510 minutes. Less a 45-minute break, that's 465 minutes, or 7 hours 45 minutes (7.75 hours). At $22.00 an hour: $170.50.
At the federal minimum wage: 8:00 AM to 4:30 PM with a 30-minute break is 8 hours, and 8 × $7.25 = $58.00.