Time duration calculator: hours between two times

How many hours and minutes there are between two times of day — for example, from the start to the end of a shift, even across midnight.

Time format
Duration (h:mm)9:00
Total minutes540
Decimal hours9
EndsSame day

How to use

Enter a start time and an end time — you’ll see the hours and minutes between them, plus the duration in minutes and in decimal hours (handy for timesheets and pay). If there was a break (lunch), enter it and it will be subtracted.

If the end time is earlier than the start time, it’s treated as the next day — that’s how night shifts are counted.

Examples

FAQ

How do I convert minutes to decimal hours? Divide the minutes by 60: 25 minutes is 0.42 hours, so 9:25 is 9.42 hours.

Can it handle more than 24 hours? This calculator works within a single day. For dates, use the days calculator; to add several days to a time, use the time calculator.

Is daylight saving time taken into account? No, it’s the plain clock difference.