Time Duration Calculator

Calculate the exact time between two times or two date-and-time points. Get the duration in hours, minutes, and seconds, including overnight and multi-day spans.

Result
Duration —
Days —
Hours —
Minutes —
Seconds —

Calculate the time between two times

Enter a start time and an end time to find the exact elapsed time between them. The result includes hours, minutes, and seconds, so you can use it for anything from a short appointment to a long shift or event.

If the end time is earlier than the start time, the calculator treats the end time as being on the following day. For example, 10:00 PM to 2:30 AM is a duration of 4 hours and 30 minutes. This makes the first tab useful for overnight periods without requiring you to enter a date.

Calculate the time between two dates

When the duration spans a specific number of days, use the date-and-time option and enter both dates as well as the times. The calculator then measures the exact elapsed time from the starting date and time to the ending date and time.

This is useful for durations such as a 24-hour period, a multi-day event, or a shift that crosses more than one midnight. Because both dates are entered explicitly, the calculator does not have to guess which day the ending time belongs to.

Time duration vs. work hours

This calculator gives you the raw elapsed time between two points. It does not subtract breaks, round clock times, or calculate overtime. For a work shift where you want to deduct an unpaid break, use the Hours Calculator.

For a worksheet with multiple work periods, overtime, and clock-time rounding, use the Work Hours Calculator.

Time duration vs. calendar days

If you need to count the number of days between two dates rather than measure the exact hours and minutes between two date-times, use the Days Between Dates Calculator. It also lets you exclude Saturdays or Sundays and choose whether to include the end date as a full day.

Frequently asked questions

How do I calculate the time between two times?

Enter the start time and end time, then calculate the duration. The result shows the elapsed time in hours, minutes, and seconds. If the end time is earlier than the start time, the calculator assumes the end time is on the following day.

What happens if the end time is before the start time?

In the Time Between Two Times mode, the calculator assumes the end time is on the next day. For example, 11:00 PM to 3:00 AM is calculated as 4 hours. In the date-and-time mode, both dates are explicit, so an ending date and time earlier than the starting date and time produces an error instead of guessing.

Can I calculate a duration longer than 24 hours?

Yes. Use the date-and-time option when the duration spans multiple days. The calculator measures the complete elapsed time between the two date-and-time points.

Does the Time Duration Calculator subtract breaks?

No. It calculates the raw elapsed time between the two points. For a work period where you need to subtract an unpaid break, use the Hours Calculator.

Does it exclude weekends or holidays?

No. This calculator measures elapsed time and does not exclude weekends or holidays. For counting working days while excluding weekends and optional holidays, use the Business Days Calculator.