Time Duration Calculator

Calculate elapsed time between two clock times.

Calculations happen in your browser. Entries are not submitted or saved by this tool.

How the time duration calculator works

Enter a start and end time in 24-hour format (HH:MM or HH:MM:SS). If the end is earlier than the start, the tool can treat it as the next day, which is handy for night shifts.

Worked example

A shift from 22:30 to 06:15:

  1. 22:30 to midnight = 1 hour 30 minutes
  2. Midnight to 06:15 = 6 hours 15 minutes
  3. Total = 7 hours 45 minutes

Frequently asked questions

How do I enter PM times?

Use 24-hour time. 3:30 PM is 15:30.

Can it handle shifts past midnight?

Yes. Choose “Treat as next day”.

How do I add up several durations?

Use the hours and minutes calculator.

Other calculators you may need

Last reviewed: 30 October 2026