Time Duration Calculator
Calculate the exact time difference between two times, including overnight and midnight-crossing durations.
Elapsed duration
8 hr 30 min
8.5 hrsdecimal hours•
510 mintotal minutes•
Same dayday span
Calculate elapsed time between two clock times with automatic midnight-crossing support.
Worked Example
- Same-Day: 09:00 to 17:30 = 8 hr 30 min (8.5 hrs, 510 minutes)
- Overnight: 22:00 to 06:15 = 8 hr 15 min (8.25 hrs, 495 minutes)
Frequently Asked Questions
How does overnight / midnight time calculation work?+
If the end time is earlier than the start time (e.g., 10:00 PM to 6:00 AM), the calculator automatically adds 24 hours to compute the correct overnight duration.
Can I enter 12-hour or 24-hour time values?+
Yes. Input pickers accept standard 12-hour or 24-hour HH:MM or HH:MM:SS time entries.
Does this tool calculate decimal hours and total minutes?+
Yes. The tool outputs formatted hours and minutes, decimal hours (for payroll or timesheets), and total elapsed minutes.
Related Tools
Date Difference CalculatorFind the number of days and full weeks between two calendar dates, in either direction, with optional inclusive counting.→Add Days CalculatorAdd or subtract days from a start date to compute the exact future or past target calendar date.→Business Days CalculatorCalculate the number of business days (weekdays Monday through Friday) and weekend days between two dates.→Age CalculatorCalculate exact age in years, months, and days for any comparison date, plus total days and the next birthday.→