Skip to content

Hours to Seconds: Convert Hours to Seconds

Convert hours to seconds by multiplying by 3,600. Includes hours, minutes and seconds to total seconds, a chart, and uses in programming, science, sport and timers.

3 min read

Seconds are the base unit of time in science and computing, so many formulas, spreadsheets and programs need durations in seconds. Converting from hours is simple, but mixed values like 2 h 15 min 30 s need care. Our hours to seconds converter does it instantly. This guide explains the conversion, how to handle mixed durations and some common uses.

How to use the converter

Enter a number of hours and the seconds appear straight away. The default, 10 hours, converts to 36,000 seconds. Use the swap button to convert seconds back into hours.

The formula

An hour has 60 minutes, and each minute has 60 seconds, so:

Example: 10 h × 3,600 = 36,000 s.

Going the other way: hours = seconds ÷ 3,600. So 9,000 s ÷ 3,600 = 2.5 hours.

Converting hours, minutes and seconds

For a duration like 2 h 15 min 30 s, convert each part and add them:

2 × 3,600 + 15 × 60 + 30 = 7,200 + 900 + 30 = 8,130 seconds.

To go back from seconds to h:mm:ss, divide by 3,600 for hours, divide the remainder by 60 for minutes, and what is left is seconds. 8,130 ÷ 3,600 = 2 remainder 930; 930 ÷ 60 = 15 remainder 30. So 2:15:30. The time calculator adds and subtracts durations in this format.

Hours to seconds chart

HoursSeconds
0.25 h (15 min)900 s
0.5 h (30 min)1,800 s
1 h3,600 s
1.5 h5,400 s
2 h7,200 s
8 h28,800 s
24 h (1 day)86,400 s
168 h (1 week)604,800 s

Uses in programming and IT

Many systems store time as seconds:

  • Timeouts and cache settings are often set in seconds. A one-hour cache is 3600, and a day is 86400.
  • Unix timestamps count seconds since 1 January 1970 (UTC). Adding 86,400 to a timestamp moves it forward one day.
  • Cookies and tokens often have a max age in seconds: a 30-day cookie is 2,592,000 seconds.
  • Some systems use milliseconds instead, so multiply by 1,000 again: one hour is 3,600,000 ms.

Uses in science and engineering

SI units use seconds, so speeds in metres per second, flow rates and power calculations need time in seconds. To convert km/h to m/s, for example, you divide by 3.6, which comes from 1,000 m ÷ 3,600 s. Energy in joules is power in watts multiplied by seconds: a 100 W bulb running for 2 hours uses 100 × 7,200 = 720,000 J, or 0.2 kWh. The energy converter and electricity cost calculator take it from there.

Uses in sport and fitness

Race times are often compared in total seconds. A marathon in 3:30:00 is 12,600 seconds; dividing the distance by the time gives average speed. The pace calculator handles pace per kilometre or mile directly.

Leap seconds

Occasionally a leap second has been added to UTC to keep clocks aligned with the Earth's slightly irregular rotation, making that particular day 86,401 seconds long. For everyday purposes, an hour is always 3,600 seconds.

Spreadsheets and time values

Spreadsheet programs store times as fractions of a day, so 12:00 is 0.5 and one hour is 1/24. To turn a time cell into seconds, multiply it by 86,400, the number of seconds in a day. To go the other way, divide a number of seconds by 86,400 and format the cell as a time or duration. Forgetting this is a common reason for strange results when adding times in a spreadsheet, such as totals that reset after 24 hours. Use a duration format such as [h]:mm:ss so totals above a day display correctly.

Frequently asked questions

How many seconds are in an hour?

There are 3,600 seconds in one hour: 60 minutes of 60 seconds each.

How many seconds are in a day?

86,400 seconds, which is 24 × 3,600.

How do I convert seconds to hours, minutes and seconds?

Divide by 3,600 for hours, divide the remainder by 60 for minutes, and the final remainder is seconds.

How many milliseconds are in an hour?

3,600,000 milliseconds, because each second has 1,000 milliseconds.

Share

Try it yourself

Run your own numbers with our free tool: Hours to seconds. No sign-up, and it works on any device.

Open the calculator