Hours calculator

Hours worked = end time − start time − unpaid breaks, so 9:00 AM to 5:30 PM with a 30-minute break is 8 hours. Work out any shift, night shifts included, or add up a week of hours with pay and overtime.

hours worked8 hours

From 9:00 AM to 5:30 PM, less a break of 30 minutes, is 8 hours.

What do you want to work out?

Type times like 9:00 AM, 5:30 PM or 17:30. An end time earlier than the start counts as the next day. Leave a day empty if you didn't work it.

Working

  1. start9:00 AM
  2. end5:30 PM
  3. time between8 hours 30 minutes
  4. − unpaid break30 minutes
  5. in decimal hours8
  6. as hours:minutes8:00

Report a problem with this calculator

How hours worked are counted

hours worked = end time − start time − unpaid break

The calculator counts in whole minutes, so nothing is rounded until the answer is shown. When the end time is earlier than the start time, the shift is taken to end the next day, and 24 hours are added to the end time before subtracting. A start and end at the same time counts as no time, not a full day.

The answer is given three ways: in hours and minutes, in decimal hours (minutes ÷ 60), and as hours:minutes the way many timesheets write it. Payroll systems usually want decimal hours: 8 hours 15 minutes is 8.25, not 8.15.

Worked examples

A day shift with lunch

9:00 AM to 5:30 PM is 8 hours 30 minutes. Take off a 30-minute unpaid lunch and the time worked is 8 hours, or 8 decimal hours.

A night shift

10:00 PM to 6:30 AM the next morning: the end time is earlier, so 24 hours are added to it. 6:30 + 24:00 − 22:00 = 8:30, and with a 30-minute break that is 8 hours.

A long week with overtime

Five days of 8:00 AM to 5:30 PM with a 30-minute lunch is 45 hours. At $20 an hour with the federal overtime rule, the first 40 hours pay $800.00 and the other 5 hours pay $150.00 at $30, for $950.00 before tax.

Minutes to decimal hours

Divide minutes by 60. Payroll usually rounds to two decimals; the last column is the exact figure to four.

MinutesDecimal hoursMore exactly
5 min0.080.0833
6 min0.10.1
10 min0.170.1667
12 min0.20.2
15 min0.250.25
20 min0.330.3333
25 min0.420.4167
30 min0.50.5
35 min0.580.5833
40 min0.670.6667
45 min0.750.75
50 min0.830.8333
55 min0.920.9167
60 min11

Overtime and rounded time clocks

The overtime box applies the federal rule from the Fair Labor Standards Act: employees who are not exempt get at least 1.5 times their regular rate for hours over 40 in a workweek (US Department of Labor). A workweek is a fixed run of seven days set by the employer, not necessarily Monday to Sunday. Some states go further: California, for example, also pays overtime after 8 hours in one day.

Many employers round clock-in and clock-out times to the nearest 5, 6 or 15 minutes. Federal rules allow this only if, over time, it doesn't leave employees underpaid (29 CFR 785.48). This calculator uses the exact times you enter.

Results are estimates of hours and pay before tax. They are not legal or payroll advice.

Questions people ask

How do I calculate hours worked?

Take the end time minus the start time, then subtract any unpaid break. 9:00 AM to 5:30 PM is 8 hours 30 minutes; less a 30-minute lunch that is 8 hours. If the shift ends after midnight, add 24 hours to the end time first.

How do I turn minutes into decimal hours?

Divide the minutes by 60. 45 minutes is 45 ÷ 60 = 0.75 hours, so 7 hours 45 minutes is 7.75 hours. The table on this page lists the common ones. Payroll systems usually want decimal hours, not hours and minutes.

What if a shift goes past midnight?

Enter the times as they are. When the end time is earlier than the start time, the calculator counts it as the next day: 10:00 PM to 6:30 AM with a 30-minute break is 8 hours.

Do breaks count as hours worked?

Under US federal rules, short rest breaks of about 5 to 20 minutes count as work time and are paid. A meal period of 30 minutes or more, during which you are fully relieved of duty, generally does not count (29 CFR 785.18 and 785.19). Enter only the unpaid break in the break box. State law and your employer’s policy can be more generous.

How is overtime worked out?

For employees covered by the federal Fair Labor Standards Act, hours over 40 in a workweek are paid at least 1.5 times the regular rate. 45 hours at $20 an hour is 40 × $20 plus 5 × $30, which is $950.00. Some states, such as California, also require overtime after 8 hours in a day; tick the overtime box for the federal weekly rule only.

Last checked November 13, 2026. See how we calculate and test our results.