Skip to content

Time duration calculator

Hours and minutes between two times, overnight shifts included, minus any break.

Results

Duration 8:00 h

How it works

duration = end − start − break

Both times are turned into minutes since midnight and subtracted. When the end time is earlier than the start, the period crosses midnight, so 24 hours are added (10:00 PM to 6:00 AM is 8 hours). The break is then taken off.

  1. End minus start 5:30 PM − 9:00 AM = 8:30
  2. Take off the break 8:30 − 30 min = 8:00 h