Connect via MCP →

Enter Calculation

Formula

Formula: Time to Decimal Calculator
Show calculation steps (1)
  1. Decimal minutes / Total seconds

    Decimal minutes / Total seconds: Time to Decimal Calculator

    Total minutes and total seconds from the duration.

Advertisement

Results

Decimal Hours
2.7625
hours
Entered time 2 hours 45 minutes 45 seconds
Decimal hours 2.7625 hours
Decimal minutes 165.75 minutes
Total seconds 9,945 seconds

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.

Diagram showing hours plus minutes over 60 plus seconds over 3600 equals decimal hours
Each time unit is converted to hours and summed to get decimal hours.

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.

Clock face split into a colon-separated time and an equivalent single decimal number
A clock time on the left equals a single decimal-hours value on the right.

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.

Last updated: