Time Duration Calculator

What this Time Duration Calculator does

This time duration calculator helps you find how long something lasted between two times or dates. It is commonly used for work shifts, appointments, travel time, studying, and any situation where you need to measure elapsed time.

Some calculators work within a single day, while others also support times across different dates. That makes this tool especially useful for both simple and more advanced time calculations.

Why it is useful

Elapsed time can be tricky when minutes or seconds need borrowing across hour boundaries. A calculator makes the process fast and removes guesswork.

How to calculate time duration

Enter the start time and end time, then subtract the start from the end. If needed, convert the times to 24-hour format before calculating. For date-and-time problems, use the full date and time values.

Step 1: Enter start and end values

Fill in the starting and ending times, or choose dates if the duration crosses a day boundary.

Step 2: Convert if needed

If the calculator uses 24-hour time, convert AM and PM times first so the subtraction is accurate.

Step 3: Read the duration

The result will show the total elapsed time in the chosen units.

Formula

Duration: End time – Start time

24-hour conversion: PM hours = hour + 12, except for 12 PM

For longer time spans, convert the result into hours, minutes, and seconds as needed.

Example calculation

Example: 9:15 AM to 1:45 PM.

Convert to 24-hour time: 09:15 to 13:45.

Duration = 4 hours 30 minutes.

Example: 11:20 PM to 2:10 AM the next day.

Duration = 2 hours 50 minutes.

Common uses of Time Duration Calculator

  • Work hours and shift tracking.
  • Meeting and event length.
  • Travel and journey time.
  • Project and task duration.

Frequently asked questions

How do I calculate time duration?

Subtract the start time from the end time and convert the result into hours, minutes, and seconds.

How do I calculate the time difference between two times?

Convert both times to the same format, then subtract the earlier time from the later one.

Can this calculator handle times across midnight?

Yes. A good time duration calculator should support next-day calculations.

Should I use 12-hour or 24-hour time?

Either can work, but 24-hour time is often easier for accurate subtraction.

Can I calculate hours and minutes only?

Yes. Many calculators can show only the units you need.

Related calculators