Math Calculator

Time to Decimal Calculator

Turn clock time into decimal hours for payroll, spreadsheets, and science labs.

Enter a time string

Use HH:MM:SS or H:MM (hours:minutes).

Clear

About this calculator

How to use Time to Decimal Calculator, plus the formulas and logic behind the results.

Tool description

Decimal hours express minutes and seconds as fractions of an hour: 2:30:00 → 2.5 hours.

How to use

  1. Type time as HH:MM:SS or hours:minutes.
  2. Select Calculate.
  3. Read decimal hours (and total seconds).
  4. Use Clear to restore the sample.

Formulas & reference

  • Decimal hours = H + M/60 + S/3600

Examples

  • 1:30 → 1.5 h
  • 2:30:00 → 2.5 h
  • 0:45:00 → 0.75 h
  • 1:15:30 → 1.2583… h

Calculation logic

Parses colon-separated parts, validates minute/second ranges, and converts to fractional hours.

Minutes and seconds must be between 0 and 59. Hours may be 0 or greater.

Time to Decimal Calculator FAQ

Common questions about this calculator and how to use the results.

What formats are accepted?

HH:MM:SS or H:MM (two or three colon-separated parts).

Is 90 minutes valid as :90?

No—use 1:30 instead. Minutes must be 0–59.

Can hours exceed 24?

Yes for elapsed-time use cases.

Does this convert to decimal minutes?

Primary output is decimal hours; total seconds are also shown.

Are AM/PM supported?

No—enter 24-hour or elapsed style numeric times.

Why use decimal hours?

Many timesheets and scientific formulas expect fractional hours.