How the duration is calculated
Both times are converted to minutes after midnight and subtracted. If the end time is earlier than the start time, the calculator assumes the period runs past midnight into the next day, which suits night shifts.
From 09:00 to 17:30 is 510 minutes, or 8 h 30 min. With a 30 minute break the working time is 8 hours.
Decimal hours for payroll
Timesheets and invoices usually need decimal hours. Divide the minutes by 60: 8 h 45 min is 8 + 45 ÷ 60 = 8.75 hours.
| Minutes | Decimal hours |
|---|---|
| 15 | 0.25 |
| 20 | 0.33 |
| 30 | 0.50 |
| 45 | 0.75 |
