How this instrument works
Clock-format durations are written in base 60: 60 seconds to a minute, 60 minutes to an hour. Decimal durations are written in base 10, the same base as ordinary arithmetic. The two don't line up automatically — 1 hour 30 minutes isn't '1.30' in decimal, it's 1.5, because 30 minutes is 30/60 = 0.5 of an hour, not 30/100. This calculator does that base conversion for you, in three directions from a single input: decimal hours, decimal minutes, and decimal seconds.
The three formulas share the same underlying total: decimal hours = hh + mm/60 + ss/3600; decimal minutes = hhx60 + mm + ss/60; decimal seconds = hhx3600 + mmx60 + ss. Each one is just the same duration expressed in a different unit, computed by converting every component into that unit and summing. Decimal seconds will always be a whole number if the input seconds are whole; decimal hours and decimal minutes are usually fractional unless the input divides evenly.
This comes up wherever a system needs a single plain number instead of three separate clock fields — feeding a duration into a spreadsheet formula, a pace or rate calculation, a script that expects hours as one float, or a lab notebook recording an elapsed reaction time. Any place a stopwatch reading (hh:mm:ss) needs to become one arithmetic-ready number is what this converts.
- Enter the duration's hours (hh).
- Enter the minutes (mm), from 0 to 59.
- Enter the seconds (ss), from 0 to 59.
- Read decimal hours — the duration expressed as a single number of hours.
- Read decimal minutes and decimal seconds alongside it, the same duration in the other two units.
Worked example — a 1:30:00 race split
A runner finishes a half-marathon split in exactly 1 hour 30 minutes 0 seconds, and their pacing spreadsheet needs that as a plain decimal-hours number to divide into distance. Decimal hours = 1 + 30/60 + 0/3600 = 1 + 0.5 + 0 = 1.5 exactly. Decimal minutes = 1x60 + 30 + 0/60 = 90 exactly, and decimal seconds = 1x3600 + 30x60 + 0 = 5,400 exactly — three equivalent ways of writing the same 90-minute duration.
For a messier input, take 2 hours 30 minutes 35 seconds: decimal hours = 2 + 30/60 + 35/3600 = 2 + 0.5 + 0.009722 = 2.509722; decimal minutes = 2x60 + 30 + 35/60 = 150.583333; decimal seconds = 2x3600 + 30x60 + 35 = 9,035 exactly. The seconds figure stays a clean whole number even when hours and minutes come out fractional, since seconds is the finest unit in the input.
Questions
Why isn't 1 hour 30 minutes equal to 1.30 in decimal?
Because clock time runs in base 60, not base 100 — 30 minutes is 30 out of 60 minutes in an hour, which is a fraction of 0.5, not 0.30. Reading minutes as if they were decimal digits after the point is one of the most common conversion mistakes; the actual formula divides minutes by 60, not by 100.
Which of the three outputs should I use?
Use decimal hours for anything rate-based per hour (pace, hourly billing, speed), decimal minutes for anything timed in minute-scale intervals, and decimal seconds when you need the finest-grained whole-number count, such as feeding a duration into code that expects total seconds. All three represent the identical duration; they just differ in which unit is treated as '1.0'.
Does the seconds input round, or does it carry through exactly?
It carries through exactly — there's no rounding in any of the three formulas here. Decimal seconds in particular will always be a clean whole number whenever the seconds you entered are whole, since it's built entirely from whole-number multiplication and addition (hh x 3600 + mm x 60 + ss).
How is this different from a time-card or payroll hours calculator?
A payroll time card typically sums two or more separate worked periods and then applies a pay rate to the total. This calculator does neither of those — it takes one single hh:mm:ss duration and re-expresses it in decimal hours, minutes, or seconds, without any summing or rate multiplication involved.
What if my duration is longer than 24 hours?
Enter the full hour count directly — there's no 24-hour ceiling on the hours field here, since this isn't a clock-time calculation with a midnight rollover, just a straightforward duration conversion. A 30-hour, 15-minute duration converts the same way as any other: decimal hours = 30 + 15/60 = 30.25.