Hours Calculator

Enter a start time and an end time to see exactly how long that is, with any break subtracted. The result appears both as hours and minutes and as decimal hours, which is the format most payroll and invoicing systems expect.

Hours Calculator tool

Time worked
Decimal hours
Pay

How to use it

  1. Set the start and end time of the shift.
  2. Enter any unpaid break in minutes.
  3. Read the total in hours and minutes, or in decimal hours for a timesheet.

Worked example

Input: 9:00 to 17:30, 30 min break
Result: 8h 00m, 8.00 decimal hours
Input: 22:00 to 06:00
Result: 8h 00m across midnight

Hours and minutes versus decimal hours

Timesheets and payroll rarely use hours and minutes. They use decimal hours, where the minutes become a fraction of an hour: 30 minutes is 0.5, 15 minutes is 0.25 and 20 minutes is 0.33. Writing 8.30 when you mean 8 hours 30 minutes is a common and expensive mistake, because 8.30 hours is 8 hours 18 minutes.

Shifts that cross midnight break naive subtraction, since the end time is numerically smaller than the start. This calculator detects that and adds a day, so a 22:00 to 06:00 shift correctly reports 8 hours rather than a negative number.

Common uses

  • Filling in a weekly timesheet
  • Invoicing a client for hours worked
  • Checking a paycheck against hours
  • Planning shifts that run past midnight

Frequently asked questions

Divide the minutes by 60. Fifteen minutes is 0.25, 30 minutes is 0.5 and 45 minutes is 0.75. The calculator shows the decimal figure alongside hours and minutes.
Treat the end time as falling on the next day. This tool does that automatically, so a shift from 22:00 to 06:00 returns 8 hours rather than a negative result.
Yes, if the break is unpaid. Enter it in the break field and it is deducted from the total before the pay figure is worked out.
Seven hours and 30 minutes, because 0.5 of an hour is half of 60 minutes. Likewise 7.25 is 7 hours 15 minutes.