Hours Calculator

–
–decimal hours (for timesheets)
–total minutes
Clock spanHoursDecimal hours at $15/hr
9:00 to 17:008h 0m8.00 = $120.00
8:45 to 17:158h 30m8.50 = $127.50
22:00 to 6:008h 0m8.00 = $120.00 (overnight wraps)
Only work time counts on a timesheet: under US Labor Department Fact Sheet #22, rest breaks of 20 minutes or less are hours worked, while a bona fide meal period of 30 minutes or more taken fully away from the workstation is not paid time.

Enter a start time and an end time and get the duration in hours and minutes — plus the decimal form (8 hours 30 minutes = 8.5) that timesheet systems actually want. Shifts that cross midnight are handled automatically: 10 PM to 6 AM is a clean 8 hours, not a negative number.

It exists because 'hours calculator' is secretly a payroll question. Hourly workers checking a paycheck, freelancers logging billable time, managers building rotas — everyone needs the same boring subtraction, done reliably, with the decimal version ready to paste into whatever system the company uses.

How to use

  1. Set the start time (your time picker uses 24-hour format; 22:00 is 10 PM).
  2. Set the end time — if it is earlier than the start, the shift is treated as crossing midnight.
  3. Read the duration in hours:minutes, and copy the decimal hours into your timesheet.

Frequently asked questions

How do I calculate hours between two times?

Convert both to minutes since midnight, subtract the start from the end, and divide by 60. From 9:00 AM (540) to 5:00 PM (1,020): 1020 − 540 = 480 minutes = 8 hours. This calculator does the subtraction and shows both formats.

How do I calculate a night shift that crosses midnight?

If the end time is earlier than the start time, add 24 hours to the end before subtracting. 10 PM to 6 AM becomes 22:00 to 30:00 — exactly 8 hours. The calculator detects this automatically.

What is 8 hours 30 minutes in decimal hours?

8.5 hours — divide the minutes by 60 and add to the hours. Timesheet and payroll systems almost always want the decimal form, which this calculator shows alongside the hours:minutes version.

Does it include breaks?

Not automatically — enter your break as a separate calculation, or subtract it yourself from the duration. Some employers round breaks to 15 minutes; check your workplace rules.

Why do employers use decimal hours instead of h:mm?

Because payroll multiplies: 8 hours 30 minutes is 8.5 in decimal, and 8.5 times the rate is one multiplication - while h:mm needs a conversion step where the 60-based minutes keep tripping spreadsheets. The rule is minutes divided by 60: 30 minutes is .5, 45 is .75, and 7 minutes rounds to .12 of an hour under quarter-hour rounding.

How do I add time across midnight?

Wrap at 24: if the end time is smaller than the start, add a day to the end before subtracting - 22:00 to 6:00 is 8 hours, not negative 16. The calculator does the wrap automatically, which is the entire difference between a shift calculator and a subtraction drill.

Related tools