Converter
Latest result
Saved results
| # | Input seconds | Decimal days | D:H:M:S | Time |
|---|
Example data
Click Load to populate the calculator with any row.
| Seconds | Expected days (decimal) | Expected D:H:M:S | Action |
|---|---|---|---|
| 86400 | 1 | 1:0:0:0 | |
| 172800 | 2 | 2:0:0:0 | |
| 90061 | 1.041331 | 1:1:1:1 | |
| 1234567 | 14.285835 | 14:6:56:7 | |
| 3600 | 0.041667 | 0:1:0:0 |
Formula used
The conversion relies on the identity 1 day = 86,400 seconds.
- Decimal days:
days = seconds / 86,400 - Breakdown:
days = floor(|seconds| / 86,400), then remainder yieldshours = floor(r / 3,600),minutes = floor(r2 / 60),seconds = r2 % 60. The sign of the input is reapplied to the decimal value.
For fractional seconds, the decimal form is accurate to your selected precision. The D:H:M:S breakdown displays second fractions if present.
How to use this calculator
- Enter a value in Seconds (supports scientific notation like
1.5e6). - Choose Decimal days or D:H:M:S breakdown and select decimal places.
- Click Convert & Add Row to compute and store the result.
- Use Copy Latest Result to copy a clean text string.
- Export your table via CSV or PDF when done.
Tip: You can prefill via URL, e.g., ?seconds=172800&precision=4&mode=decimal.
FAQs
seconds, precision, and mode to prefill the form automatically.