Guides

How Do You Find the Duration Between Two Clock Times?

Find the duration between two clock times: 24-hour entry format, absolute-value subtraction, a task example from 1:47 pm to 3:21 pm, and an hours-only option.

Miryori Editorial Team3 min read
Try the Time Difference Calculator

Questions about elapsed time on a clock are among the most common uses of a time difference calculator: how long a meeting ran, how long a task took, or how much time passed between two readings. The answer is always a duration obtained by subtracting one clock time from the other, and the calculator removes the sign so you never have to worry about which time came first.

To find the duration between two clock times, convert both moments to 24-hour format and take the absolute difference, ∣tend−tstart∣|t_{\text{end}} - t_{\text{start}}|. The order does not matter because the calculator reports an absolute value. For a task begun at 1:47 pm and finished at 3:21 pm, entering 13 hrs 47 min 0 sec and 15 hrs 21 min 0 sec gives a duration of 1 hrs 34 min.

How do I enter clock times in 24-hour format?

The clock-time mode expects each reading as hours, minutes and optionally seconds on a 24-hour scale. An afternoon time is written by adding 12 to the hour, so 1:30 pm becomes "13 hrs 30 min" and 3:40 pm becomes "15 hrs 40 min". Seconds can be included explicitly, as in "13 hrs 47 min 0 sec".

The subtraction itself is expressed as an absolute difference:

Duration=∣tend−tstart∣\text{Duration} = \left| t_{\text{end}} - t_{\text{start}} \right|
Clock reading 24-hour calculator entry
1:30 pm 13 hrs 30 min
3:40 pm 15 hrs 40 min
1:47 pm 13 hrs 47 min 0 sec
3:21 pm 15 hrs 21 min 0 sec

Using one consistent format for both readings is what makes the subtraction meaningful: the hours, minutes and seconds columns then line up with each other.

How long did my task take between two clock times?

The absolute-value bars are the reason the tool is sometimes called a clock time difference calculator. Whether you place the start time in the first or second field, the same positive duration comes out. For the 13:30 to 15:40 pair, the answer is 2 hrs 10 min; for other pairs, the arithmetic is identical.

Worked example: a task from 1:47 pm to 3:21 pm

Suppose you started work on a task at 1:47 pm and finished at 3:21 pm. Enter the start time as "13 hrs 47 min 0 sec" and the end time as "15 hrs 21 min 0 sec" in the two time fields.

The calculator subtracts the earlier reading from the later one: the hours give 2, the minutes give a difference of 26 after accounting for the hour boundary, and the seconds cancel. The reported time difference is 1 hrs 34 min, the total time the task took. Reversing the two entries produces the same figure.

How do I get the answer in hours alone?

The clock-time result is naturally expressed in hours and minutes, such as 2 hrs 10 min. If you mainly need the result expressed in hours, a dedicated hours calculator offers several hour-based calculation modes and can present the same duration in that form.

Frequently Asked Questions

Why enter clock times in 24-hour format?

The calculator's clock mode reads hours, minutes and seconds directly. Writing 1:30 pm as "13 hrs 30 min" puts the afternoon hour on the same 24-hour scale as the end time, so the columns subtract cleanly.

What if the end time is earlier than the start time?

Nothing changes. The duration formula takes an absolute value, so a reading that crosses midnight or an accidentally swapped pair still returns a positive duration.

Can I include seconds in a clock-time entry?

Yes. The worked example uses "13 hrs 47 min 0 sec" and "15 hrs 21 min 0 sec". Seconds are optional, and a zero-second value is written explicitly rather than left blank.

References

  • Omni Calculator's time difference tool: source of the 24-hour entry examples and the 1 hrs 34 min task duration.
  • Standard clock conventions for expressing afternoon times on a 24-hour scale.
Calculator

Time Difference Calculator

Time Difference: time difference calculator enables convenient time subtraction. Free, fast and private.

Try the Time Difference Calculator