Skip to content
ZeroServer.tools

Time to Seconds Converter

Convert HH:MM:SS time notation to total seconds, or seconds to HH:MM:SS.

Total seconds
5,400
1h × 3600 + 30m × 60 + 0s = 5,400 s

Quick examples

How HH:MM:SS to seconds conversion works

Converting between HH:MM:SS notation and raw seconds is a common task in programming, video production, and analytics. The formula is straightforward: total = hours × 3600 + minutes × 60 + seconds. This tool handles both directions — paste a time like 1:30:00 to get 5400 s, or enter seconds to get the human-readable duration.

For the opposite direction, also see Seconds to Time Converter. For longer date ranges, use the Time Duration Calculator.

Private & free — this tool runs entirely in your browser.

Recommended: IndieKit Ship your Next.js startup in days.affiliate

Related Converters tools