Time to Decimal Calculator

Convert hh:mm:ss to decimal hours, decimal minutes and total seconds at once. Type 2:30 and read every equivalent instantly, with rounding flagged.

Loading calculator…

Two things called "time" that convert differently

The same text can mean an elapsed span or a point in the day. 2:30 is two and a half hours on a timesheet and half past two on a clock, and the two produce different answers for everything downstream. This calculator picks the span reading by default, tells you it did, and lets you switch with one click.

What decimal time is for

Decimal hours exist because money is a multiplication. A shift of 7 hours 30 minutes is 7.5 hours, and 7.5 × rate is one step. Writing 7.30 instead loses twelve minutes per shift — about 52 hours a year on a five-day week, or nearly seven working days.

The arithmetic

Everything goes to seconds first, then divides:

  • total seconds = hours × 3600 + minutes × 60 + seconds
  • decimal hours = total seconds ÷ 3600
  • decimal minutes = total seconds ÷ 60

2:30:15 becomes 9015 seconds, which is 2.504167 hours — a rounded figure, and labelled as one.

Common conversions

MinutesDecimal hours
50.083333
100.166667
150.25
200.333333
300.5
400.666667
450.75
500.833333

Only the quarter hours land on exact decimals. Everything else recurs, which is why rounding rules matter on a timesheet that adds up five of them.

Frequently asked questions

Why does payroll want decimal hours instead of hours and minutes?
Pay is a multiplication, and 7:30 is not 7.30. Multiplying a rate by 7.30 instead of 7.5 underpays twelve minutes of every shift, so timesheet systems convert to decimal hours first and multiply after.
How do I convert minutes to decimal hours by hand?
Divide the minutes by 60. 30 minutes is 30 ÷ 60 = 0.5 hours, 45 minutes is 0.75, and 20 minutes is 0.3333 recurring — which is why the result here is marked as rounded.
What does the rounded marker mean?
Some conversions never terminate. 100 seconds is 0.0277 recurring hours, so any decimal shown is an approximation. This calculator rounds to six places and says so, rather than presenting a rounded figure as exact.
Is 2:30 two and a half hours or half past two?
Both readings are valid, so the calculator shows which one it used and offers the other in one click. On this page a bare 2:30 is read as a duration of two and a half hours by default.

Related calculators