Find hours and minutes between two times in 12-hour (AM/PM) or 24-hour format, including overnight. See decimal hours, minutes and seconds.
| HH:MM duration | — |
|---|---|
| Decimal hours | — |
| Total minutes | — |
| Total seconds | — |
How to calculate hours between two times
Choose 12-hour (AM/PM) or 24-hour format, then enter a start time and an end time. The result updates as you edit. Subtract the start from the end to find the duration: 09:15 to 17:45 is 8 hours 30 minutes, or 8.50 decimal hours.
If the end time is earlier, the calculator counts it on the following day. An overnight shift from 22:30 to 06:15 lasts 7 hours 45 minutes. The compact results show the same duration as HH:MM, decimal hours, total minutes and total seconds for schedules and timesheets.
This calculation uses clock times with minute precision. It covers one period shorter than 24 hours and does not deduct breaks or adjust for daylight saving time. Equal times mean zero elapsed time.
Related calculators
Time Duration Calculator FAQ
Enter the start and end clock times. The calculator subtracts the start from the end and shows the elapsed hours and minutes. For example, 09:15 to 17:45 is 8 hours 30 minutes.
Yes. When the end time is earlier than the start time, it is treated as the next day. For example, 22:30 to 06:15 is 7 hours 45 minutes.
Yes. Choose 12-hour (AM/PM) under Time format to enter hours, minutes and AM or PM. Switch to 24-hour at any time; the entered times are converted automatically.
Matching times give a duration of 0 hours 0 minutes. To represent a full 24 hours, you need dates as well as clock times.
Divide the minutes by 60 and add the whole hours. For example, 8 hours 30 minutes is 8.50 decimal hours. The displayed decimal result is rounded to two places.
No. This calculator uses two times of day and covers one interval shorter than 24 hours. Use a date-and-time calculator when the start and end fall more than one day apart.
No. It calculates the difference between clock readings and does not deduct breaks or account for a clock change. Subtract unpaid breaks separately, and use dated times with a time zone for daylight saving transitions.