HiveDesk

Work Hours Calculator

Calculate total work hours between a start time and end time, minus breaks. Get results in hours and minutes, decimal hours, and total minutes.

How to Calculate Work Hours

Calculating work time is straightforward once you know the formula:

The formula

Work Time = End Time - Start Time - Break Duration

Example: Start at 8:30 AM, end at 5:15 PM, with a 45-minute lunch break. Total elapsed time = 8 hours 45 minutes. Minus 45-minute break = 8 hours 0 minutes (8.00 decimal hours).

1

Note your start and end times

Record the exact time you begin and finish work. Use AM/PM format or 24-hour time. Be precise to the minute for accurate payroll.

2

Calculate total elapsed time

Subtract the start time from the end time. If the shift crosses midnight, add 24 hours to the end time before subtracting.

3

Subtract break time

Deduct any unpaid breaks (such as lunch). Most 8-hour shifts include a 30-minute or 1-hour unpaid meal break.

Work Time in Decimal Hours

Payroll systems typically require time in decimal format rather than hours and minutes. Converting is simple: divide the minutes by 60 and add to the hours.

MinutesDecimalMinutesDecimal
5 min0.0835 min0.58
10 min0.1740 min0.67
15 min0.2545 min0.75
20 min0.3350 min0.83
25 min0.4255 min0.92
30 min0.5060 min1.00

For example, 7 hours and 45 minutes = 7 + (45/60) = 7 + 0.75 = 7.75 decimal hours. At $20/hour, that equals $155.00.

Common Work Time Calculations

Reference table for standard shift lengths showing start time, end time, break duration, and the resulting net work time.

ShiftStartEndBreakNet TimeDecimal
8-hour shift9:00 AM5:00 PM0 min8h 0m8.00
8-hour shift + lunch9:00 AM5:30 PM30 min8h 0m8.00
8-hour shift + breaks8:00 AM5:00 PM60 min8h 0m8.00
10-hour shift7:00 AM5:30 PM30 min10h 0m10.00
12-hour shift6:00 AM6:30 PM30 min12h 0m12.00
Night shift10:00 PM6:30 AM30 min8h 0m8.00

Tracking Work Time Automatically

Manual time calculations work for occasional use, but they introduce errors and take time when done daily across a team. Common issues include forgetting exact start and end times, rounding errors, and inconsistent break tracking.

Automatic time tracking software eliminates these problems by recording clock-in and clock-out times precisely, calculating work hours automatically, and generating timesheets ready for payroll.

Learn more about the benefits of switching from manual to automated tracking in our guide to automated employee time tracking.

Frequently Asked Questions

How do I calculate work time?

Subtract your start time from your end time, then subtract any break time. For example, if you start at 9:00 AM and end at 5:00 PM with a 30-minute lunch break, your work time is 8 hours minus 30 minutes = 7 hours and 30 minutes.

What are decimal hours?

Decimal hours express time as a decimal number instead of hours and minutes. For example, 7 hours and 30 minutes is 7.50 decimal hours. This format is commonly used in payroll systems because it simplifies multiplication with hourly rates.

How do I convert minutes to decimal hours?

Divide the minutes by 60. For example, 45 minutes = 45/60 = 0.75 hours. Common conversions: 15 min = 0.25, 30 min = 0.50, 45 min = 0.75. For payroll, always round to two decimal places.

Does this calculator work for overnight shifts?

Yes. If your end time is earlier than your start time, the calculator automatically detects that the shift crosses midnight and calculates the total time correctly. For example, 10:00 PM to 6:00 AM = 8 hours.

Should I include lunch breaks in work time?

It depends on your employer and local labor laws. In the US, unpaid meal breaks (typically 30 minutes or more) are not counted as work time under the FLSA. Short rest breaks (5-20 minutes) are generally considered paid work time.

How is work time different from hours worked?

Work time and hours worked are often used interchangeably, but "hours worked" in a legal context specifically means time during which an employee is required to be on duty or at a prescribed workplace. Break time, commute time, and on-call time may or may not count depending on the situation.

Stop Calculating Work Time Manually

HiveDesk tracks work hours automatically with desktop, mobile, and browser apps. Generate accurate timesheets for payroll. $5/user/month, all features included.