What this calculator does
This Time to Decimal Calculator converts a duration entered as hh:mm:ss (hours, minutes, seconds) into three useful decimal forms: total decimal hours, total decimal minutes, and total seconds. It treats your entry as an elapsed duration rather than a clock time, so the hours value may be any non-negative number and there is no 24-hour wrapping. It is ideal for timesheets, billing, lab timing, sports splits, and any task that needs fractional hours instead of minutes and seconds.
How to use it
Type the number of hours, minutes, and seconds in the three fields. Blank fields are treated as zero, and decimal values are accepted in any field (for example 45.5 seconds). Press calculate to see the duration expressed three ways. The result panel shows the decimal hours as the headline figure plus a table with decimal minutes and total seconds.
The formula explained
The calculator first finds the canonical value, total seconds, as $$S = h \times 3600 + m \times 60 + s$$. From there it divides: decimal hours = \(S / 3600\) (equivalently \(h + m/60 + s/3600\)) and decimal minutes = \(S / 60\) (equivalently \(60h + m + s/60\)). Each result is rounded to at most six decimal places with trailing zeros trimmed.
Worked example
For 2:45:45, total seconds:
$$S = 2 \times 3600 + 45 \times 60 + 45 = 7200 + 2700 + 45 = 9945 \text{ seconds}$$Decimal hours:
$$\text{Decimal hours} = \frac{9945}{3600} = 2.7625 \text{ hours} \quad (\text{check: } 2 + 0.75 + 0.0125)$$Decimal minutes:
$$\text{Decimal minutes} = \frac{9945}{60} = 165.75 \text{ minutes}$$So 2 hours 45 minutes 45 seconds equals 2.7625 decimal hours.
FAQ
Is this clock decimal time? No. This converts a duration into fractional hours/minutes; it does not compute a decimal time-of-day or wrap at 24 hours.
Can minutes or seconds exceed 59? Yes. The calculator simply sums whatever you enter, so 90 minutes is accepted and counted as 1.5 hours.
Why use decimal hours? Payroll and invoicing systems usually multiply an hourly rate by decimal hours, so converting 2:45 to 2.75 hours avoids manual minute-to-fraction math.