Duration Formatter
Type a duration in any common form — "2d 4h", "90 min", "5400" (seconds), "01:30:00", or ISO 8601 "PT1H30M" — and see every other representation at once. Handy for translating between log formats, API duration strings, video timestamps, and human-readable summaries without doing the math.
Human
1 hour 30 minutes
Short
1h 30m
Clock
1:30:00
ISO 8601
PT1H30M
Seconds
5400 s
Minutes
90 min
Hours
1.5 h
Days
0.0625 d
Calendar-relative units (weeks, months, years) aren't supported — their length depends on the date.
How to use
- Type a duration: "1h 30m", "5400", "01:30:00", or "PT1H30M".
- Read off the equivalent in every other format.
- Copy whichever representation you need.
Frequently asked questions
- What units does the human format accept?
- Days (d/day), hours (h/hr/hour), minutes (m/min/minute), seconds (s/sec/second), and milliseconds (ms). Plurals work. Order doesn't matter — "30m 1h" parses fine.
- What does a bare number mean?
- A bare number (e.g. `90`) is interpreted as seconds. Use `90 min` or `90:00` if you mean minutes.
- Does it support negative durations?
- Yes — prefix with `-`. Useful for representing offsets like "finishes 5 minutes early".
- What ISO 8601 forms are accepted?
- The `P[D]T[H][M][S]` shape used in APIs like Google Calendar and YouTube — e.g. PT1H30M, P1DT2H, PT45S. Weeks (W) and the larger years/months are not supported because their length depends on the calendar.
Related tools
Date Format Converter
Type any date (ISO, RFC, Unix epoch, locale) and see it rendered in 14+ standard formats side by side.
Duration Calculator
Add and subtract time durations in hours, minutes and seconds — get the total as h:m:s plus decimal hours, total minutes and total seconds.
Unix Timestamp Converter
Convert Unix timestamps to dates and dates back to timestamps.
ISO 8601 Week Calculator
Convert any date to its ISO week number (and back) — get the Monday-start / Sunday-end of that week, ISO year, day-of-year, and how many weeks the year has.
Unix Time Precision Converter
Convert a timestamp between seconds, milliseconds, microseconds, and nanoseconds since Unix epoch. Auto-detects precision, also outputs ISO, RFC 2822, and relative time.
Time Difference Calculator
Calculate the exact difference between two date-times, broken down into days, hours, minutes, and seconds.
Reaction Time Tester
Click the panel, wait for it to turn green, click again — get your reaction time in milliseconds. Tracks average, best, worst across the session.
Wire Gauge Converter (AWG ↔ mm² ↔ SWG)
Convert between American Wire Gauge (AWG), wire diameter (mm and inch), cross-section area (mm² and kcmil), British Standard Wire Gauge (SWG), resistance per km/1000ft for copper and aluminum, and NEC ampacity tables for chassis wiring and power transmission.