Skip to calculator
Libre CalculatorThe universe in numbers

Work hours calculator

Turn a shift’s start, end and unpaid break into paid decimal hours.

Answer

8 hours

Steps

09:00 to 17:30 is 510 min. 510 min − 30 min break = 480 min paid. 480 ÷ 60 = 8 hours

Paid time and break within the shift
A bar for the shift from 09:00 to 17:30, 8 h 30 min long, split into 8 h paid and 30 min unpaid break.

Watch the explainer

191 seconds · 7 chapters · captions included

0:00 / 3:11Where did the hour go?

Explanation

What this measures

Paid hours are the time from start to end minus any unpaid break, written as decimal hours. Seven hours and thirty minutes is 7.5 hours, which is the number most timesheets and payroll tools expect.

How to use it

Enter start and end as 24-hour HH:MM times and the unpaid break in whole minutes. If the shift finishes after midnight, set the shift end to next day. Asking avoids guessing whether an earlier end time is an overnight shift or a typo.

H = (e − s + 1440n − b) ÷ 60

Variables
Hpaid hours
sstart time in minutes after midnight
eend time in minutes after midnight
n1 if the shift ends the next day, else 0
bunpaid break in minutes

09:00 to 17:00 with a 30-minute break

Start time09:00
End time17:00
Shift endsSame day
Unpaid break30
Result7.5 hours

09:00 to 17:00 is 480 min. 480 min − 30 min break = 450 min paid. 450 ÷ 60 = 7.5 hours

An overnight shift

Start time22:00
End time06:00
Shift endsNext day
Unpaid break0
Result8 hours

22:00 to 06:00 is 480 min. 480 min − 0 min break = 480 min paid. 480 ÷ 60 = 8 hours

A short shift

Start time10:00
End time12:15
Shift endsSame day
Unpaid break15
Result2 hours

10:00 to 12:15 is 135 min. 135 min − 15 min break = 120 min paid. 120 ÷ 60 = 2 hours

Diagram of this result

The diagram shows the whole shift as one bar, split into paid time and the unpaid break.

A text summary gives the shift times, the shift length, the paid time and the break.

Common mistakes

Thirty minutes is 0.5 hours, not 0.30 hours. Do not subtract a break twice or forget to mark an overnight shift. Whether a break is paid depends on your employer; enter only the unpaid part.

Limits and assumptions

Wall-clock arithmetic for shifts up to 24 hours, with no daylight saving correction, overtime, wages or legal break rules. Equal start and end times with next day give a full 24-hour shift. The break cannot exceed the shift.

Sources

Exact conversion: 60 minutes = 1 hour. Independently written shift checks.

Why do I have to say the shift ends the next day?

An end time earlier than the start could be an overnight shift or a typing mistake. Choosing next day records which one you mean.