How it works
Both times are turned into minutes after midnight and subtracted. If the end time is earlier than the start time, the shift is treated as ending the next day, so 24 hours (1,440 minutes) is added. The break is then taken off.
Decimal hours = minutes ÷ 60
Example
From 9:00 AM to 5:30 PM with a 30-minute lunch is 8 h 30 min − 30 min = 8 h 0 min, or 8.00 decimal hours. A shift from 10:00 PM to 6:00 AM with no break is 8 hours.
Converting minutes to decimal hours
Payroll systems and timesheets often ask for decimal hours. Divide the minutes by 60:
| Minutes | Decimal | Minutes | Decimal |
|---|---|---|---|
| 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 |
A common mistake is to write 8 h 30 min as 8.30. It is 8.50 hours.
Weekly totals and overtime
Add up each day's decimal hours for the week. In the United States, non-exempt employees are generally owed 1.5 times their regular rate for hours over 40 in a workweek. Rules differ by country and state, so check your local labor rules or contract.
Paid and unpaid breaks
Only subtract breaks that are unpaid. Short rest breaks are often paid, while a meal break of 30 minutes or more is often unpaid. Your employer's policy decides which applies.
Frequently asked questions
How do I calculate hours worked?
Subtract the start time from the end time, then subtract any unpaid break. The calculator also handles shifts that pass midnight.
What is 8 hours 45 minutes in decimal?
8.75 hours, because 45 minutes ÷ 60 = 0.75.
How do I calculate an overnight shift?
If the end time is earlier than the start time, add 24 hours to the end time before subtracting. The calculator does this automatically.
Should I subtract my lunch break?
Only if the break is unpaid. Paid breaks count as time worked.
Related calculators
Keep going: what people use next
Last reviewed: · Report a mistake