Time & dates

Seconds to time calculator

Enter a count of seconds to get the hh:mm:ss timestamp plus decimal minutes and hours; switch the unit to start from minutes or hours.

The timestamp is hours:minutes:seconds, so values over one hour show three parts, like 1:01:01.

How seconds become a timestamp

A timestamp splits a raw second count into hours, minutes and seconds. The hours are the whole number of 3,600-second blocks, the minutes are the whole 60-second blocks left over, and the seconds are what remains: h = ⌊s ÷ 3600⌋, m = ⌊(s mod 3600) ÷ 60⌋, s = s mod 60. Take 3,661 seconds: 3,661 ÷ 3,600 is 1 hour, the remaining 61 seconds give 1 minute, and 1 second is left, so the clock reads 1:01:01. The decimal views come from dividing the whole total by 60 for minutes (61.02) or by 3,600 for hours (1.017).

Minutes and seconds past the hour are each padded to two digits, which is why you see 1:05:09 rather than 1:5:9. The calculator also rounds the span to whole hours and minutes, the form most people say out loud, while the timestamp keeps every second for precise cutting.

Secondshh:mm:ssDecimal minutes
300:00:300.50
900:01:301.50
3000:05:005.00
3,6001:00:0060.00
5,4001:30:0090.00

Where you meet seconds counts

Media software stores duration in seconds, so a clip described as 5,400 seconds is really a 1 hour 30 minute recording. Runners and swimmers split in seconds too: a 1,500 metre swim logged as 1,245 seconds is 20:45. The one thing to watch is the scale. Some systems, especially JavaScript and many databases, report time in milliseconds, which are a thousandth of a second; divide by 1,000 before using this converter or every result will be a thousand times too long. If a figure looks implausibly large, that extra factor of 1,000 is almost always the reason.

Frequently asked questions

What is 3,600 seconds in time?

3,600 seconds is exactly one hour, because an hour holds 60 minutes of 60 seconds each (60 × 60 = 3,600), so the timestamp is 1:00:00.

How do I convert seconds to minutes and seconds?

Divide by 60 for the whole minutes, and the remainder is the seconds. 200 seconds is 3 minutes (180 seconds) with 20 seconds left, shown as 3:20.

Why does my duration look 1,000 times too long?

The value is probably in milliseconds, not seconds. Divide it by 1,000 first: 90,000 milliseconds is 90 seconds, which is 1 minute 30 seconds.