Hours Calculator
Enter a start time, an end time and your unpaid break to see hours worked in hours and minutes and in decimal hours.
Result
- Hours per day (decimal)
- 8h
- Total hours (hours:minutes)
- 40:00
- Total hours (decimal)
- 40h
- Total pay
- —
How to use the hours calculator
Enter the start and end time of a shift. Add the unpaid break in minutes and the number of days with the same schedule. If you enter an hourly rate you also get the total pay. Times can be written as 24-hour (17:30) or 12-hour (5:30 pm).
Method
Hours worked per day = end time − start time − break. When the end time is earlier than the start, 24 hours are added first. The daily figure is multiplied by the number of days. Decimal hours are minutes ÷ 60.
Worked example
9:00 to 17:30 is 8 h 30 min. Subtract a 30 minute break to get 8 h per day. Over 5 days that is 40 h, and at 20 per hour the pay is 800.
Limits
- Shifts longer than 24 hours cannot be entered. Use the time calculator to add several shifts.
- Overtime rules, rounding policies and daylight saving changes are not applied. A shift that crosses a clock change may differ by an hour.
Frequently asked questions
How do I calculate hours for an overnight shift?
If the end time is earlier than the start time, the calculator assumes the shift crosses midnight and adds 24 hours. 22:00 to 06:00 is 8 hours.
How do I convert hours and minutes to decimal hours for payroll?
Divide the minutes by 60. 7 hours 45 minutes is 7.75 hours. The calculator shows both forms.
Can I use 12-hour times?
Yes. Type 8:15 am or 4:45 pm. Without am or pm the time is read as 24-hour, so 17:30 is 5:30 pm.
Last reviewed 2026-12-04