Find the hours and minutes between two clock times, including spans that cross midnight.
Duration
The end time is earlier than the start, so it was treated as the next day.
Share of a 24-hour day
This period7.75 h32.3%
Rest of the day16.25 h67.7%
Decimal hours
h
Total minutes
min
Total seconds
s
Show the working
Start = 1350 min after midnight, end = 375 min + 1440 (next day)
Duration = 465 min = 7 h 45 min = 7.7500 h
Runs entirely in your browser. Nothing you enter is uploaded.
Formula
Duration = end − startIf end < start: duration = end + 24 h − startDecimal hours = minutes ÷ 60
How it works
Both times are converted to minutes after midnight and subtracted. When the end time is earlier on the clock than the start time, the calculator assumes the span runs past midnight and adds 24 hours — so a night shift from 22:30 to 06:15 comes out as 7 h 45 min.
Decimal hours are what payroll and invoicing systems usually want: 7 h 45 min is 7.75 hours, because 45 minutes is three quarters of an hour. Divide minutes by 60 to convert, never by 100.
You can type 24-hour times (17:45) or 12-hour times with am/pm (5:45 pm). Spans longer than 24 hours need a date as well; use the date difference calculator for those.
Frequently asked questions
How do I convert minutes to decimal hours?
Divide by 60. 15 minutes is 0.25 h, 20 minutes is 0.333 h, 30 minutes is 0.5 h and 45 minutes is 0.75 h.
What if start and end are the same?
The duration is zero. If you meant a full 24 hours, enter 00:00 and 24:00.