Time Duration Calculator
Calculate elapsed hours and minutes between two clock times, including overnight periods.
Select overnight when the end time falls on the following day.
How to use this calculator
Choose start and end times and indicate whether the period crosses midnight. The result is shown as hours and minutes, total minutes and decimal hours.
Formula
Duration = end time − start time. Add 24 hours when the selected overnight period crosses midnight.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
How do I calculate an overnight duration?
Choose Yes for crosses midnight when the end time is on the next day.
What are decimal hours?
Minutes are divided by 60, so 8 hours 30 minutes equals 8.5 hours.
Are seconds included?
No. This everyday tool works to the nearest entered minute.
How do I convert minutes to decimal hours?
Divide the minutes by 60. For example, 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours.
How do I add several durations together?
Convert each duration to minutes, add them, then convert back to hours and minutes by dividing by 60.
How many hours are between 9:00 and 17:30?
Subtract the start time from the end time: 17:30 − 9:00 = 8 hours 30 minutes, which is 8.5 decimal hours.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- International Organization for Standardization. (2019). ISO 8601-1: Date and time—Representations for information interchange—Part 1: Basic rules. View source
- Lombardi, M. A. (2002). NIST time and frequency services (NIST Special Publication 432). National Institute of Standards and Technology. View source
- Bureau International des Poids et Mesures. (2019). The International System of Units (SI) (9th ed.). View source
- Thompson, A., & Taylor, B. N. (2008). Guide for the use of the International System of Units (SI) (NIST Special Publication 811). National Institute of Standards and Technology. View source
- International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source