Time Duration Calculator


Find hours and minutes between two times in 12-hour (AM/PM) or 24-hour format, including overnight. See decimal hours, minutes and seconds.

Start time
:
End time
:
Time between
—
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.

Time Duration Calculator FAQ

How do I calculate the hours between two times?

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.

Does the calculator handle times that cross midnight?

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.

Can I enter times using AM and PM?

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.

What if the start and end times are the same?

Matching times give a duration of 0 hours 0 minutes. To represent a full 24 hours, you need dates as well as clock times.

How are hours and minutes converted to decimal hours?

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.

Can I calculate a shift longer than 24 hours?

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.

Does the result account for breaks or daylight saving time?

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.


Ages 2–5
Free right now
Free Toddler Learning, No Ads
TeddyBase learning app for toddlers
ABC, numbers, colours, animals, time and weekdays in simple tap-and-listen lessons.
No ads No in-app purchases No data collection
Download on the App Store
Stainless steel grill tongs holding grilled meat
BBQ essential
Keep Your Hands Away From the Heat
Long stainless-steel tongs for steaks, ribs, vegetables, and hot grill food.
14 inch reach · Locking handle
See it on Amazon