How to calculate hours worked

Finish minus start, minus the break. The arithmetic is easy; the mistakes come from mixing clock time with decimals.

Updated October 21, 2026 · 2 min read

One shift

Write both times on a 24-hour clock, then subtract. 8:45 AM to 5:15 PM becomes 08:45 to 17:15. Subtract the hours and the minutes separately — 17 − 8 = 9 hours, 15 − 45 = −30 minutes — and if the minutes go negative, borrow an hour: 8 hours 30 minutes. Then take off any unpaid break. With a 30-minute lunch, that shift is 8 hours.

Converting everything to minutes is slower but harder to get wrong: 17:15 is 1,035 minutes after midnight and 08:45 is 525, so the shift is 510 minutes, less 30 for lunch, 480 minutes — 8 hours.

Shifts past midnight

If the finish time is smaller than the start time, the shift crossed midnight. Add 24 hours to the finish before subtracting. 22:00 to 06:30 becomes 22:00 to 30:30: 8 hours 30 minutes. The hours usually belong to the day the shift started, although some payroll systems split them at midnight — check how yours does it.

Decimal hours

Payroll and invoicing systems want hours as a decimal, and this is where most errors creep in. The minutes have to be divided by 60, not written after a decimal point.

Clock timeDecimalNot
7:157.257.15
7:307.507.30
7:457.757.45
7:207.337.20

Write 7:45 as 7.45 on a timesheet and you’ve been paid for 7 hours 27 minutes. Over a year of shifts like that, it adds up to a meaningful amount of money.

A week

Work out each day separately, then add the days up in minutes or in decimal hours — never by adding clock times as though they were ordinary numbers. Five days of 7:45 is 38 hours 45 minutes, or 38.75 hours.

Worked example

Monday to Thursday, 8:00 to 17:30 with a 30-minute break: 9 hours a day, 36 hours. Friday, 8:00 to 14:15 with no break: 6.25 hours. Week total: 42.25 hours. If overtime starts at 40, that’s 40 regular hours and 2.25 at the overtime rate.

Breaks and rounding

Only unpaid breaks come off. In the US, short rest breaks — commonly up to about 20 minutes — are generally treated as paid working time under federal rules, while a genuine meal break of 30 minutes or more where you’re fully off duty usually isn’t. Rules elsewhere differ.

Some employers round clock-in and clock-out times, typically to the nearest 5, 6 or 15 minutes. US federal guidance accepts rounding only when it evens out over time rather than always favouring the employer. If your times are rounded, calculate with the rounded figures your employer uses, and keep your own record of the real ones.

For a single shift there’s also hours between two times, and if the question is how many working days a pay period has, the business days calculator answers that.