Add or subtract hours, minutes and seconds, work out the duration between two clock times (including overnight shifts), or find what time it will be after a period.
Quick answer: To find the time between two times, subtract the start from the end. From 9:00 AM to 5:30 PM is 8 hours 30 minutes; minus a 30-minute break that is 8 hours, or 8.00 decimal hours. If the end time is earlier than the start, the shift runs past midnight and the calculator adds 24 hours automatically.
How to use the time calculator
- Time between two times: enter a start and end time and an optional unpaid break. Perfect for timesheets, overtime and night shifts.
- Add / subtract durations: add up several periods, for example the length of video clips, workouts or study sessions, and subtract any you don’t need.
- Clock time + duration: find out what time a 10-hour 45-minute flight lands, or when to start cooking so dinner is ready at 8 PM.
How to convert minutes to decimal hours for payroll
Payroll systems usually need hours as a decimal. Divide the minutes by 60: 15 minutes = 0.25 h, 30 minutes = 0.5 h, 45 minutes = 0.75 h. So 7 hours 45 minutes is 7.75 hours. The calculator shows the decimal value for every result so you can multiply it directly by an hourly rate.
| Minutes | Decimal hours | Minutes | Decimal hours |
|---|
| 5 | 0.08 | 35 | 0.58 |
| 10 | 0.17 | 40 | 0.67 |
| 15 | 0.25 | 45 | 0.75 |
| 20 | 0.33 | 50 | 0.83 |
| 25 | 0.42 | 55 | 0.92 |
| 30 | 0.50 | 60 | 1.00 |
Calculating overnight shifts
A shift from 22:00 to 06:00 is 8 hours, not −16. When the end time is earlier than the start time, the tool assumes the shift ends the next day. For shifts longer than 24 hours, use the Add / subtract durations tab instead.
Frequently asked questions
How do I calculate hours worked between two times?
Enter the start and end times in the first tab and the length of any unpaid break. The result shows hours and minutes plus decimal hours for payroll.
How many hours is 9am to 5pm?
9 AM to 5 PM is 8 hours. With a 30-minute unpaid lunch break it is 7.5 hours.
How do I add hours and minutes together?
Use the Add / subtract durations tab, enter each period as hours, minutes and seconds, and the total updates automatically, carrying minutes into hours.
Does it work for night shifts?
Yes. If the end time is earlier than the start time, the calculator treats it as the next day.
How do I convert 7 hours 45 minutes to decimal?
Divide the minutes by 60 and add to the hours: 45 / 60 = 0.75, so 7 h 45 min = 7.75 hours.
Related free tools