Time to Decimal Calculator

Convert hours and minutes in both directions or add a list of decimal durations. HMS → decimal hours / Decimal hours → HMS

Decimal hours
—
Duration (hours:minutes)
—
Total minutes
—
Duration (hours:minutes:seconds)
—
Calculation
—
Angles: degrees, minutes, seconds

Durations are nonnegative and do not wrap at 24 hours. Each entry supports up to 1000000 hours; lists support 1000 entries. Use a decimal point and up to nine decimal places, without exponent notation. Separate list items with commas, semicolons or newlines. Hours/minutes input requires whole hours and minutes 0–59. Decimal durations round to the nearest minute; half a minute rounds upward with proper hour carry. New HMS modes use nonnegative components, each ≤1,000,000, with a decimal point or comma and up to nine decimal places. Excess minutes/seconds are normalized. Decimal hours → HMS accepts up to 1,000,000 hours and rounds to the nearest second, halves upward. The separate hours:minutes result still rounds to the nearest minute. Durations never wrap at 24 hours. Existing decimal/list modes retain their decimal-point input and minute rounding.

How time converts to decimal hours

Convert hours and minutes in both directions or add a list of decimal durations. HMS → decimal hours / Decimal hours → HMS

Durations are nonnegative and do not wrap at 24 hours. Each entry supports up to 1000000 hours; lists support 1000 entries. Use a decimal point and up to nine decimal places, without exponent notation. Separate list items with commas, semicolons or newlines. Hours/minutes input requires whole hours and minutes 0–59. Decimal durations round to the nearest minute; half a minute rounds upward with proper hour carry. New HMS modes use nonnegative components, each ≤1,000,000, with a decimal point or comma and up to nine decimal places. Excess minutes/seconds are normalized. Decimal hours → HMS accepts up to 1,000,000 hours and rounds to the nearest second, halves upward. The separate hours:minutes result still rounds to the nearest minute. Durations never wrap at 24 hours. Existing decimal/list modes retain their decimal-point input and minute rounding.

h = H + M/60 + S/3600; min = 60h

Frequently asked questions

Why do payroll systems use decimal hours instead of hours and minutes?

Decimal hours are easier to multiply by an hourly wage — 7.5 hours × $20/hour is a simple multiplication, while 7 hours 30 minutes requires converting the minutes first. Most payroll software stores and calculates time in decimal form for this reason.

Why isn't 30 minutes equal to 0.30 in decimal hours?

Decimal hours are a fraction of 60 minutes, not 100 — so 30 minutes is half an hour, or 0.5, not 0.30. This is a common point of confusion since it doesn't match the usual base-10 intuition.

Can I convert decimal hours back to hours and minutes?

Yes — take the whole number part as hours, then multiply the decimal remainder by 60 to get minutes. For example, 7.5 decimal hours is 7 hours plus 0.5×60 = 30 minutes.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Calculation mode = Sum decimal durations
Durations, one per line: decimal hours or h:mm = 8:15 7:50 8:30 8:00 6:45
Hourly rate (optional) = 15
Decimal hours: 39.333333333
Duration (hours:minutes): 39:20
Pay for the total time: 590.00
2
Calculation mode = Sum decimal durations
Durations, one per line: decimal hours or h:mm = 8:15 7:50 8:30 8:00 6:45
Hourly rate (optional) =
Decimal hours: 39.333333333
Duration (hours:minutes): 39:20
3
Calculation mode = Sum decimal durations
Durations, one per line: decimal hours or h:mm = 1.5 0:45 2
Hourly rate (optional) = 22.5
Decimal hours: 4.25
Duration (hours:minutes): 4:15
Pay for the total time: 95.63
4
Calculation mode = Sum decimal durations
Durations, one per line: decimal hours or h:mm = 7.25; 8:05
Hourly rate (optional) = 18,40
Decimal hours: 15.333333333
Duration (hours:minutes): 15:20
Pay for the total time: 282.13
5
Calculation mode = Sum decimal durations
Durations, one per line: decimal hours or h:mm = 0:01
Hourly rate (optional) = 60
Decimal hours: 0.016666667
Duration (hours:minutes): 0:01
Pay for the total time: 1.00
6
Calculation mode = Sum decimal durations
Durations, one per line: decimal hours or h:mm = 12:00 0.333333333
Hourly rate (optional) = 0
Decimal hours: 12.333333333
Duration (hours:minutes): 12:20
Pay for the total time: 0.00

How we test our calculators →

Also try:

Back to category →