Guide

The Complete Guide to Calculating Your Work Hours

Tracking work hours sounds simple until you actually try to do it by hand for a full week. Split shifts, unpaid lunch breaks, and the occasional overnight shift all introduce small errors that add up over a pay period. This guide walks through exactly how to calculate your hours correctly, and the common mistakes that throw the math off.

Start with the basic formula

At its core, daily worked time is just end time minus start time, minus any unpaid break:

Worked hours = (End time − Start time) − Unpaid break time

If you clock in at 9:00 AM and clock out at 5:30 PM with a 30-minute unpaid lunch, that's 8.5 hours minus 0.5 hours, giving you exactly 8 hours worked. The complexity comes in once you introduce real-world scheduling quirks.

Handling shifts that cross midnight

Overnight shifts are the most common source of calculation errors. If you start work at 10:00 PM and finish at 6:00 AM, a naive subtraction gives you a negative number, because 6:00 AM is numerically earlier than 10:00 PM. The fix is to recognize that the end time actually belongs to the next calendar day, so you add 24 hours to it before subtracting.

10:00 PM to 6:00 AM becomes 22:00 to 30:00 in 24-hour math, which correctly comes out to 8 hours. Any calculator or spreadsheet formula you build for tracking hours needs this midnight-crossing check, or every overnight shift will be calculated incorrectly.

Don't forget rounding rules

Many employers round punch times to the nearest 5, 10, or 15 minutes rather than using the exact clock time. If your workplace uses rounding, ask your manager or HR department which rule applies, and apply it consistently when you calculate your own hours so your numbers match what shows up on your timesheet.

Separating paid and unpaid breaks

Not all breaks are treated the same. A short paid break, often 10 to 15 minutes, is typically still counted as worked time and should not be subtracted. A longer unpaid meal break, commonly 30 minutes to an hour, should be subtracted from your total. Mixing these up is one of the most common reasons a self-calculated total doesn't match a paycheck.

Calculating a full week

Once you have an accurate daily total, the weekly total is simply the sum of every day you worked. From there, you can compare the total against any overtime threshold that applies to you, since hours beyond that threshold are usually paid at a higher rate.

Use a tool that handles edge cases automatically

Doing this by hand across seven days, each with its own start time, end time, and break length, is tedious and error-prone. A real-time calculator that updates as you type, and that already accounts for midnight crossings and never lets a daily total go negative, removes nearly all of the manual arithmetic. Our work hours calculator handles exactly these cases, so you can focus on entering accurate times rather than doing the math yourself.

Key takeaways

Accurate hour tracking comes down to three habits: record exact clock times rather than rounding in your head, subtract only genuinely unpaid breaks, and account for any shift that crosses midnight. Get those three things right and your weekly total will line up with what your employer's system reports.