🔍

Hours Calculator

Find exactly how many hours and minutes are between two clock times, even if the span crosses midnight.

hr
min
hr
min

How this calculator works

Enter a start time and an end time using 24-hour hour and minute values, and this calculator finds the total elapsed time between them, correctly handling spans that cross midnight (like a 10pm to 6am overnight shift).

The formula

Both times are converted to total minutes since midnight, then the start is subtracted from the end. If the result is negative, 24 hours (1440 minutes) is added, since the end time must fall on the next day.

This is commonly used for timesheets, shift scheduling, and general time-span calculations.

Last reviewed August 2026