Home › Date & Time

Hours Calculator

Find the hours and minutes between a start time and an end time, minus a break.

How it works

Type times such as 9:00 AM and 5:30 PM, or 17:30 on the 24-hour clock. If the end time is earlier than the start time, the shift is treated as running past midnight. Decimal hours are what most timesheets and payroll systems ask for.

Example

Start time: 9:00 AM · End time: 5:30 PM · Break (minutes): 30 → Time worked (hours:minutes): 8:00

Formula

hours = end time − start time − break

Source

Gregorian calendar rules, including leap years.

Checked: 2026-11-19 · Results are for information only.

Common examples

Start timeEnd timeBreak (minutes)Time worked (hours:minutes)
9:00 AM5:00 PM08:00
9:00 AM5:30 PM308:00
8:1516:45607:30
10:00 PM6:00 AM307:30

Select a row to load it into the calculator.

Good to know

  • Decimal hours are not the same as hours and minutes. 7 hours 30 minutes is 7.5 hours, not 7.30; 15 minutes is 0.25 and 45 minutes is 0.75.
  • Unpaid breaks are subtracted. 9:00 AM to 5:30 PM with a 30-minute break is 8 hours of work.
  • If the end time is earlier than the start time, the shift is treated as ending the next day. 10:00 PM to 6:00 AM with a 30-minute break is 7 hours 30 minutes.

Questions and answers

How do I turn minutes into decimal hours?

Divide the minutes by 60. For example, 8 hours 30 minutes is 8.5 hours and 7 hours 45 minutes is 7.75 hours.

Does it work for night shifts?

Yes. If the end time is earlier than the start time, it is counted as the next day.

Related products

Related calculators