Hours between times calculator
Work out the duration between two clock times — ideal for timesheets, shift hours and billable time. Enter a start and end time, optionally deduct an unpaid break, and read the result both in hours-and-minutes and as decimal hours for payroll spreadsheets.
How it works
Each time is converted to minutes since midnight (hours × 60 + minutes). The tool subtracts the start from the end; if the result is negative it adds 24 hours (1,440 minutes), treating the end as the next day for overnight shifts. It then subtracts your unpaid break in minutes, floors the total to whole minutes, and splits it into hours and minutes. The decimal hours value is the total minutes divided by 60, rounded to two decimal places.
Example
A shift from 09:00 to 17:30 with a 30-minute unpaid break:
- 17:30 = 1050 min, 09:00 = 540 min → gap = 510 min
- Minus 30 min break = 480 min
- = 8 hours 0 minutes = 8.00 decimal hours
An overnight shift from 22:00 to 06:00, no break:
- 06:00 (360) − 22:00 (1320) = −960 → +1440 = 480 min = 8 hours
| Minutes | Decimal hours |
|---|---|
| 15 | 0.25 |
| 30 | 0.50 |
| 45 | 0.75 |
| 90 | 1.50 |
Overnight shifts are handled automatically, and everything runs entirely in your browser — nothing is uploaded.