Skip to content
ENExplore Calculators

Hours to Decimal Calculator

Convert a clock duration into decimal hours and back again.

About Hours to Decimal Calculator

Converting through total seconds handles all three components uniformly and avoids compounding rounding at each step. The fraction of a day is what spreadsheet date arithmetic uses internally. Spreadsheets store times as fractions of a day, which is why a duration pasted as text so often produces nonsense until converted properly.

Formula

Hours to Decimal

Decimal hours = (hours × 3,600 + minutes × 60 + seconds) ÷ 3,600

decimal hours
A single number representing the whole duration

Worked example

With the default values below, Hours to Decimal Calculator returns Decimal Hours of 6.341667. Change any input above and every figure here is recalculated in your browser.

Inputs used

Hoursminimum 0 h
6 h
Minutesaccepts 0–59 min
20 min
Secondsaccepts 0–59 s
30 s

Results

Decimal Hours
6.341667 h
Decimal Minutes
380.5000 min
Total Seconds
22,830 s
Fraction of a Day
0.26423611
Clock Format
06:20:30

Step by step

  1. 1Values used
  2. 2Hours to Decimal
  3. 3Decimal Hours= 6.341667 h
  4. 4Decimal Minutes= 380.5000 min
  5. 5Total Seconds= 22,830 s
  6. 6Fraction of a Day= 0.26423611
  7. 7Clock Format= 06:20:30

Assumptions and limits

  • The result is derived only from the 3 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
  • Figures are rounded for display to 8 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

How is Hours to Decimal calculated?

Decimal hours = (hours × 3,600 + minutes × 60 + seconds) ÷ 3,600 Converting through total seconds handles all three components uniformly and avoids compounding rounding at each step. The fraction of a day is what spreadsheet date arithmetic uses internally.

Why does Hours to Decimal matter?

Spreadsheets store times as fractions of a day, which is why a duration pasted as text so often produces nonsense until converted properly.

What values do I need to enter?

This calculator takes 3 inputs: Hours, Minutes, Seconds. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

Hours to Decimal Calculator | Calcrivo