Tools · Calculators · Everyday life Last update: Nov 7, 2026

Hours Calculator

Calculate the hours worked between a start and an end time, minus an unpaid break — in hours and minutes and in decimal hours.

min
—

If the end time is earlier than the start time, the shift is counted across midnight.

Hours worked formula

hours worked = end time − start time − unpaid break
decimal hours = hours + minutes ÷ 60

Example: from 8:30 to 17:15 with a 30-minute break is 8 h 45 min − 30 min = 8 h 15 min, or 8.25 decimal hours.

Why decimal hours?

Payroll multiplies hours by an hourly rate, which only works with decimals: 8 h 15 min × 20 an hour is 8.25 × 20 = 165, not 8.15 × 20. Common conversions: 15 min = 0.25 h, 30 min = 0.5 h, 45 min = 0.75 h.

Night shifts

If the end time is earlier than the start time, the calculator assumes the shift ends the next day: 22:00 to 6:00 is 8 hours.

Frequently asked questions

How do I calculate hours worked?

Subtract the start time from the end time and then the unpaid break. 7:45 to 16:15 with 45 minutes of break is 7 h 45 min, or 7.75 hours.

How do I convert hours and minutes to decimal?

Divide the minutes by 60 and add them to the hours: 6 h 20 min = 6 + 20 ÷ 60 = 6.33 hours.