Hours worked calculator

A start time, an end time and a break give the hours worked, in h:mm and decimal.

7:30
7.50 hours in decimal · 450 minutes
Shift length
8:00
Break
0:30
Pay for the shift
$0.00
Crosses midnight
No

Hours between two times, for a single shift

This is the quick version of the time card: one shift, one answer. Set the start and end time, enter any unpaid break, and the hours worked show immediately in two forms. The h:mm form (7:30) is how a time clock displays it; the decimal form (7.50) is what payroll multiplies by your rate. Add an hourly rate if you want to see what the shift pays. For a full week of shifts, overtime and a printable card, use the time card calculator instead.

How hours worked are calculated

  1. Convert both times to minutes after midnight. 9:00 AM is 540; 5:30 PM is 1,050.
  2. Subtract start from end: 1,050 − 540 = 510 minutes.
  3. If the end time is earlier than the start, the shift ran past midnight; add 1,440 minutes (24 hours) before subtracting.
  4. Take away the unpaid break: 510 − 30 = 480 minutes.
  5. Divide by 60 for decimal hours: 480 ÷ 60 = 8.00.

Common shifts and their hours

ShiftUnpaid breakHours workedDecimal
9:00 AM to 5:00 PM30 min7:307.50
9:00 AM to 5:00 PM60 min7:007.00
8:00 AM to 4:30 PM30 min8:008.00
7:00 AM to 3:30 PM30 min8:008.00
6:00 AM to 6:30 PM30 min12:0012.00
10:00 PM to 6:30 AM30 min8:008.00
11:00 PM to 7:00 AMnone8:008.00

Which breaks come off the total

Only unpaid breaks are subtracted. Under federal rules, short rest breaks of about 5 to 20 minutes count as hours worked and must be paid. A meal period of 30 minutes or more is unpaid only if you are completely relieved of duty: if you eat at your desk while answering the phone, that time is work. Federal law does not require employers to give breaks at all, but many states do. The are lunch breaks paid guide covers both sides.

Overnight and long shifts

Shifts that cross midnight are the usual reason hand calculations go wrong. Subtracting 10:00 PM from 6:30 AM gives a negative number; the fix is to count the hours to midnight (2 hours) and then the hours after it (6.5 hours), for 8.5 hours before the break. The calculator does this automatically and flags that the shift crossed midnight. For overtime purposes, the hours belong to the workday in which the shift started unless your employer defines the workday differently.

Hours worked versus hours paid

Hours worked is the legal measure for minimum wage and overtime. Hours paid can be higher, because paid holidays, sick leave and vacation are paid but not worked, and they do not count toward the 40 hour overtime threshold under federal law. When you compare this total with a pay stub, compare it with the hours worked line, not the total hours paid.

Frequently asked questions

How many hours is 9 to 5?

Eight hours on the clock. With a 30 minute unpaid lunch it is 7.5 hours worked; with an hour lunch it is 7 hours.

How many hours is 7 AM to 3:30 PM?

Eight and a half hours on the clock, or 8 hours worked after a 30 minute unpaid lunch.

How do I calculate hours worked in a week?

Work out each day the same way, then add them up, carrying every 60 minutes into an hour. The time card calculator on the homepage does this for all seven days at once.