Skip to main content
>_devtools

Duration Calculator & Converter

Parse and add up durations written as 1h 30m, 90 minutes, 01:30:00, or ISO 8601 PT1H30M, and convert to ISO 8601, words, clock time, and total seconds.

What it does

Enter one duration per line using compact, word, clock, or ISO 8601 notation. Prefix a line with + or - to include or subtract it from the total.

Example

1h 30m + PT45M - 15m -> PT2H (02:00:00)

Limits and behavior

  • Calendar months and years have no fixed length and are not accepted as durations.
  • The calculator parses up to 5,000 non-empty lines.