Hours Between Two Times

Calculate the hours and minutes between two clock times, including overnight spans, in your browser.

Independently verified for accuracy

Calculator by Toolsloft ↗
Duration
8 hours, 30 minutes
Decimal hours
8.5
Total minutes
510

Work out how much time passes between two clock times, given as decimal hours and as hours and minutes. Enter a start and end time in 24-hour format and the tool handles overnight spans, so a shift that runs past midnight is counted correctly. It is handy for shifts, study sessions, and time logs.

How this is calculated

Both times are converted to minutes since midnight and subtracted. If the end time is the same or earlier than the start, 24 hours are added so an overnight span reads correctly. Decimal hours are the total minutes divided by 60, rounded to two places.

How to use

  1. Enter the start time in 24-hour HH:MM format.
  2. Enter the end time in the same format.
  3. Read the elapsed time as decimal hours and as hours and minutes.

Examples

  • A work day: 09:00 to 17:30 → 8.5 hours
  • Overnight: 22:00 to 06:00 → 8 hours

FAQ

How are overnight times handled?
If the end time is the same or earlier than the start time, the tool assumes it falls on the next day and adds 24 hours, so a night shift is counted correctly.
What format should I use?
Use 24-hour HH:MM, for example 08:30 or 17:45. Times are entered on a clock, not as dates.
What do the two hour figures mean?
One is the total as a decimal, such as 8.5 hours, and the other splits it into whole hours and minutes, such as 8 hours 30 minutes.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.