How to Calculate Hours Worked on a Time Card

Clock out minus clock in, minus the unpaid break. Here is the method step by step, with overnight shifts, a full week and the mistakes that cause wrong totals.

Open the Hours Worked Calculator →

The short answer

hours worked = clock out − clock in − unpaid break

Do it in whole minutes and the arithmetic stays simple. 9:00 AM to 5:30 PM is 8 hours 30 minutes. Take off a 30 minute unpaid lunch and the shift is 8 hours.

Step by step

  1. Write both times on the 24 hour clock. Add 12 to any PM hour except 12 PM: 5:30 PM is 17:30. Midnight is 00:00 and noon is 12:00.
  2. Subtract the clock in from the clock out. 17:30 − 09:00 = 8:30. If the minutes on top are smaller, borrow an hour: 17:15 − 08:30 is 16 hours 75 minutes minus 8 hours 30 minutes, which is 8:45.
  3. Subtract unpaid breaks. Only breaks where you are off the clock. 8:30 − 0:30 = 8:00.
  4. Repeat for each day, then add the days. Add the minutes first and carry each 60 into the hours.
  5. Convert to decimal if you need to. Divide the minutes by 60: 8 hours 15 minutes is 8.25 hours. The minutes to decimal chart has every minute from 1 to 60.

Overnight shifts

When the clock out is earlier than the clock in, the shift crossed midnight. Add 24 hours to the clock out before subtracting. 10:00 PM to 6:00 AM: 06:00 + 24:00 = 30:00, and 30:00 − 22:00 = 8:00. The overnight shifts guide covers which day the hours belong to.

A worked week

Day In Out Unpaid break Worked
Mon 8:30 AM 5:15 PM 30 min 8:15
Tue 8:30 AM 5:15 PM 30 min 8:15
Wed 9:00 AM 5:30 PM 30 min 8:00
Thu 9:00 AM 5:30 PM 30 min 8:00
Fri 9:00 AM 1:00 PM 0 4:00
Week 36:30 (36.50 h)

Minutes: 15 + 15 + 0 + 0 + 0 = 30, so 0:30. Hours: 8 + 8 + 8 + 8 + 4 = 36. Total 36 hours 30 minutes, or 36.50 as a decimal. At $22 an hour that is 36.5 × $22 = $803.00.

Common mistakes

  • Subtracting on a 12 hour clock. 5:15 minus 8:30 does not work. Convert to 24 hour time first.
  • Forgetting AM and PM. 8:30 to 5:15 is 8:45 only if the second time is PM.
  • Treating 8:30 as 8.30. 8 hours 30 minutes is 8.5 hours. 8.30 hours is 8 hours 18 minutes.
  • Subtracting a paid rest break, or leaving in an unpaid meal period.
  • Rounding each day’s decimal and then adding. Add exact minutes, convert once.

Reference: decimal hours for common minutes

Minutes to decimal hours
MinutesDecimalMinutesDecimalMinutesDecimalMinutesDecimal
10.02160.27310.52460.77
20.03170.28320.53470.78
30.05180.30330.55480.80
40.07190.32340.57490.82
50.08200.33350.58500.83
60.10210.35360.60510.85
70.12220.37370.62520.87
80.13230.38380.63530.88
90.15240.40390.65540.90
100.17250.42400.67550.92
110.18260.43410.68560.93
120.20270.45420.70570.95
130.22280.47430.72580.97
140.23290.48440.73590.98
150.25300.50450.75601.00

Use the hours worked calculator to do all of this in one step, or the time card calculator for a whole week with breaks, overtime and pay. These are estimates for guidance, and your employer’s records are what count.

Frequently asked questions

How do I calculate hours worked from 8:30 AM to 5:15 PM?

From 8:30 AM to 5:15 PM is 8 hours 45 minutes. If 30 of those minutes were an unpaid lunch, you worked 8 hours 15 minutes, or 8.25 hours as a decimal.

How do I subtract times on a time card?

Convert both times to the 24 hour clock, subtract the earlier from the later, and borrow 60 minutes when needed. For 17:15 minus 08:30: 15 minutes cannot lose 30, so take an hour. That is 16 hours 75 minutes minus 8 hours 30 minutes, which is 8 hours 45 minutes.

Do I include lunch in hours worked?

Only if it is paid. A meal period where you are fully relieved of duty is normally not work time, so you subtract it. A short rest break of about 5 to 20 minutes is paid work time and is not subtracted.

How do I add up hours and minutes for the week?

Add the minutes columns first, carry every 60 minutes into the hours, then add the hours. 8:15 + 7:50 = 15 hours 65 minutes, which is 16:05. Convert to decimal only at the end.

Why does my total differ from my employer''s?

Common causes are punch rounding, a different workweek start day, an unpaid break your employer deducts automatically, and rounding decimal hours too early. Ask for the rounding and break rules in writing.