A duration converter that turns a single number into a human-readable length of time.
Enter 100000 seconds and it reads back as 1 day, 3 hours, 46 minutes, 40 seconds — plus
the clock formats 27:46:40 (HH:MM:SS) and 1:03:46:40 (D:HH:MM:SS). Unlike a plain unit
converter that only gives one output unit, this one decomposes the whole duration at once.
How it works
The tool first converts your amount to a total number of seconds using exact factors — a millisecond is 0.001 s, a minute is 60 s, an hour is 3,600 s, a day is 86,400 s and a week is 604,800 s. It then peels off the largest units in turn: how many whole days fit, then whole hours from what’s left, then whole minutes, then whole seconds, with any fraction shown as milliseconds.
Two clock formats are produced from the same figure. HH:MM:SS lets the hours accumulate past 24, which is what stopwatches and media players show. D:HH:MM:SS separates whole days so the hours stay between 0 and 23. Months and years are deliberately left out: they vary in length, so a breakdown into days-and-below is the largest split that is still exact. Everything runs in your browser — nothing is uploaded.
Worked example
How long is 500,000 milliseconds? Choose milliseconds and enter 500000. That is 500
seconds, which the tool breaks down as 8 minutes, 20 seconds (00:08:20). Switch the unit
to hours and enter 1.5: 1.5 hours becomes 1 hour, 30 minutes and the grid shows it is also
5,400 seconds or 90 minutes.
Conversion reference
| Amount | Breakdown | HH:MM:SS |
|---|---|---|
| 90 seconds | 1 min 30 s | 00:01:30 |
| 3,600 seconds | 1 hour | 01:00:00 |
| 5,400 seconds | 1 hour 30 min | 01:30:00 |
| 86,400 seconds | 1 day | 24:00:00 |
| 100,000 seconds | 1 day 3 h 46 min 40 s | 27:46:40 |
| 604,800 seconds | 7 days | 168:00:00 |
All figures use exact factors. For calendar arithmetic between two specific dates, use a date-difference calculator instead, since real months and years vary in length.