Calculate the duration between two times in hours and minutes. Free online time duration calculator for scheduling and time tracking.
The time duration calculator computes the elapsed time between a start time and end time, providing results in hours, minutes, and total minutes. It handles overnight time spans (when the end time is earlier than the start time, it assumes the next day). This is useful for work shift calculations, meeting planning, and time tracking.
Total Minutes = (End Hours × 60 + End Minutes) - (Start Hours × 60 + Start Minutes)
Duration Hours = Total Minutes ÷ 60 (integer)
Duration Minutes = Total Minutes mod 60Both times are converted to total minutes since midnight. The difference gives the total duration in minutes, which is then split into hours and remaining minutes. If the end time is earlier than the start time, 24 hours (1440 minutes) are added to account for overnight durations.
| Input | Output |
|---|---|
| 9:00 AM to 5:00 PM (9:00 to 17:00) | 8 hours 0 minutes (480 min) |
| 8:30 AM to 12:45 PM (8:30 to 12:45) | 4 hours 15 minutes (255 min) |
| 10:00 PM to 6:00 AM (22:00 to 6:00) | 8 hours 0 minutes (480 min) |