Time to Decimal Converter
Payroll runs on decimals and clocks run on sixties, and somebody has to translate. This converter goes both ways: hours : minutes : seconds into decimal hours (and decimal minutes) for timesheets and invoices, and decimal hours back into clock time for schedules and logs.
The arithmetic is exact — a time is a whole number of seconds, and decimal hours are that count divided by 3600. One disclosure: converting decimals back to clock time rounds to the nearest whole second, because clock time has no smaller honest unit here — 0.0001 of an hour is 0.36 of a second, and the page says where that rounding lands.
Decimal hours
2.76
The payroll figure: total seconds ÷ 3600, in exact arithmetic.
Decimal minutes
165.6
Total time is 9936 seconds.
How it is worked out
- Total = 2 × 3600 + 45 × 60 + 36 = 9936 seconds.
- Decimal hours = 9936 ÷ 3600 = 2.76 — exact rational arithmetic; a repeating value (like ⅓ hour for 20 minutes) prints at the 10-decimal display.
Embed this calculator on your website →
The formula
decimal hours = (h × 3600 + m × 60 + s) / 3600
- Minutes are sixtieths — 30 minutes is 0.5 hours, 15 minutes is 0.25, and 45 minutes is 0.75. The error everyone makes once — writing 2:45 as 2.45 hours — costs 18 minutes; the worked example below shows the true figure.
- Backwards — multiply the decimal by 3600 to get whole seconds (rounded half-up), then split into hours, minutes, seconds. Hours are not wrapped at 24: this is durations, not time of day.
- Fields are strict — minutes and seconds take 0–59 only. A duration of 2 hours 75 minutes belongs in the Duration Calculator, which normalizes overflows; this converter keeps the clock honest.
Worked example: 2:45:36 is 2.76 decimal hours exactly — and 2.76 hours converts back to 2:45:36.
How it works
Why payroll needs the decimal. Pay is rate × hours, and multiplication needs one number, not two numbers in base 60. At 20 per hour, 2:45 of work is 2.75 × 20 = 55 — while the mistyped 2.45 hours pays 49, shorting six minutes' worth... plus the 30 minutes the 2:45 was hiding. Exact conversion is not pedantry; it is wages.
Rounding, stated. Decimal hours print to 10 places from exact arithmetic, so a timesheet can round at the money step under its own rule. The reverse direction must land on whole seconds — a duration of exactly 9936.36 seconds is not a clock time — so it rounds half-up to the nearest second and prints the resulting total seconds, so the rounding is visible, never hidden.
Examples
- A quarter hour — 0:15:00 is 0.25 hours; 7:30:00 is 7.5.
- One minute — 0:01:00 is 0.0166666667 hours: the repeating decimal that makes manual timesheet math miserable, printed to 10 places from the exact value.
- A long shift — 26.5 decimal hours is 26:30:00 — a duration over a day stays a duration; it does not wrap to 2:30 AM.
Frequently asked questions
Why is 2:45 not 2.45 hours?
Because minutes are sixtieths of an hour, not hundredths. 45 minutes is 45/60 = 0.75 of an hour, so 2:45 is 2.75 hours; 2.45 hours is actually 2 hours and 27 minutes. The 18-minute gap between them is the most common timesheet error in existence, and it always seems to favour the same side.
How do I convert minutes alone?
Divide by 60: 90 minutes is 1.5 hours. On this page, enter the minutes in the minutes field with hours 0 — the converter returns decimal hours and, alongside, decimal minutes for the whole duration, which some billing systems use directly.
Should I round decimal hours for payroll?
That is a policy choice, not a math one — many employers round to the nearest quarter hour or hundredth under local rules. This page prints the exact decimal (to 10 places) so any rounding happens once, at the pay step, under your rule — never silently inside the conversion.
What is the difference between this and the Time Duration Calculator?
Different jobs. The duration calculator adds, subtracts, and normalizes times (90 minutes becomes 1:30 there, and fields may overflow freely). This converter assumes proper clock form — minutes and seconds 0–59 — and translates between clock form and the decimal form payroll needs. Strict fields here are a feature: they catch the 2:75 typo instead of laundering it.
Related calculators
Time Duration Calculator
LiveMeasure the duration between two times or dates in hours, minutes, seconds, and days.
Hours and Minutes Calculator
LiveAdd and subtract hours and minutes without manual base-60 conversion errors.
Overtime Pay Calculator
LiveEstimate regular and overtime pay with rates, multipliers, and assumptions clearly separated.

