Inches to Fraction Calculator
Decimal inches are convenient for calculators, CAD exports, spreadsheets, and product specifications. Tape measures, rulers, shop drawings, and many building plans often use fractions instead. This calculator converts a decimal inch value to the nearest practical inch fraction, using a denominator you choose from 2 through 128. It also reports the rounded decimal value and the rounding difference so you can see exactly what changed.
The page is about fractional-inch rounding, not about converting feet and inches or centimeters. A decimal inch such as 2.625 already uses inches as the unit; the question is how to express the decimal part as a ruler fraction. The selected precision acts like the spacing of the marks on the measuring tool. Choosing nearest 1/16 inch means every result must land on a sixteenth-inch mark or a simpler equivalent such as 1/8, 1/4, or 1/2.
How the rounding works
The calculator separates the whole-inch part from the fractional remainder. It multiplies the remainder by the selected denominator and rounds to the nearest whole numerator. If the numerator equals the denominator, the result carries one full inch into the whole part and sets the numerator to zero. Otherwise, the calculator reduces the numerator and denominator by their greatest common divisor before building the display.
That reduction step is why the result may not show the denominator you selected. If you choose sixteenths and the rounded fraction is 10/16, the simplified display is 5/8. The measurement still lies on a sixteenth-inch grid; it is just written in the shortest equivalent form. The supporting “rounded decimal” line shows the exact decimal value of the rounded fraction before any display simplification.
Formula
Let the selected denominator be the number of equal marks per inch.
The displayed fraction is reduced to lowest terms after the rounding numerator is found. The calculation accepts negative numbers by rounding the absolute value and reapplying the sign.
2.625 inches to sixteenths
The default value is 2.625 in with precision set to nearest 1/16 inch. The whole-inch part is 2, and the decimal remainder is 0.625.
The raw fraction is 10/16. The greatest common divisor of 10 and 16 is 2, so the reduced fraction is 5/8. The calculator displays 2 5/8”. The rounded decimal is 2.625 in, and the rounding difference is 0 in because the decimal lands exactly on a sixteenth-inch mark.
For a value that does not land exactly, try 3.2 in at nearest 1/16. The numerator is round(0.2 · 16) = round(3.2) = 3, so the display is 3 3/16”. The rounded decimal is 3.1875 in, and the error is -0.0125 in.
Reference table
| Decimal inches | Precision | Displayed fraction | Rounded decimal | Error |
|---|---|---|---|---|
| 2.625 | 1/16 | 2 5/8” | 2.625 in | 0 in |
| 3.2 | 1/16 | 3 3/16” | 3.1875 in | -0.0125 in |
| 0.28125 | 1/32 | 9/32” | 0.28125 in | 0 in |
| 5.99 | 1/16 | 6” | 6 in | 0.01 in |
| 1.333 | 1/64 | 1 21/64” | 1.328125 in | -0.004875 in |
| -0.375 | 1/16 | -3/8” | -0.375 in | 0 in |
Choosing a denominator
Use the coarsest denominator that still meets your tolerance. A rough wall layout might be easier to communicate at eighths. A cabinet part or trim cut often benefits from sixteenths or thirty-seconds. Very fine denominators such as sixty-fourths and one-hundred-twenty-eighths can create impressive-looking precision, but they are only useful if your measuring tool, material, and process can actually hold that tolerance.
For unit conversion before rounding, use the inch to meter converter or the broader length converter. If your source measurement is a mixed feet-and-inches value, first use the feet and inches calculator to get total inches, then round the decimal inch value here.
Pitfalls with fractional inches
Do not assume a decimal has a short exact ruler fraction. Values such as 0.1 inch do not land neatly on common denominators, so the result depends on the chosen precision. Do not use a rounded fraction for tolerance-critical calculations unless the rounding error is acceptable. Do not confuse the selected denominator with the displayed denominator after simplification; 4/16, 2/8, and 1/4 describe the same mark, but 1/4 is clearer.
Sources
- NIST, SI Units — official unit context used when inch measurements connect to metric units.
- NIST, Special Publication 811 — guidance on unit symbols, numerical values, and conversion presentation.
- NIST, Metric SI — official US metric-system resources for projects that mix inch and metric measurements.