Time to Decimal Calculator

 
Clock time (hh:mm:ss)
Hours (hh)
Minutes (mm)
Seconds (ss)

Result

Time in Decimal
Hours
Minutes
Seconds
CALCULATE
CALCULATE

Time To Decimal Calculator?

The Time to Decimal Calculator can help you get the equivalent of time format in decimal hours, minutes and seconds.
In order to use this calculator the user should enter the three values of Hours (hh), Minutes(mm) and Seconds(ss) and the result will be calculated and automatically displayed in the result section.

The Hours, Minutes and Seconds in the result section are three independent results, which means the Time is converted to decimal Hours then to decimal Minutes and then to decimal Seconds.

How to Convert Time to Decimal?

In this section we will see how to calculate the decimal time manually,
In the following formlas we will use these abbreviations:

  • T_HH: Hours (hh) of clock time
  • T_MM: Minutes (mm) of clock time
  • T_SS: Seconds (ss) of clock time
  • DEC_H: Decimal Hours
  • DEC_M: Decimal Minutes
  • DEC_S: Decimal Seconds

1- Time to Decimal Hours
To calculate decimal hours we should convert T_MM and T_SS to hours then we add them to t_HH, So we divide T_MM by 60 because we have 60 minutes in one hour, and we divide T_SS by 3600 because we have 3600 seconds in one hour.
The formula to calculate decimal hours is:
DEC_H = T_HH + T_MM / 60 + T_SS / 3600

2- Time to Decimal Minutes
To calculate decimal minutes we should convert T_HH and T_SS to minutes then we add them to t_MM, So we multiply T_HH by 60 because we have 60 minutes in one hour, and we divide T_SS by 60 because we have 60 seconds in one minute.
The formula to calculate decimal minutes is:
DEC_M = T_HH * 60 + T_MM + T_SS / 60

3- Time to Decimal Seconds
To calculate decimal seconds we should convert T_HH and T_MM to seconds then we add them to t_SS The reason we multiply T_HH by 3600 is that we have 3600 seconds in one hour, and the reason we multiply T_MM by 60 is that we have 60 seconds in one minute.
The formula to calculate decimal seconds is:
DEC_S = T_HH * 3600 + T_MM * 60 + T_SS

Convert Time to Decimal Example

In this section we will calculate decimal hours, decimal minutes and decimal seconds of this time 03:45:15 and we will use formulas from the previous section.

03:45:15 to Decimal Hours
Decimal Hours = 3 + 45 / 60 + 15 / 3600
Decimal Hours = 3 + 0.75 + 0.004166
Decimal Hours = 3.754166

03:45:15 to Decimal Minutes
Decimal Minutes = 3 * 60 + 45 + 15 / 60
Decimal Minutes = 180 + 45 + 0.25
Decimal Minutes = 225.25

03:45:15 to Decimal Seconds
Decimal Seconds = 3 * 3600 + 45 * 60 + 15
Decimal Seconds = 10800 + 2700 + 15
Decimal Seconds = 13515