How to Calculate Hours Worked: Breaks, Night Shifts and Decimal Hours

The short answer

Take your start time away from your finish time, then take off any unpaid breaks. For example, 8:45 to 17:15 is 8 hours 30 minutes, and with a 30-minute unpaid break that is 8 hours worked. For a shift that ends after midnight, add 24 hours to the finish time first. For decimal hours, divide the minutes by 60.

Work out your own hours for the week

Free, no sign-up. Your entries stay in this browser. Full page: work hours calculator.

    Pay, overtime and rounding
    Total hours0:00
    Gross pay
    Hours and pay for each day
    DayHoursDecimalPay

    Keeping a record every week? Clockbook for iPhone clocks you in with one tap and works this out for you. Coming soon to the App Store.

    Your entries stay in this browser. Nothing is sent to us.

    Working out your hours sounds simple until a shift crosses midnight, a break goes unpaid or your employer asks for decimal hours. This guide walks through each case with worked examples, so you can check your own timesheet or payslip with confidence.

    The basic formula

    For any single shift:

    Hours worked = finish time − start time − unpaid breaks

    For example, a shift from 8:45 to 17:15 with a 30-minute unpaid lunch:

    1. 17:15 − 8:45 = 8 hours 30 minutes
    2. 8 hours 30 minutes − 30 minutes = 8 hours worked

    Do this for each shift, then add up the shifts for the week.

    Subtracting times step by step

    Using the 24-hour clock makes the sums easier, because 5:30 pm becomes 17:30 and there is no am or pm to trip over.

    Take the hours away from the hours and the minutes away from the minutes. If the finish minutes are smaller than the start minutes, borrow an hour as 60 minutes.

    For a shift from 9:50 to 17:20:

    1. 20 minutes is less than 50 minutes, so borrow an hour: 17:20 becomes 16 hours 80 minutes
    2. 16 − 9 = 7 hours, and 80 − 50 = 30 minutes
    3. The shift is 7 hours 30 minutes

    Taking off breaks

    Only unpaid breaks come off your hours. A paid break is part of your working time, so it stays in.

    • In the UK, if you work more than 6 hours in a day you are entitled to one uninterrupted 20-minute rest break. The law does not require it to be paid, so whether it is depends on your contract.
    • In the US, federal law does not require breaks at all, but if your employer gives short breaks of about 5 to 20 minutes, they count as hours worked. Meal periods, usually 30 minutes or more when you are fully relieved from duty, generally do not. Some states add their own rules.

    If you are not sure whether your break is paid, check your contract or ask. It can change your weekly total by two hours or more.

    Shifts that run past midnight

    When a shift ends the next day, add 24 hours to the finish time before you subtract.

    For a night shift from 22:00 to 6:30 with a 30-minute unpaid break:

    1. 6:30 + 24 hours = 30:30
    2. 30:30 − 22:00 = 8 hours 30 minutes
    3. 8 hours 30 minutes − 30 minutes = 8 hours worked

    Most employers count the whole shift on the day it started, so a Friday night shift belongs to Friday. The calculator above does this for you: type the times as they were and it knows the shift ended the next morning.

    Converting to decimal hours

    Timesheets and payroll often want decimal hours, because pay is then simply hours × rate. Keep the whole hours and divide the minutes by 60.

    Minutes Decimal Minutes Decimal
    5 0.08 30 0.50
    6 0.10 35 0.58
    10 0.17 40 0.67
    15 0.25 45 0.75
    20 0.33 50 0.83
    25 0.42 55 0.92

    So 7 hours 45 minutes is 7.75 hours, and 8 hours 20 minutes is 8.33 hours.

    The most common mistake is copying the minutes straight after the point. 7:40 is 7.67 hours, not 7.40. Over a month, that mistake can cost you hours of pay.

    Adding up a week

    Here is a mixed week, with a split shift on Wednesday and a night shift on Friday:

    Day Shifts Unpaid break Hours Decimal
    Monday 9:00–17:30 30 min 8:00 8.00
    Tuesday 9:00–17:30 30 min 8:00 8.00
    Wednesday 7:00–11:00 and 16:00–21:30 none 9:30 9.50
    Friday 22:00–6:30 30 min 8:00 8.00
    Saturday 10:00–14:15 none 4:15 4.25
    Total 37:45 37.75

    At £12.71 an hour, the UK National Living Wage for workers aged 21 and over from April 2026, that week is 37.75 × £12.71 = £479.80 before tax. You can check this exact week in the calculator above.

    When your employer rounds your time

    Some employers round each shift to the nearest 5, 6 or 15 minutes. Done fairly, rounding goes both ways and evens out over time. If it always seems to go against you, raise it with your employer.

    If your payslip uses rounding, set the same step in the timesheet calculator so your figures match theirs.

    Keep a record as you go

    Adding up hours at the end of the month from memory is where mistakes creep in. Writing down your start, finish and breaks each day, or using an app that does it for you, gives you a record you can check against every payslip. If something is wrong, a dated record of your hours is the strongest thing you can bring to your employer.

    Questions

    How many hours is 9 to 5?

    9:00 to 17:00 is 8 hours. If you take a 30-minute unpaid lunch break, you have worked 7 hours 30 minutes, or 7.5 hours. If your lunch break is paid, it still counts as 8 hours.

    How do I work out hours worked in decimal?

    Keep the whole hours and divide the minutes by 60. 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours. Do not just write the minutes after the point: 7:40 is 7.67 hours, not 7.40.

    How do I calculate hours for a night shift?

    Add 24 hours to the finish time, then subtract the start time as normal. A shift from 22:00 to 6:30 is 30:30 minus 22:00, which is 8 hours 30 minutes before breaks.

    Does my lunch break count as hours worked?

    Only if it is paid. Unpaid breaks are taken off your hours; paid breaks are part of your working time. In the UK, whether a break is paid is up to your contract. In the US, short breaks of about 5 to 20 minutes are counted as work time under federal law, while meal periods when you are fully relieved from duty usually are not.

    What if my employer rounds my clock-in times?

    Some employers round each shift to the nearest 5, 6 or 15 minutes. It should even out over time rather than always cut your hours. Ask which step they use, and compare your own record with your payslip.

    Sources

    This is general information, not legal, tax or financial advice. Rules change and depend on your contract and where you work; check the sources above or ask your employer, Acas (UK) or your state labor department (US) about your own situation. Pay figures from the calculator are estimates of gross pay.