About this tool
Turn a number of seconds into a human-readable duration.
Duration Calculator converts a raw number of seconds into days, hours, minutes and seconds — 90,061 seconds becomes 1d 1h 1m 1s. It divides by the fixed constants 86,400 seconds per day, 3,600 per hour and 60 per minute, then shows both the compact string and a breakdown row for each unit. It is built for developers and analysts reading durations out of logs, APIs, video metadata or database columns that store elapsed time as a plain integer.
Open Duration Calculator on AltFTool — it loads instantly in your browser.
Enter the number of seconds you want to convert into the 'Seconds' field, which starts at 90061 and is rounded down to a whole number of seconds
The duration updates as you type — there is no button to press — and is written compactly as days, hours, minutes and seconds, so 90061 becomes 1d 1h 1m 1s
Review the four cards below the result labelled Days, Hours, Minutes and Seconds for each component on its own, then use Copy or Download to save the breakdown
The compact result only shows the units that are non-zero, so 3,700 seconds reads as 1h 1m 40s rather than 0d 1h 1m 40s.
You get the human-readable line for pasting into a ticket and a separate days/hours/minutes/seconds breakdown for when you need one figure on its own.
Fractional seconds are floored and negative values are clamped to zero, so a stray -1 or 12.7 from a log never produces nonsense output.
86,400 seconds — 24 hours multiplied by 3,600 seconds per hour. This calculator uses that fixed constant, so it does not account for leap seconds or daylight-saving transitions, which affect calendar dates rather than elapsed-time counts.
Exactly 7 days, or one week. Divide by 86,400 to get days: 604,800 ÷ 86,400 = 7, with no remaining hours, minutes or seconds — which is why that value is the standard one-week TTL in caching and cookie settings.
It is floored to the whole second below, so 90.7 is treated as 90 seconds and displayed as 1m 30s. Convert milliseconds to seconds before entering them, since the input is read as seconds only.
Yes, but the largest unit shown is days — 31,536,000 seconds displays as 365d rather than 1 year. Months and years vary in length, so expressing long spans in days keeps the result exact.
Add the Duration Calculator widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/duration-calculator"
title="Duration Calculator — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/duration-calculator?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>