How to Calculate Hours Worked, With Breaks and Overtime

By 4 min read

To calculate hours worked, subtract your start time from your end time, then take off any unpaid break. A shift from 8:45 am to 5:30 pm with a 30 minute lunch is 8 hours 15 minutes, or 8.25 hours. Add up the shifts for the week, and any hours above your overtime threshold, often 40, are overtime.

Step 1: work out the length of each shift

The easiest way is to write both times on a 24-hour clock and subtract.

  1. Write the start and end times in 24-hour time. 8:45 am stays 8:45. For pm times, add 12 to the hour (except 12 pm), so 5:30 pm becomes 17:30.
  2. Subtract the hours, then the minutes. If the end minutes are smaller than the start minutes, borrow one hour as 60 minutes.
  3. For 17:30 minus 8:45, borrow an hour: 16:90 minus 8:45 is 8 hours 45 minutes.

The time duration calculator does this for you from a start and an end hour and minute. It also handles shifts that end the next day.

Step 2: take off unpaid breaks

Paid breaks stay in your hours. Unpaid breaks come out. Take the 30 minute lunch away from 8 hours 45 minutes and you get 8 hours 15 minutes worked.

The break time calculator takes your time on site in hours and the unpaid break in minutes. For 8.75 hours on site and a 30 minute break, it gives 8.25 hours of work.

Step 3: turn minutes into decimal hours

Payroll and invoices use decimal hours, so 8 hours 15 minutes is written as 8.25, not 8.15. To convert, divide the minutes by 60:

Minutes Decimal hours
15 0.25
20 0.33
30 0.5
40 0.67
45 0.75

The minutes to hours converter does the division: 45 minutes is 0.75 hours, and a whole shift of 495 minutes is 8.25 hours.

Step 4: add up the week and find overtime

Here is a full five-day week:

Day Start End Unpaid break Hours worked
Monday 8:45 am 5:30 pm 30 min 8.25
Tuesday 9:00 am 5:15 pm 45 min 7.5
Wednesday 8:30 am 6:00 pm 60 min 8.5
Thursday 9:00 am 5:00 pm 30 min 7.5
Friday 7:00 am 5:30 pm 30 min 10

The total is 41 hours 45 minutes, or 41.75 hours. With overtime after 40 hours, 1.75 of those hours are overtime. The overtime hours calculator gives the same answer from the weekly total and your threshold.

At $22 an hour, with overtime paid at 1.5 times the hourly rate:

  • Regular pay: 40 × $22 = $880.00
  • Overtime pay: 1.75 × $22 × 1.5 = $57.75
  • Gross pay: $880.00 + $57.75 = $937.75

The fastest way: a time card for the whole week

The time card calculator does every step above at once. Enter one shift per line as start time, end time and break minutes:

8:45am 5:30pm 30
9:00 17:15 45
8:30am 6:00pm 60
9:00 17:00 30
7:00am 5:30pm 30

Then add your hourly rate, the overtime threshold (40 here, or 0 for no overtime) and the overtime multiplier (1.5). It lists each shift in hours and minutes and as decimal hours, then shows the total, regular pay, overtime pay and gross pay. For this week it gives 41h 45m (41.75 decimal hours) and gross pay of $937.75.

Write am and pm times without a space, such as 5:30pm, or use 24-hour times like 17:30.

Night shifts that cross midnight

If a shift ends at an earlier clock time than it started, it ran past midnight, so add 24 hours to the end time before you subtract. A shift from 22:00 to 6:30 is 8 hours 30 minutes. With a 30 minute break, that is 8 hours worked.

The time card calculator adds the 24 hours on its own when the end time is earlier than the start. In the time duration calculator, set "End time is next day?" to Yes.

Overtime rules depend on where you work

In the US, the Fair Labor Standards Act says non-exempt employees must get at least 1.5 times their regular rate for hours over 40 in a workweek. Some states add daily rules. In California, hours over 8 in a workday are paid at 1.5 times the rate, and hours over 12 in a workday at double time. Other countries set their own limits, and some employers pay overtime sooner than the law requires.

The time card calculator applies one weekly threshold. If your employer counts overtime by the day, check each day on its own with the overtime hours calculator, using 8 as the regular hours.

Common mistakes

Writing minutes as decimals. 7 hours 30 minutes is 7.5 hours, not 7.3. Always divide the minutes by 60.

Leaving in unpaid breaks. Only take off breaks your employer does not pay for. Short paid rest breaks stay in your hours.

Rounding each shift differently. Some employers round clock-in times to the nearest few minutes. Use the same rule for every shift, or add up the exact times and round only the weekly total.

Questions and answers

How do I calculate hours worked with a lunch break?

Subtract the start time from the end time, then take off the unpaid lunch. 9:00 am to 5:00 pm is 8 hours, and with a 30 minute unpaid lunch that is 7.5 hours worked.

What is 7 hours 45 minutes in decimal hours?

7.75 hours. Divide the minutes by 60 (45 ÷ 60 = 0.75) and add the result to the whole hours.

How many hours is 8 am to 5 pm?

9 hours on the clock. With a 1 hour unpaid lunch, that is 8 hours worked.

More from the blog