Free calculators and unit converters for general and everyday use.
Our online tools will provide quick answers to your calculation and conversion needs. On this page, you can convert time values specified in hours-minutes-seconds (HMS) to decimal hours and vice-versa.
Each hour is divided into 60 minutes, each of which is further sub-divided into 60 seconds.
hh:mm:ss to decimal hour conversion
dh = hh + mm/60 + ss/3600
Decimal hour to hh:mm:ss conversion
hh = ⌊dh⌋
mm = ⌊(dh - hh) * 60⌋
ss = ((dh - hh) * 60 - mm) * 60
dh = decimal hour
hh = hours
mm = minutes
ss = seconds