Find the exact gap between any two times — even overnight shifts.
Quick Examples
Need to know how many hours and minutes separate two points in time? This free time duration calculator takes a start time and end time in HH:MM format and instantly returns the exact difference — in hours, minutes, decimal hours, and days. It correctly handles overnight and midnight-crossing shifts, making it ideal for work schedules, timesheets, travel planning, and more.
Yes. If the end time is earlier than the start time, the calculator automatically assumes the end time falls on the next day and adds 24 hours to the difference. A note is displayed to confirm the midnight-crossing assumption.
Times should be in 24-hour HH:MM format, from 00:00 to 23:59. For example, use 14:30 for 2:30 PM. Most browsers will show a native time picker when you click the field.
Enter your clock-in time as the start and clock-out time as the end. The result shows total hours and minutes as well as a decimal hours value (e.g. 8.50 hours), which is what most payroll systems use.
Decimal hours are the total number of minutes divided by 60. For example, 8 hours and 30 minutes equals 510 minutes ÷ 60 = 8.50 decimal hours.