← All tools/Calculators/Time & Date/Hours Between Two Times Calculator

Hours Between Two Times Calculator

Enter a start time and an end time, and see how many hours and minutes sit between them — even when the shift runs past midnight.

min

Time between the two times

8 h 15 min

495 minutes · 8.25 hours

0 h12 h24 h
Total minutes495 minutes
Decimal hours8.25 hours
Break deducted0 minutes

How it works

Minutes since midnight = hours × 60 + minutes
Duration = end − start in minutes; if end < start, add 24 hours (1,440 minutes)
Duration after break = duration − break minutes

From 22:30 to 06:45 the next day: 06:45 is earlier than 22:30, so add 24 hours. (24:00 − 22:30) + 06:45 = 1 h 30 m + 6 h 45 m = 8 h 15 m, which is 495 minutes or 8.25 hours.

Frequently asked questions

What if the end time is earlier than the start time?

The calculator assumes the end time is the next day. 22:30 to 06:45 is 8 hours 15 minutes, not a negative number — the 24 hours are added automatically.

How is a break handled?

Break minutes are subtracted from the total. A 09:00 to 17:30 shift is 8 hours 30 minutes; with a 30-minute break it becomes 8 hours exactly.

Does it count seconds?

No — times are entered to the minute, so the answer is in whole minutes. For most shifts and schedules that is exact enough.

What is the decimal-hours figure for?

Payroll and timesheets usually want hours as a decimal: 8 hours 15 minutes is 8.25 hours, because 15 minutes is a quarter of an hour.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.