DateCalc

Hours Calculator

From 09:00 to 17:30 is 8h 30m — 8.50 decimal hours.

Hours & minutes8h 30m
Decimal hours8.50
Total minutes510
Crosses midnightNo

Enter two times

About this calculation

Enter a start and end time to get the difference in hours and minutes, plus the decimal-hours figure that payroll and timesheet systems usually ask for.

If the end time is earlier than the start time, the calculator assumes the period crosses midnight and adds 24 hours — useful for night shifts.

Decimal hours are what most payroll systems expect: 7 hours 30 minutes is 7.50, not 7.30. Entering the colon form into a decimal field is a very common timesheet error.

Frequently asked questions

How do I convert hours and minutes to decimal?

Divide the minutes by 60. So 7h 30m becomes 7 + 30/60 = 7.50 decimal hours. The calculator shows this figure for you.

Does it handle overnight shifts?

Yes. If the end time is earlier than the start time, the tool assumes the shift crossed midnight and adds 24 hours.

Does it subtract breaks?

Not automatically. Subtract break time manually, or calculate the break separately and deduct it.

Can I use it for payroll?

Yes as a calculation aid, but always confirm against your local rules on rounding, overtime and break requirements.

Related tools