Hours calculator
Enter when you started and when you finished. You get the time worked in hours and minutes, in decimal hours, and what it pays.
- Time worked
- –
- Decimal hours
- –
- Minutes
- –
- Pay at your rate
- –
How to count hours between two times
Subtract the start time from the end time, then take off unpaid breaks. From 8:30 AM to 5:15 PM is 8 hours 45 minutes; with a 30-minute lunch it is 8 hours 15 minutes. A shift that crosses midnight works too: 10:00 PM to 6:00 AM is 8 hours.
Hours and minutes to decimal hours
Payroll uses decimals. Divide the minutes by 60: 15 minutes is 0.25, 30 is 0.5, 45 is 0.75. So 8 hours 15 minutes is 8.25 hours.
Questions
How many hours is 9 to 5?
8 hours. With a 30-minute unpaid lunch it is 7 hours 30 minutes, or 7.5 hours.
How do I write 7 hours 45 minutes as a decimal?
7.75 hours. 45 minutes divided by 60 is 0.75.
Does the calculator handle overnight shifts?
Yes. If the end time is earlier than the start time, it counts the shift as ending the next day.
Pay rules explained
Sources
Last reviewed November 19, 2026 by Paydar, against the sources above. How we check these pages.
More free calculators
Estimates only. Not legal, tax or financial advice. Wage rules vary by state and job.