Hours Calculator: Time Between Two Times

Enter when you started and when you finished. The calculator subtracts your break and gives the result in hours and minutes and in decimal hours.

Hours Between Two Times

Time worked

8 h 00 min

  • In decimal hours8
  • In minutes480

How the Hours Are Calculated

The calculator converts both clock times to minutes after midnight, subtracts the start from the end, then subtracts the break. From 9:00 to 17:30 is 510 minutes; with a 30-minute break that leaves 480 minutes, or 8 hours.

If the end time is earlier than the start time, the shift is treated as running past midnight. From 22:00 to 06:00 is 8 hours, not minus 16.

Hours and Minutes Versus Decimal Hours

Payroll systems usually want decimal hours, and this is where most mistakes happen. 8 hours 30 minutes is 8.5 hours, not 8.3. To convert, divide the minutes by 60.

  • 15 minutes = 0.25 hours
  • 30 minutes = 0.5 hours
  • 45 minutes = 0.75 hours
  • 6 minutes = 0.1 hours

Paid and Unpaid Breaks

Enter only breaks that are not paid. If your employer pays for short rest breaks, leave them out, because they count as time worked. Rules on which breaks must be paid differ by country, state and contract.

Questions

How many hours is 9 to 5?

Eight hours. With an unpaid one-hour lunch it is seven hours worked; with a 30-minute lunch it is seven and a half.

Does it work with 12-hour (am/pm) times?

Yes. The time fields follow your device settings, so you can pick am or pm if that is how your device shows time. The calculation is the same.

How do I add up several days?

Use the time card calculator. It totals a whole week and separates regular hours from overtime.

Related Tools

See Also

Content last reviewed November 16, 2026.