Time Duration Calculator
Duration = end time − start time. 8:15 AM to 4:45 PM = 8 hours 30 minutes (8.5 hours). Switch to dates to get the days, hours and minutes between two dates.
Last updated: October 14, 2026
Calculate a duration
If the end time is earlier than the start time, it is counted as the next day.
Empty times count as midnight (12:00 AM).
Result
Clock time only: daylight saving changes and time zones are not taken into account.
How to calculate a time duration
- Write both times in 24-hour form: 4:45 PM is 16:45.
- Subtract: 16:45 − 8:15. Minutes first: 45 − 15 = 30. Hours: 16 − 8 = 8. The duration is 8:30.
- If the minutes come out negative, borrow 60 minutes from the hours: 17:10 − 9:40 = 16:70 − 9:40 = 7:30.
- If the end is earlier than the start, add 24 hours to the end first: 6:00 + 24:00 − 22:00 = 8:00.
Decimal hours = hours + minutes ÷ 60, so 8:30 = 8.5 hours and 7:30 = 7.5 hours.
Duration between two dates
Count the whole days between the dates, then add the difference between the times. From Monday 9:00 AM to Wednesday 3:30 PM is 2 days, plus 6 hours 30 minutes: 2 days 6 hours 30 minutes, which is 54 hours 30 minutes or 54.5 hours.
For work hours with breaks over a whole week, use the time card calculator. To add up a list of durations, use the hours calculator.
Frequently asked questions
How do I calculate the duration between two times?
Subtract the start time from the end time. 8:15 AM to 4:45 PM is 8 hours 30 minutes. If the end time is earlier than the start, the time runs past midnight, so add 24 hours: 10:00 PM to 6:00 AM is 8 hours.
How do I calculate the time between two dates?
Switch to “Dates and times”, pick the start date and time and the end date and time. The calculator shows the result as days, hours and minutes, and also as total hours and total minutes.
Does the end date count as a day?
The calculator measures the time between two moments. Monday 9:00 AM to Wednesday 9:00 AM is exactly 2 days. If you want to count both the first and last day, tick “Include the end date”, which adds one day.
Does it handle daylight saving time?
No. It counts clock time as if every day had 24 hours. On the night clocks change, a real elapsed time can be one hour more or less than shown.
How do I turn the result into decimal hours?
Divide the minutes by 60 and add them to the hours. 8 hours 30 minutes is 8.5 hours. The result always shows decimal hours too.
Is anything I type sent anywhere?
No. The calculation runs in your browser.