Time Duration Calculator

Calculate the exact duration between two times in hours, minutes, and seconds.

This tool is for informational and educational purposes only. It is not a substitute for professional financial, medical, legal, or engineering advice. See Terms of Service.

Can't find what you need?

Request a Tool

How to Use the Time Duration Calculator

Enter a start time and an end time using the time pickers. The calculator instantly shows the duration in hours, minutes, and seconds.

  1. Enter the start time. Use 24-hour format (e.g., 09:00 for 9 AM, 14:30 for 2:30 PM).
  2. Enter the end time. If the end time is earlier than the start time, the calculator assumes an overnight span and wraps to the next day.
  3. Read the duration. The result shows hours, minutes, and seconds. The breakdown shows total minutes and total seconds.

About the Time Duration Calculator

This calculator handles overnight spans automatically. If you enter 22:00 as start and 06:00 as end, it returns 8 hours rather than a negative result. This makes it useful for shift work, sleep tracking, and any schedule that crosses midnight.

The total minutes figure is useful for payroll calculations, billable hours tracking, and comparing durations. Multiply total minutes by your hourly rate to get a billable amount for the period.

Frequently Asked Questions

How do I calculate hours worked for payroll?

Enter your clock-in time as the start and clock-out time as the end. The result gives your total hours and minutes worked. For payroll, the total minutes value divided by 60 gives the decimal hours (e.g., 8 hours 30 minutes = 8.5 hours). Multiply decimal hours by your hourly rate to get gross pay for the shift.

How does the overnight calculation work?

When the end time is earlier than the start time, the calculator adds 24 hours to the end time before computing the difference. So 22:00 to 06:00 becomes 22:00 to 30:00 (next day 06:00), giving an 8-hour span. The context line notes when an overnight span is detected.

Can I calculate duration with seconds?

Yes. The time input accepts HH:MM:SS format if you type it directly into the field. The result will include a seconds component when seconds are present. The total seconds figure in the breakdown shows the complete elapsed time in seconds for precise measurements.

How do I add up multiple time durations?

To add multiple durations together, use the Hours Calculator which lets you add two time values. For more than two durations, add the first two, then use the result as the first input to add the third, and so on. Alternatively, convert each duration to minutes, add the minutes together, then convert back to hours and minutes.