Convert Hours to H:M:S
Turn a number of hours into a formatted HH:MM:SS time. Helpful when you start with decimals or totals and need a standard time display.
Convert Hours to H:M:S
Result will appear here...
What this converter does
This takes a number of hours, decimals and all, and lays it out as hours, minutes, and seconds. So 2.5 hours becomes 2h 30m 0s. It is the reverse of reducing a time to decimal hours, and it is what you want when you are holding a decimal figure, perhaps a total or a calculated value, and need to read it as an actual time.
How to use it
- Decimal Hours. Enter the number of hours, such as 2.5 or 1.75.
Press Convert and it shows the time as hours, minutes, and seconds.
How the conversion works
The whole number part is already the hours, so the work is in the decimal. The tool turns the full value into seconds by multiplying by 3,600, then peels off the hours, minutes, and seconds from that. So 2.5 hours becomes 9,000 seconds, which is 2 hours, then 30 minutes from the remaining 1,800 seconds, then nothing left over. It rounds to the nearest second, so you always get a clean whole-second answer.
Why turn a decimal back into time
Decimals are good for sums but poor for picturing. A figure like 1.75 hours does not immediately read as a length of time, while 1h 45m 0s does. So once the arithmetic is done, adding times, averaging them, or pulling a value out of a spreadsheet, converting back to hours, minutes, and seconds makes the result something you can actually picture and use. It is the readable end of the round trip that decimal hours begin.
An example
Take 1.75 hours. Multiplying by 3,600 gives 6,300 seconds. That is 1 hour, which uses 3,600, leaving 2,700 seconds, which is 45 minutes exactly, with nothing left. So 1.75 hours is 1h 45m 0s. The 0.75 was three quarters of an hour, which is 45 minutes.
Questions people ask
How do I convert decimal hours to H:M:S?
The whole number is the hours. Multiply the decimal part by 60 for the minutes, and any remainder by 60 again for the seconds. So 2.5 hours is 2h 30m 0s.
What is 0.25 hours in minutes?
15 minutes, since a quarter of an hour is 15 minutes. Likewise 0.5 is 30 minutes and 0.75 is 45 minutes.
Does it round?
Yes, to the nearest second, so the result is always a clean whole number of seconds rather than a fraction.
How do I go the other way?
Use an H:M:S-to-hours converter, which takes a time like 2h 30m and gives you the decimal 2.5.
Skanda Aryal is a full stack engineer focused on accessible web experiences, with personal interests in time zones, travel, hiking, and geography. His enjoys playing with utilities tied to movement, schedules, places, and time based coordination. At Eon Tools, he reviews geography, transportation, times now, and date and time tools.
Other Tools
- Convert H:M:S to Hours
- Convert H:M:S to Minutes
- Convert H:M:S to Seconds
- Convert Minutes to H:M:S
- Convert Seconds to H:M:S
- Convert Seconds to Human Time
- Convert UNIX Time to UTC
- Convert UTC Time to UNIX
- Decimal to Time Converter
- Military Time Converter
- Time to Decimal Converter
- Timesheet Converter
- Timestamp Generator
- Unix Timestamp Converter