Skip to content
OddsockLocal
Local
Operation

Seconds13,800

ISO duration
PT3H50M
Seconds: 13800Runs in this browser. Nothing is uploaded.

Ready

How to use

  1. Enter the first duration as 1h 30m, as H:MM:SS, or as an ISO duration such as PT1H30M.
  2. Choose add or subtract.
  3. Enter the second duration in any of those forms.
  4. Read seconds and the ISO 8601 duration.

What is Duration math?

1h 30m and 2:20:00 are the same kind of length of time written two ways. The first is 1 × 3600 + 30 × 60 = 5400 seconds. The clock form H:MM:SS reads 2:20:00 as 2 × 3600 + 20 × 60 = 8400 seconds. Add them and you have 13800 seconds, which is 3 hours and 50 minutes. The ISO 8601 form of that sum is PT3H50M. Seconds are omitted when they are zero, so you do not get a trailing 0S. A result of exactly zero is PT0S.

Read more

The time calculator performs this same addition. This page is the one that treats the ISO string as the thing you came for: PT3H50M drops into a data format, a subtitle cue, or another tool that speaks ISO durations. You can also type ISO on the way in. PT45M is 45 minutes. A leading minus on the output means the subtraction went below zero.

Clock times without the seconds are still hours and minutes: 2:20 is 2 hours 20 minutes, not 2 minutes 20 seconds. Units in the word form are d, h, m, and s. There is no month unit, because a month is not a fixed number of seconds. The date pages handle calendar months.

Use cases

  • An editor adding 1h 30m of footage to a 2:20:00 reel and needing PT3H50M.
  • A scheduler subtracting a break from a shift and allowing a negative result.
  • A developer checking that 13800 seconds is 3 hours 50 minutes.
  • Someone pasting PT45M from a spec and adding a clock time to it.
  • A student learning that 2:20:00 is hours, minutes, and seconds, not a fraction.

1h 30m plus 2:20:00

First duration 1h 30m. Operation +. Second duration 2:20:00.

13800 seconds. ISO duration PT3H50M.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

3 hours 50 minutes. In seconds that is 5400 + 8400 = 13800. The ISO form is PT3H50M.