Beginner

Decimal Time Conversion Calculator — Hours to HH:MM:SS

Switch between decimal hours (e.g. 1.5 h) and clock time (HH:MM:SS) instantly — essential for payroll, timesheets and any app that records time as a decimal fraction.

Conversion direction

h

e.g. 1.5 = 1 hour 30 minutes
Decimal hours
1.5000h

Clock time: 01:30:00

HH:MM:SS
01:30:00
Decimal hours
1.5 h
Decimal minutes
90 min
Total seconds
5,400 s
Conversion formula
decimal h = 1 + 30/60 + 0/3600 = 1.5 h
Clock face showing the converted time
Step by step
  1. 1

    Total seconds

    1.5 × 3,600 = 5,400
  2. 2

    Hours component

    floor(5,400 ÷ 3,600) = 1
  3. 3

    Remaining seconds

    5,400 − 1 × 3,600 = 1,800
  4. 4

    Minutes component

    floor(1,800 ÷ 60) = 30
  5. 5

    Decimal hours

    5,400 ÷ 3,600 = 1.5000
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

To convert decimal hours to HH:MM:SS: whole part = hours, fraction × 60 = minutes, remaining fraction × 60 = seconds. Reverse: dec = H + M/60 + S/3600. Example: 1.5 h = 01:30:00; 2 h 45 min 18 s = 2.755 h. Used in payroll, billing and timesheets where decimal hours multiply cleanly by an hourly rate.

Formula
Decimal hours = H + M/60 + S/3600 • Minutes = frac(decimal) × 60 • Seconds = frac(minutes) × 60
How this is calculated

Payroll and billing software store time as a decimal fraction of an hour (e.g. 1.75 h) because it multiplies directly by an hourly rate. To convert a decimal to HH:MM:SS, take the whole-number part as hours, multiply the fractional part by 60 to get minutes, then multiply any remaining fraction by 60 again for seconds. For 1.5 h: 0 whole-fraction minutes = 30 min, 0 remaining = 0 s → 01:30:00.

The reverse direction is equally direct: decimal hours = H + M ÷ 60 + S ÷ 3600. For 2 hours, 45 minutes and 18 seconds: 2 + 45/60 + 18/3600 = 2.755 hours exactly. Multiplied by an hourly wage, this gives the correct pay without any rounding ambiguity.

This calculator rounds the total to whole seconds before splitting back into parts, preventing floating-point drift that would show 02:59:60 instead of 03:00:00. Minutes and seconds must each be 0–59; hours can be any non-negative value, so durations over 24 hours (e.g. 36:00:00 = 36 decimal hours) work correctly.

Frequently asked questions

0.75 × 60 = 45 minutes. In HH:MM:SS it is 00:45:00. This is the most common question in payroll: quarter-hours (0.25, 0.5, 0.75) equal 15, 30 and 45 minutes respectively.

2 + 20/60 = 2.3333… hours, commonly rounded to 2.33 h. If seconds matter, add S/3600 as well.

Yes. The hours field is uncapped, so a project logged as 36 hours 15 minutes converts to 36.25 decimal hours and back to 36:15:00 correctly.

Also known as

decimal hours to minutes converter
convert decimal time to hours minutes seconds
payroll time decimal converter
hh mm ss to decimal hours
hours to decimal calculator
timesheet decimal converter
decimal to clock time

APA

TG we-Calculate Editorial Team. (2026). Decimal Time Conversion Calculator — Hours to HH:MM:SS [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/decimal-time-conversion-calculator

Chicago

TG we-Calculate Editorial Team. "Decimal Time Conversion Calculator — Hours to HH:MM:SS." TG we-Calculate. 2026. https://we-calculate.com/calculator/decimal-time-conversion-calculator.

IEEE

TG we-Calculate Editorial Team, "Decimal Time Conversion Calculator — Hours to HH:MM:SS," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/decimal-time-conversion-calculator

BibTeX

@misc{wecalculate_decimal_time_conversion_calculator, title = {Decimal Time Conversion Calculator — Hours to HH:MM:SS}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/decimal-time-conversion-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?