Shift-length calculator
Work out the paid length of a work shift, from its start and end time minus an unpaid break — handles an overnight shift automatically.
Result
Paid shift length
How to use this calculator
- Enter the shift's start and end time.
- Enter the unpaid break length.
- Read the paid shift length.
Assumptions
- Assumes the break is entirely unpaid — a paid break shouldn't be subtracted.
Technical details: what the fields mean
- Shift start
startTime - When the shift starts.
- Shift end
endTime - When the shift ends — if earlier than the start time, it's assumed to be the next day (an overnight shift).
- Unpaid break
breakMinutes - Unpaid break time to subtract from the total shift length.
Methodology
Total shift time = end time − start time (adding 24 hours if it spans overnight). Paid hours = total shift time − unpaid break.
Worked example
9:00 to 17:30, 30-minute break
Inputs: startTime=09:00, endTime=17:30, breakMinutes=30
Result: 8.00 paid hours
Practical guidance
- Check your contract or local employment law for minimum unpaid break entitlements — these vary by shift length and jurisdiction.
Common mistakes
- Subtracting a paid break as if it reduced paid hours, when only unpaid breaks should be subtracted.
FAQs
How do I work out my paid hours for a shift?
Subtract your unpaid break from the total time between your start and end time — this calculator does that directly.