What this converter does
This tool turns a single decimal number into a clean hh:mm:ss duration. You pick what your number represents — days, hours, minutes, or seconds — and the calculator normalizes it to total seconds, then splits it into hours, minutes, and seconds. Because it measures a duration (not a wall-clock time), the hours field is never wrapped at 24: 1.75 days correctly shows as 42 hours, not 18.
How to use it
Enter your decimal value (for example 42.756), choose the matching unit from the dropdown, and optionally tick "show hundredths of seconds" to keep two decimal places on the seconds. The result shows the formatted time plus an "in words" breakdown and the equivalent day-normalized form.
The formula explained
The reliable method converts everything to total seconds first: $$t_{\text{sec}} = v \times k$$ where the scale factor \(k\) is 86400 for days, 3600 for hours, 60 for minutes, and 1 for seconds. Then \(H=\left\lfloor\tfrac{t}{3600}\right\rfloor\), the remainder is split into \(M=\left\lfloor\tfrac{t-3600H}{60}\right\rfloor\), and the leftover becomes seconds \(S=t-3600H-60M\). Rounding only happens at the very last step, which avoids fractional drift. If rounding pushes seconds to 60 it carries into minutes, and 60 minutes carries into hours.
Worked example
Take 42.756 hours. Total seconds = $$42.756 \times 3600 = 153921.6.$$ Hours = \(\left\lfloor 153921.6 / 3600 \right\rfloor = 42\). Remainder = \(2721.6\) s, so minutes = \(\left\lfloor 2721.6 / 60 \right\rfloor = 45\). Remaining seconds = \(21.6\), which rounds to 22. The result is 42:45:22, or in words "1 days, 18 hours, 45 minutes, 22 seconds". With hundredths enabled the seconds display as 21.60, giving 42:45:21.60.
Common Decimal-to-Time Conversions
The converter multiplies the decimal value by the number of seconds in its unit, then splits the total into hours, minutes and seconds. Hours are not capped at 24, so 1.5 days shows as 36 hours.
| Decimal value | Unit | Total seconds | hh:mm:ss |
|---|---|---|---|
| 0.01 | hours | 36 | 00:00:36 |
| 0.05 | hours | 180 | 00:03:00 |
| 0.1 | hours | 360 | 00:06:00 |
| 0.25 | hours | 900 | 00:15:00 |
| 0.5 | hours | 1,800 | 00:30:00 |
| 0.75 | hours | 2,700 | 00:45:00 |
| 1.0 | hours | 3,600 | 01:00:00 |
| 0.1 | minutes | 6 | 00:00:06 |
| 0.25 | minutes | 15 | 00:00:15 |
| 0.5 | minutes | 30 | 00:00:30 |
| 0.75 | minutes | 45 | 00:00:45 |
| 0.25 | days | 21,600 | 06:00:00 |
| 0.5 | days | 43,200 | 12:00:00 |
| 1.5 | days | 129,600 | 36:00:00 |
Example: \(0.25 \text{ h} \times 3600 = 900 \text{ s}\), and \(\lfloor 900/3600 \rfloor = 0\) hours, \(\lfloor 900/60 \rfloor = 15\) minutes, 0 seconds, giving 00:15:00.
Time Unit Constants
These relationships are fixed by definition and are used for every conversion on this page.
| Unit | Equivalent |
|---|---|
| 1 day | 24 hours = 1,440 minutes = 86,400 seconds |
| 1 hour | 60 minutes = 3,600 seconds |
| 1 minute | 60 seconds |
| 1 second | 100 hundredths of a second |
The second is the SI base unit of time. The minute, hour and day are non-SI units accepted for use with the SI, defined as exactly 60 s, 3,600 s and 86,400 s. Because the result is a duration rather than a clock time, leap seconds and daylight saving changes are ignored. A decimal day is always treated as exactly 86,400 seconds.
FAQ
Why can the hours be larger than 24? This is a duration, not a time of day, so hours accumulate beyond 24 (e.g. 76 hours for 3.2 days).
Why does the whole-second result sometimes differ from hundredths? Whole-second mode rounds to the nearest second, so 21.6 becomes 22; hundredths mode keeps 21.60.
What inputs are valid? Any number greater than zero. Zero, blanks, and negative values are rejected.