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

  1. Enter the shift's start and end time.
  2. Enter the unpaid break length.
  3. Read the paid shift length.

Assumptions

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
Common mistakes

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.