Time Duration Calculator
Calculate the exact time difference between two times, including overnight and midnight-crossing durations.
Elapsed duration
8 hr 30 min
510 mintotal minutes•
30600 sectotal seconds•
Nomidnight crossing
Calculate elapsed time between two clock times with automatic midnight-crossing support.
Worked Example
- Same-Day: 9:00 AM to 5:30 PM = 8 hours 30 minutes (510 minutes)
- Overnight: 10:00 PM to 6:15 AM = 8 hours 15 minutes (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. Browser input pickers accept standard 12-hour or 24-hour time entries.
Does this tool calculate total minutes and seconds?+
Yes. The tool outputs total hours, total minutes, and total seconds for the selected interval.
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, weeks, or months to any starting date to find future or past target dates.→Business Days CalculatorCount weekdays and business days between two dates, excluding Saturdays and Sundays.→Age CalculatorCalculate exact age in years, months, and days for any comparison date, plus total days and the next birthday.→