Reverse duration converter

Convert decimal hours to time

Turn decimal-hour values into hours, minutes, and seconds, with fractional seconds rounded openly to the nearest second.

  • Dot or comma decimals
  • Precise integer arithmetic
  • No 24-hour wrap

Single conversion

Use a dot or comma separator, with up to 12 fractional digits.

Duration

Your duration will appear here.

Convert a decimal-hour column

Paste one value per line, then copy clean durations back into a spreadsheet.

Up to 1,000 non-empty rows

Values and results stay in this browser tab.

The calculation

How decimal hours become H:MM:SS

Multiply decimal hours by 3,600 to get total seconds. The calculator parses your decimal as an integer plus a decimal scale, which avoids binary floating-point surprises before the final second is chosen.

total seconds = decimal hours × 3,600

For 2.75, that is 2.75 × 3,600 = 9,900 seconds, which normalizes to 2:45:00.

2.75 → 2:45:00

The fractional 0.75 hour is exactly 45 minutes.

1.001 → 1:00:04

The exact result includes 3.6 seconds, so the displayed duration rounds half up to four seconds.

40.5 → 40:30:00

Durations may exceed one day; 40 hours stays 40 hours.

Second-level output

When fractional seconds are rounded

Not every decimal-hour value maps to a whole second. The output uses half-up rounding to the nearest second and tells you whenever that happened. It never rounds the source to a 5-, 10-, or 15-minute interval.

The result is a duration, not a clock reading. The converter does not infer a date, AM or PM, a shift, a break, or which hours should be paid or billed.

Related tools