calculator.onl
Categories50

Decimal hours converter: hours and minutes

Convert hours and minutes to decimal hours for timesheets, or convert decimal hours back to a duration. See total minutes and the rounded hours:minutes result.

A worked example

Compare 7 hours 15 minutes with 7 hours 45 minutes.

Decimal hours7.5 hTotal minutes before rounding450 minWhole result hours7 hRemaining result minutes30 min
Choose hours and minutes to decimal hours, or decimal hours to hours and minutes.

h
Whole hours in the duration. Values above 24 are allowed; this is not a clock time.

min
The remaining whole minutes, from 0 to 59.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Decimal hours

7.5 h

Calculated from your inputs

Total minutes before rounding450 min
Whole result hours7 h
Remaining result minutes30 min
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Convert a duration between hours and minutes and the decimal hours used on a timesheet. Seven hours and thirty minutes is 7.5 hours, because the decimal part describes a fraction of 60 minutes. This time converter works in both directions and also shows total minutes. It converts an entered duration; it does not calculate a shift from clock-in and clock-out times. For a related calculation, try Overtime pay calculator.

What to enter

InputWhat it meansExample value
Conversion directionChoose hours and minutes to decimal hours, or decimal hours to hours and minutes.Hours and minutes → decimal hours
Whole input hoursWhole hours in the duration. Values above 24 are allowed; this is not a clock time.7 h
Input minutes, 0–59The remaining whole minutes, from 0 to 59.30 min
Input decimal hoursThe duration in decimal hours. For example, 7.5 means 7 hours 30 minutes.—

How the calculation works

  1. Choose the conversion direction.
  2. Enter whole hours and 0–59 minutes, or enter decimal hours in the other direction.
  3. Compare decimal hours and total minutes with the hours:minutes result; 60 rounded minutes carry into the next hour.
The formula[Hours and minutes → decimal hours]: D = H + M/60; T = 60H + M; [Decimal hours → hours and minutes]: T = 60D; N = ⌊T + 0.5⌋; H = ⌊N/60⌋; M = N − 60H

A worked example

Whole input hours: 7 h; Input minutes, 0–59: 30 min. Decimal hours: 7 + 30/60 = 7.5 h. Decimal hours → hours and minutes: 7.999 h → 479.94 min → 480 min → 8:00.

Example you can load

What to enter
Result for this example · Decimal hours7.5 h

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

This converts a duration, not a start/end time. Decimal input is retained in decimal hours and total minutes; only the hours:minutes result rounds to the nearest whole minute, with half a minute rounded up. No breaks, overtime, pay or employer-specific rounding rules are applied.

Reference ·

Frequently asked questions

Does 7.30 hours mean 7 hours 30 minutes?

No: 7.30 decimal hours means 7 hours 18 minutes, because 0.30 × 60 = 18. Seven hours 30 minutes is 7.50 decimal hours.

How is the result rounded?

This converts a duration, not a start/end time. Decimal input is retained in decimal hours and total minutes; only the hours:minutes result rounds to the nearest whole minute, with half a minute rounded up. No breaks, overtime, pay or employer-specific rounding rules are applied.

Can a duration exceed 24 hours?

Yes. This is elapsed work time, so 27 hours 30 minutes remains 27:30, rather than becoming a time of day. Pay and employment rules need a separate calculation.