CalcArcade.

Hours Between Two Times Calculator

Enter a start time and an end time to get the elapsed hours and minutes, even when the shift crosses midnight. Subtract an unpaid break if needed.

Your numbers

Result

How we calculate it

Times are converted to minutes after midnight. The difference is (end − start) wrapped within 24 hours, so 10:00 PM to 6:00 AM is 8 hours. The break is then subtracted.

Decimal hours are minutes ÷ 60, which is the format most payroll systems expect: 7 hours 30 minutes is 7.5.

Assumptions and limits

  • If the end time equals the start time the result is zero. For a full 24-hour span use the days between dates calculator.
  • Calculations assume no daylight saving time change during the shift.

Frequently asked questions

How do I calculate hours worked overnight?

Enter the start time and the next-morning end time. The calculator treats an end time earlier than the start as the following day.

How do I convert minutes to decimal hours?

Divide the minutes by 60. 45 minutes is 0.75 hours and 20 minutes is 0.33 hours.

Can I add up several shifts?

Run each shift separately and add the decimal hours together.

Related calculators

Worked example (a fixed example using the starting numbers, it does not change as you type)

Inputs: Start time = 09:00; End time = 17:30; Unpaid break (minutes) = 30.

  • Time between 8 hours 0 minutes
  • Decimal hours 8.00
  • Total minutes 480

Embed this calculator

Add this calculator to your own page. Paste the code where you want it. The small link keeps credit to the source.

More date & time calculators

Last reviewed: . Formulas and assumptions are described on our methodology page. For information only; not professional advice.