Time to Hours Calculator

Convert a duration in hours, minutes, and seconds into decimal hours using H + M/60 + S/3600 — the standard conversion behind payroll timesheets and hourly billing.

Quick Facts

Formula
Decimal hours = H + M/60 + S/3600
Each minute is 1/60 hour; each second is 1/3600 hour.
Payroll convention
Many employers round to the nearest 0.25 or 0.1 hour
15-minute and 6-minute blocks are the two most common increments.

Your Results

Calculated
Decimal hours
-
H + M/60 + S/3600, exact
Rounded hours
-
Per selected payroll rounding
Total minutes
-
Decimal hours × 60
Total seconds
-
Decimal hours × 3600

Ready

Enter hours, minutes, and seconds, then press Calculate.

About the Time to Hours Calculator

This calculator converts a duration expressed in hours, minutes, and seconds into decimal hours — the format used by payroll systems, invoicing software, and time-tracking tools. The formula is exact and needs no lookup table: decimal hours = H + M ÷ 60 + S ÷ 3600.

Why decimal hours matter

  • Payroll and invoicing software multiply an hourly rate by decimal hours, not by minutes and seconds — a 7 hour 30 minute shift must become 7.5, not "7:30," before it can be multiplied by a pay rate.
  • Spreadsheets and accounting systems generally store durations as decimal numbers so they can be summed, averaged, and multiplied directly.
  • Time clocks and punch cards record clock time (hours:minutes:seconds), so a conversion step is needed before that duration can enter a pay or billing calculation.

The conversion formula

For a duration of H hours, M minutes, and S seconds:

Decimal hours = H + (M ÷ 60) + (S ÷ 3600)

Each minute is 1/60 of an hour and each second is 1/3600 of an hour, so dividing the minutes and seconds by their respective totals and adding them to the whole-hour count gives the exact decimal equivalent. For example, 7 hours 45 minutes 0 seconds converts to 7 + 45/60 + 0/3600 = 7.75 decimal hours.

Payroll rounding conventions

Many payroll systems do not use the exact decimal value; they round it to a fixed increment to simplify timesheets. Common increments are the nearest quarter hour (0.25, i.e. 15-minute blocks), the nearest tenth of an hour (0.1, i.e. 6-minute blocks), and the nearest half hour (0.5, i.e. 30-minute blocks). Rounding is applied with standard round-half-up arithmetic: divide the decimal hours by the increment, round to the nearest whole number, then multiply back by the increment. There is no single legal standard — check your employer's or client's specific policy before relying on a rounded figure.

Reading the other outputs

Total minutes and total seconds are the same duration expressed in smaller units — decimal hours × 60 for minutes, decimal hours × 3600 for seconds — useful whenever a downstream system expects a duration in minutes or seconds instead of hours.

Frequently Asked Questions

How do I convert HH:MM:SS to decimal hours?
Divide the minutes by 60 and the seconds by 3600, then add both to the whole hours: decimal hours = H + M/60 + S/3600. For example, 2 hours 15 minutes converts to 2 + 15/60 = 2.25 decimal hours.
Why does payroll round to the nearest quarter hour?
Rounding to a fixed increment such as 0.25 hours (15 minutes) simplifies timesheet review and multiplication by an hourly rate. It is a common but not universal payroll convention — some employers use tenth-hour (6-minute) rounding or no rounding at all, so check your employer's specific policy.
What is 45 minutes as a decimal of an hour?
45 minutes ÷ 60 minutes per hour = 0.75, so 45 minutes is 0.75 of an hour. The same division (minutes ÷ 60) converts any minute value into its decimal-hour equivalent.