How the hours calculator works
The calculator converts both times to total minutes elapsed since midnight. The end time in minutes minus the start time in minutes gives the duration. If the result is negative — meaning the end time is earlier than the start time on the clock face — the calculator adds 1 440 minutes (24 hours) to account for an overnight span crossing midnight.
The result is expressed in two ways: as a decimal number of hours (useful for payroll calculations where 7 hours 30 minutes equals 7.5 hours) and as hours and minutes (useful for scheduling and planning). The decimal conversion is simply the total minutes divided by 60.
Duration (min) = End time (min) − Start time (min)
If the result is negative, add 1 440 to handle overnight spans.
Duration (decimal hours) = Duration (min) ÷ 60
For example, 450 minutes ÷ 60 = 7.5 hours.