Work Hours Calculator

Turn start and end times into worked hours, subtract unpaid breaks, and handle overnight shifts.

Answer

Worked time

8h 00m

8 decimal hours

Shift timeline

09:00
17:30

30 minutes of the elapsed shift are excluded as break time.

Why this answer

Elapsed time minus breaks

The calculator finds the minutes between the two clock times, adds 24 hours when the shift crosses midnight, then subtracts the unpaid break.

510 elapsed minutes − 30 break minutes = 480 worked minutes

Put it to use

Useful before filling out a time card

Convert a shift such as 9:00–17:30 with a 30-minute break into 8.0 decimal hours, then use those hours in payroll, billing, or project tracking.

How it works

This calculator turns a start time and an end time into the hours you actually worked. It counts the minutes between the two clock times, then subtracts your unpaid break.

If the end time is earlier than or equal to the start time, the page assumes the shift ran past midnight and adds 24 hours. That makes night shifts work without any extra steps. The page flags these as overnight.

You get hours and minutes (like 8h 15m) and decimal hours (like 8.25). Payroll systems usually want the decimal form. The page handles one shift at a time.

Elapsed minutes = end time − start time (add 1,440 if the result is 0 or less)Worked minutes = elapsed minutes − unpaid break minutesDecimal hours = worked minutes ÷ 60

Worked example: A night shift from 22:00 to 06:45 with a 30-minute break

  1. Convert to minutes after midnight: 22:00 = 22 × 60 = 1,320 and 06:45 = 6 × 60 + 45 = 405.
  2. End minus start: 405 − 1,320 = −915, which is negative, so the shift crossed midnight.
  3. Add a day: −915 + 1,440 = 525 elapsed minutes.
  4. Subtract the break: 525 − 30 = 495 worked minutes.
  5. Convert: 495 ÷ 60 = 8.25 decimal hours, or 8h 15m.

Common mistakes

  • Writing 8h 15m as 8.15 hours. Minutes are sixtieths of an hour, so 15 minutes is 0.25 and 8h 15m is 8.25.
  • Subtracting a paid break. Enter only unpaid time in the break field. Short paid rest breaks stay in your worked hours.
  • Mixing up AM and PM. The page uses 24-hour time, so 5:30 PM is 17:30. Entering 05:30 gives a very different shift.
  • Entering the same start and end time. The page reads that as a full 24-hour shift, not zero hours.

Frequently asked questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, then take off any unpaid break. For 8:00 to 16:30 with a 30-minute lunch, that is 510 − 30 = 480 minutes, or 8 hours.

How do I convert minutes to decimal hours?

Divide the minutes by 60. So 7h 50m is 7 + 50 ÷ 60, about 7.833 hours.

How do I calculate hours for a shift that goes past midnight?

Add 24 hours to the end time before subtracting. The calculator does this for you whenever the end time is earlier than the start time.

Should lunch breaks be subtracted from hours worked?

Usually only if the break is unpaid. Under US federal law (FLSA), meal periods of 30 minutes or more where you are fully relieved of duty are typically unpaid, while short breaks are usually paid. State rules vary.