Time to Decimal Converter
Hours and minutes to decimal hours and back, with the seconds two decimal places quietly lose.
Updated
Two is what most payroll fields hold.
Converted
7.33
7h 20m · 440 minutes
- Total minutes
- 440
- Exact decimal
- 7.333333
- Rounded to 2 places
- 7.33
- That decimal read back
- 7h 19m 48s
- Pay from exact minutes
- $161.33
- Pay from the rounded decimal
- $161.26
This one does not convert cleanly — 12.0 seconds short per shift. 20 minutes is not a whole number of hundredths of an hour, so 7.33 is really 7h 19m 48s. Across 260 shifts a year that drift compounds into roughly 52 minutes. Adding exact minutes first and converting once at the end avoids it.
8 hours 30 minutes is 8.50, not 8.30. Minutes are sixtieths and decimals are hundredths, so the two only ever agree at the hour. Writing the clock reading straight into a decimal field is the single most common payroll entry error, and it overstates or understates every shift it touches.
In short
How do I convert time to decimal hours?
Divide minutes by 60 and add the hours: 8 hours 30 minutes becomes 8.50, not 8.30. The reverse conversion multiplies the decimal part by 60. Rounding can lose time: 7:20 becomes 7.33 at 2 places, which converts back to 7 hours 19 minutes 48 seconds.
Keep exact minutes until the final total whenever possible, because rounding each line separately can produce a different sum from rounding once at the end.
How to use the time to decimal converter
Choose the direction that matches the value you already have. For time to decimal, enter the whole hours and the remaining minutes. For decimal to time, enter one decimal-hour number. The converter presents both directions on the same page because a rounded decimal may not return to the exact time that produced it.
In the forward direction, the engine turns the entire duration into minutes, divides by 60, and then rounds only for the displayed storage value. Eight hours and 30 minutes is 510 minutes, and 510 divided by 60 is 8.50 hours. Writing 8.30 treats 30 as hundredths of an hour and understates the duration by 12 minutes.
8.50
8 hours 30 minutes
exact at two decimal places
7.33
Stored from 7 hours 20 minutes
rounded down by 12 seconds
7:19:48
Time represented by 7.33
not the original 7:20:00
In the reverse direction, the engine converts the whole decimal value into seconds before splitting it into hours, minutes, and seconds. That order avoids a floating-point remainder changing 19.8 minutes into a misleading display. It also exposes the lost fraction: 7.33 hours is exactly 7 hours, 19 minutes, and 48 seconds at whole-second precision.
Use the minutes-to-decimal chart when the minute falls on a five-minute mark. Only 0, 15, 30, and 45 minutes land exactly on a whole hundredth of an hour. The other eight rows alternate between losing and gaining 12 seconds when their exact fractions are rounded to two decimal places.
For a single value, the drift may be visible only in seconds. Across repeated entries, however, the order of operations changes the total. Five 7:20 shifts rounded separately produce 7.33 × 5 = 36.65. Adding the exact durations first produces 36 hours 40 minutes, which rounds once to 36.67 decimal hours.
- 1
Preserve the source minutes
Record 7 hours 20 minutes as 440 minutes before introducing a rounded decimal value.
- 2
Add exact durations
Five identical entries total 2,200 minutes, which is 36 hours 40 minutes.
- 3
Convert the completed total
Dividing 2,200 by 60 gives 36.666 recurring, displayed as 36.67 at two places.
Need elapsed time first?
Find the duration between clock-in and clock-out, subtract a break, and then bring the resulting hours and minutes into this conversion.
Calculate the time duration →Minutes-to-decimal chart generated from every five-minute mark in the clock engine, showing the two-place decimal, whether it is exact, the round-trip time, and the signed drift.
| Minutes | Decimal hour | Exact or approximate | Converts back to | Drift |
|---|---|---|---|---|
| 0 min | 0.00 | Exact | 0h 0m | 0 s |
| 5 min | 0.08 | Approximation | 0h 4m 48s | -12 s |
| 10 min | 0.17 | Approximation | 0h 10m 12s | +12 s |
| 15 min | 0.25 | Exact | 0h 15m | 0 s |
| 20 min | 0.33 | Approximation | 0h 19m 48s | -12 s |
| 25 min | 0.42 | Approximation | 0h 25m 12s | +12 s |
| 30 min | 0.50 | Exact | 0h 30m | 0 s |
| 35 min | 0.58 | Approximation | 0h 34m 48s | -12 s |
| 40 min | 0.67 | Approximation | 0h 40m 12s | +12 s |
| 45 min | 0.75 | Exact | 0h 45m | 0 s |
| 50 min | 0.83 | Approximation | 0h 49m 48s | -12 s |
| 55 min | 0.92 | Approximation | 0h 55m 12s | +12 s |
Why two decimal places lose seconds
An hour uses 60 minutes, while a two-place decimal field divides the hour into 100 hundredths. A minute is therefore one sixtieth of an hour rather than one hundredth. Fractions whose reduced denominator fits into hundredths terminate cleanly; the others repeat and must be rounded before they fit in two decimal places.
Quarter hours are the clean cases. Fifteen minutes is 0.25 hour, 30 minutes is 0.50, and 45 minutes is 0.75. Zero minutes is 0.00. On the twelve five-minute marks listed in the table, those four are exact and the remaining eight are approximations, even though every displayed result has two tidy digits.
Read it: A clean two-digit display does not prove that the underlying duration survived the conversion exactly.
The direction from decimal back to time is exact only for the decimal value supplied. The engine can state precisely that 7.33 means 7:19:48, but it cannot infer whether the user originally meant 7:20, measured 7:19:48, or received 7.33 from another rounding policy. Information discarded before entry cannot be reconstructed afterward.
More decimal places reduce the drift without changing the method. At two places, one hundredth of an hour is 36 seconds, so the nearest stored value can differ from the exact duration. The page reports the signed drift rather than hiding it: a negative sign means the rounded decimal is shorter, and a positive sign means it is longer.
Why the weekly total depends on rounding order
Rounding is not distributive over addition. In plain terms, rounding every line and then adding can differ from adding the exact lines and rounding once. The difference appears even when every shift is identical, so it is not caused by a complicated schedule or by mixing several kinds of time entry.
Take five shifts of 7 hours 20 minutes. Each exact value is 7.333 recurring hours, but a two-decimal field stores 7.33. Adding those stored values gives 36.65. The source durations total 2,200 minutes instead, equal to 36 hours 40 minutes, and converting that combined duration gives 36.666 recurring, displayed as 36.67.
- Round each shift
- 7.33 × 5 = 36.65
- Add source minutes
- 440 × 5 = 2,200 minutes
- Convert the exact total
- 36 h 40 m = 36.666 recurring
- Rounded once at the end
- 36.67
The two methods differ by 0.02 hour in the stored total. That discrepancy is created entirely by where rounding occurs, not by a change in the underlying shifts.
The practical rule is to retain integer minutes or seconds as long as the source allows, sum those exact units, and convert the finished total once. If a payroll or billing system requires every daily line to be rounded, follow its documented policy and keep the original punches available for reconciliation.
The formula, worked line by line
Forward conversion starts by placing the whole duration on one base-60 scale. Multiply hours by 60, add the remaining minutes, and divide that total by 60. The quotient is the exact decimal-hour value. Rounding belongs after this division, and only when a display or receiving field imposes a fixed number of decimal places.
Reverse conversion works most reliably through seconds. Multiply the decimal hours by 3,600 and round to a whole second, take complete groups of 3,600 as hours, then complete groups of 60 from the remainder as minutes. The final remainder is seconds, which makes any fraction hidden by the decimal visible again.
A round trip can preserve the supplied decimal perfectly and still fail to recover the source time. The engine first turns 7:20 into 7.333 recurring, stores 7.33 at two places, and then converts that stored value to 7:19:48. The reverse step is correct; the 12 seconds were discarded by the earlier rounding step.
total minutes = hours × 60 + minutes
exact decimal hours = total minutes ÷ 60
stored decimal = round(exact decimal hours, selected places)
total seconds from decimal = round(decimal hours × 3600)
drift seconds = (stored decimal - exact decimal) × 3600- Whole hours in minutes
- 8 × 60 = 480
- Add the remaining minutes
- 480 + 30 = 510
- Divide by one hour
- 510 ÷ 60 = 8.5
- Two-place decimal
- 8.50
The result is exact because half an hour is one half, which terminates cleanly in decimal notation. The string 8.30 would mean 8 hours 18 minutes instead.
The contrast with 7:20 is entirely in the fraction. Twenty minutes divided by 60 reduces to one third, so the decimal repeats. The engine rounds 7.333 recurring to 7.33 at two places, records a drift of negative 12 seconds, and returns 7 hours 19 minutes 48 seconds from that stored value.
- Decimal hours in seconds
- 7.33 × 3,600 = 26,388
- Complete hours
- 7 hours = 25,200 seconds
- Remainder
- 1,188 seconds = 19 minutes 48 seconds
- Clock duration
- 7:19:48
That answer describes the decimal value exactly at whole-second precision. It does not silently restore the 12 seconds that were removed when 7:20 was rounded down.
The sign of the drift alternates across most five-minute marks. Five minutes rounds down to 0.08 and loses 12 seconds; 10 minutes rounds up to 0.17 and gains 12. Quarter-hour marks return exactly because their decimal fractions terminate at two places. The reference chart exposes each case rather than implying that every row is exact.
Questions people ask
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
NIST identifies the second as the SI unit of time and recognizes minute and hour for quantities related to calendar cycles, supporting conversion through a single base time unit.
NIST Guide to the SI, Chapter 8: Comments on Some Quantities and Their Units — NIST
United States federal rules address limited rounding of employee start and stop times and require that the practice not result, over time, in failure to compensate employees properly.
29 CFR 785.48 — Use of time clocks — Electronic Code of Federal Regulations, Current eCFR
Related guides
Putting JSON in a URL: Validate, Minify, Percent-Encode, or Base64url?
A decision guide for flattening, encoding, checking, and safely transporting JSON in a query string.
August 11, 2026 · 9 min read
How Many Grams in a Cup? Every Ingredient, One Chart
One formula, fourteen densities. Why flour is 120 g, honey is 340 g, and the ingredient — not the cup — decides the number.
August 10, 2026 · 14 min read
How Are Loan Payments Calculated? Amortization, Explained
One level payment, front-loaded interest — the formula worked by hand, the two levers you control, and why the smaller payment is often the costlier loan.
July 23, 2026 · 13 min read