Turn a shift's start and end time, plus a break, into net working time.
Most shifts aren't just a start time and an end time — there's a lunch break in the middle that doesn't count as paid work. Subtracting that break correctly is one of the most common things a timecard has to get right, and the maths is simple once you see it laid out.
Net working time = (end time − start time) − break length. The trick is doing the subtraction in minutes, then converting back to hours and minutes at the end, so you don't accidentally treat 90 minutes as "1 hour 90 minutes" instead of 1 hour 30 minutes.
A shift runs from 9:00 AM to 5:00 PM with a 30-minute lunch.
A shift runs from 8:00 AM to 5:30 PM with a 45-minute lunch.
Not every shift starts on the hour. A shift runs from 6:15 AM to 2:40 PM with a 30-minute lunch.
You can check any of these instantly with the Break Calculator, which also works for 30-, 45-, and 60-minute lunches without any extra setup.
Some shifts have more than a single lunch break — a short morning break, a lunch, and a short afternoon break, for example. The formula still works the same way; just add every break's length together before subtracting the total from the gross shift time. A shift with a 10-minute morning break, a 30-minute lunch, and a 10-minute afternoon break has 50 minutes of total break time to subtract, not just the 30-minute lunch. If a day is really split into separate blocks of work rather than one shift with breaks in the middle, the Work Hours Calculator is often a cleaner fit, since it totals each work period directly instead of subtracting break time from one long shift.
Some employers round clock-in and clock-out times to the nearest 5, 6, or 15 minutes for payroll simplicity, as long as the rounding evens out over time and doesn't consistently shortchange employees. If your workplace rounds, apply the rounding to the clock times first, then subtract the break — rounding after subtracting the break can give a slightly different (and sometimes less accurate) result.
Estimates only. Not legal, tax, or payroll advice.