How the duration is worked out
Both times are turned into minutes after midnight, then subtracted. If the end time is earlier than the start, the calculator assumes it's the next day and adds 24 hours. So 22:00 to 06:00 is 8 hours.
Duration = end time − start time (+ 24 hours if the end is earlier)
Decimal hours are useful for timesheets and pay: 8 hours 30 minutes is 8.5 hours, and 7 hours 45 minutes is 7.75 hours.
Questions people ask
How do I convert minutes to decimal hours?
Divide the minutes by 60. 15 minutes is 0.25 hours, 30 minutes is 0.5, and 45 minutes is 0.75.
What about a span longer than 24 hours?
This calculator handles spans up to 24 hours. For longer spans, use the days between dates calculator and add the hours on top.
Does it work with 12-hour (AM/PM) times?
Yes. The time fields follow your device's settings, so you can enter times in either format.