Time Duration Calculator — Calculate Time Between Two Times

Time Duration Calculator

Whether you need to calculate how long a meeting lasted, how many hours you worked between two times, or the duration of any event, this free time duration calculator gives you the exact result in hours, minutes, and seconds — instantly.

How to use it: enter a start time and an end time using the time pickers. If the time range crosses midnight (for example, a night shift starting at 10:00 PM and ending at 6:00 AM), select “Yes” in the midnight option. Then click Calculate Duration.

The result shows the duration broken down into hours, minutes, and seconds, plus the total duration expressed in minutes only and seconds only — useful for spreadsheets, timesheets, and billing calculations.

Common uses include calculating work shift duration, measuring how long a task or event took, computing billable hours for freelance work, timing cooking or exercise intervals, and calculating overnight durations that cross midnight.

This tool runs entirely in your browser. No data is stored or transmitted. It is free with no signup required.

Frequently Asked Questions About Time Duration Calculator

Q: Can this calculator handle overnight shifts that cross midnight?
A: Yes. Select the “Yes — end time is next day” option and the calculator will correctly add 24 hours to account for the midnight crossing.

Q: Does it calculate seconds?
A: The time pickers work in hours and minutes. The seconds display will show 0 unless your browser supports second-level time input. For most use cases, hours and minutes is sufficient.

Q: Can I use this to calculate billable hours?
A: Yes. The result in total minutes is especially useful for billing — divide by 60 to get the decimal hours format used in most invoicing systems.

Q: What if my end time is earlier than my start time?
A: The calculator will alert you and ask if you meant to enable the midnight crossing option.

Related tools: Date Difference CalculatorAge CalculatorRetirement Savings Calculator

For more on how age is calculated across different calendar systems, see this overview from Wikipedia.