Bench:Ratio

Decimal to fraction inch converter

Convert decimals or millimetres to inch fractions, and back.

Nearest fraction
3 5/16 in
Decimal value of that fraction
3.3125 in (84.138 mm)
Difference from your value
+0.0125 in (+0.318 mm)
Next smaller
3 1/4 in
Next larger
3 5/16 in

Formula

fraction = round(decimal × denominator) / denominator, then reduce by the greatest common divisor. 1 in = 25.4 mm

To use sixteenths, multiply the decimal part by 16 and round. The result is the numerator over 16, which is then reduced, for example 8/16 becomes 1/2.

Diagram

Inch fractions on a ruler01/41/23/41 in5/16 in = 0.3125 infraction = round(decimal × denominator) / denominatorReduce the result: 8/16 = 1/2. 25.4 mm = 1 in.
A tape measure divides each inch into halves, quarters, eighths and sixteenths. Longer marks are the simpler fractions.

How it is calculated

  1. Convert millimetres to inches by dividing by 25.4.
  2. Multiply the decimal by the denominator you want, such as 16, and round to a whole number.
  3. Divide by the denominator to get the whole inches and the numerator.
  4. Reduce the fraction by dividing the top and bottom by their greatest common divisor.

Common decimals: 1/16 = 0.0625, 1/8 = 0.125, 1/4 = 0.25, 3/8 = 0.375, 1/2 = 0.5, 5/8 = 0.625, 3/4 = 0.75 and 7/8 = 0.875.

Worked examples

  1. Decimal to a tape fraction

    3.3 in at sixteenths: 3.3 × 16 = 52.8, which rounds to 53. So 3 5/16 in (3.3125 in), which is 0.0125 in over.

  2. Millimetres to a fraction

    25 mm is 0.9843 in. To the nearest 1/16 that is 1 in, and to the nearest 1/64 it is 63/64 in.

  3. Fraction to decimal and mm

    7/8 in = 0.875 in = 22.225 mm.

Key terms

Numerator and denominator
The top and bottom of a fraction. In 5/16, the numerator is 5 and the denominator is 16.
Mixed number
A whole number plus a fraction, such as 3 5/16.
Reducing a fraction
Writing it in the simplest form, for example 8/16 = 1/2.
Tolerance
The allowed error in a dimension. Rounding to a fraction adds its own small error.

Assumptions and limits

Rounding to a fraction always introduces a small error, shown in the result. For precision work, use the decimal or millimetre value and the tolerance on your drawing. See the disclaimer.

Learn more

Related calculators