Time duration calculator

Elapsed time on a 24-hour clock, assuming an earlier end is on the next day.

Inputs

Your result7.75 hours

Elapsed time across dates

Formula and calculation method

Convert both clock times to minutes after midnight. Subtract the start from the end, add 1,440 minutes if the difference is negative, then divide by 60.

Worked example

InputExample 1Example 2
Start hour (0–23)922
Start minute (0–59)3045
End hour (0–23)171
End minute (0–59)1515
Result7.75 hours2.5 hours

How to use the result

Enter times in 24-hour notation. An end time earlier than the start is treated as next day; equal times mean zero, not 24 hours. Dates and daylight-saving changes are excluded.

What happens when the end time is earlier?

In the clock-only mode that means the end time falls on the next day. For example, 22:30 to 02:15 is 3 hours 45 minutes. For more than one night use the dated inputs, and enter both times in UTC so the interpretation is clear.

Work hours calculatorTime to decimal calculatorDecimal to minutes calculatorOvertime pay calculator