How to use the shift hours calculator
How it works
Each row is one shift: a start time and an end time. The duration is simply:
Shift length = end time − start time
If the end time falls before the start time, the shift is treated as crossing midnight, so 24 hours are added to the end before subtracting. That is why a 22:00 → 06:00 night shift correctly totals 8 hours, not −16.
Breaks
The calculator totals rostered time and does not deduct breaks. For paid-hours totals, either enter the shift in two parts around an unpaid break, or adjust the end time.
Nothing is saved
Your rota stays in this browser tab. Nothing is stored, sent, or recorded anywhere — refreshing the page clears it.
Example
A night shift from 22:00 to 06:00 = 8 hours. Five weekday shifts of 09:00–17:00 total 40 hours; add a Saturday night shift and the week comes to 48 hours.
Frequently asked questions
How are night shifts that cross midnight counted?
Automatically. If the end time is earlier than the start time, the shift is treated as running past midnight into the next day. A shift from 22:00 to 06:00 counts as exactly 8 hours.
Does this calculator deduct breaks?
No. It totals the time between each start and end. If your breaks are unpaid, shorten the shift times or split the day into two rows (before and after the break) so the total reflects paid time only.
Can I mix day shifts and night shifts in one week?
Yes. Each row is independent, so earlies, lates, and nights can all sit in the same list. Add or remove rows as needed.
Why show minutes as well as hours?
Payroll and timesheets often work in exact minutes. The total is shown both ways so you can copy whichever your system expects. Note this tool stores nothing — the rows exist only in your open browser tab.
More free tools
Stopping Distance Calculator
Thinking distance, braking distance, and total stopping distance at any speed — based on the UK Highway Code reference figures.
Speed, Distance & Time Calculator
Know two of speed, distance, and time? Work out the third in mph or km/h, miles or kilometres.
Overtime Pay Calculator
Overtime at time-and-a-half and double time, from an hourly rate or an annual salary, with a full pay breakdown.
Fitness Test Pace Calculator
Training for the 1.5 mile / 2.4 km run? Enter your target time and get the exact pace per mile, per kilometre, and per lap.
Incident Time Difference
The exact gap between two date-times for logs and timelines — in days, hours, and minutes, to the second.
Reaction Distance Calculator
How far a vehicle travels before the driver even touches the brake — shown in metres, feet, and car lengths.