Skip to content

Inch Fraction Calculator: Decimal, mm and Fractions

Turn decimal inches or millimetres into the nearest fraction of an inch (1/2 to 1/64), and fractions back into decimals and mm.

Your details

Unit system
Convert

Type decimal inches (0.3125) or switch the unit to mm or cm.

Most tape measures show 1/16″; machinists’ rules go to 1/32″ or 1/64″.

Results update as you type

Nearest fraction of an inch

5/16″

Exact decimal inches
0.3125 in
Fraction as a decimal
0.3125 in
Rounding error
0 in
Rounding error in mm
0 mm
Exact length in mm
7.9375 mm
Centimetres
0.79375 cm

The fraction is exact: no rounding error.

Step-by-step solution
  1. Multiply by 16: 0.3125 × 16 = 5 → round to 5/16
  2. 5/16″ = 0.3125 in = 7.9375 mm

Fractions of an inch in steps of 1/16″

Drawings, CAD exports and digital calipers give lengths as decimal inches or millimetres, but tape measures, drill sets and wrenches in the inch system are marked in fractions: 5/16, 3/8, 25/64. This inch fraction calculator translates between the two in either direction.

Type a decimal such as 0.3125 or a metric length such as 10 mm and get the nearest fraction at the precision you choose, from halves down to sixty-fourths, reduced to lowest terms. The calculator also tells you how far off that fraction is, in inches and in millimetres, so you can judge whether 3/8″ is close enough or whether you need to step down to 1/32″ or 1/64″.

The reverse mode reads fractions the way people write them — 3 7/16, 3-7/16, 5/16″ or 2′ 3 1/2″ — and returns the exact decimal inches, millimetres and centimetres. Below the result, a chart lists every step of the selected precision with its decimal and millimetre value. For whole feet-and-inches arithmetic, see the feet and inches calculator.

How to use this calculator

  1. Choose the direction: Decimal / mm → fraction or Fraction → decimal / mm.
  2. For the first, enter the length and pick its unit (inches, mm, cm or feet). For the second, type the fraction, for example 3 7/16 or 2′ 3 1/2″.
  3. Select the precision: 1/16″ matches a typical tape measure, 1/32″ and 1/64″ suit machining, drill bits and fine woodwork.
  4. Read the nearest fraction (or the decimal), then check the rounding error in inches and millimetres.
  5. Open the steps to see the multiplication and reduction, and use the chart to look up neighbouring fractions.

The formula

Since 1959 the inch is defined as exactly 25.4 mm, so in=mm/25.4\text{in} = \text{mm} / 25.4 with no approximation.

To express a decimal length xx (in inches) with denominator DD (2, 4, 8, 16, 32 or 64), count how many 1/D1/D steps it contains and round:

n=round⁡(x×D)x≈nDn = \operatorname{round}(x \times D) \qquad x \approx \frac{n}{D}

The whole inches are ⌊n/D⌋\lfloor n / D \rfloor; the remainder is divided by the greatest common divisor to reduce it (12/16 becomes 3/4). The rounding error is

ε=nD−x,∣ε∣≤12D\varepsilon = \frac{n}{D} - x, \qquad |\varepsilon| \le \frac{1}{2D}

so the worst case is 1/32″ (0.79 mm) at 1/16″ precision and 1/128″ (0.20 mm) at 1/64″. Going the other way is exact: a mixed number w abw\,\tfrac{a}{b} equals w+a/bw + a/b inches, and mm=25.4×in\text{mm} = 25.4 \times \text{in}.

Worked example

Decimal to fraction. 0.3125×16=50.3125 \times 16 = 5 exactly, so 0.3125″ is 5/16″ with zero error.

Millimetres to fraction. 10 mm is 10/25.4=0.39370110 / 25.4 = 0.393701 inches. At 1/64″ precision, 0.393701×64≈25.20.393701 \times 64 \approx 25.2 rounds to 25, giving 25/64″ (0.390625″), only 0.0781 mm off. At 1/16″ the nearest mark is 3/8″, which is 0.475 mm off — fine for rough carpentry, not for fitting a 10 mm dowel.

Fraction to decimal. 3 7/16″ = 3+7/16=3.43753 + 7/16 = 3.4375 inches = 87.3125 mm. And 2′ 3 1/2″ = 27.5 inches = 698.5 mm.

Common fractions of an inch in millimetres

Fraction Decimal inch mm
1/64 0.015625 0.396875
1/32 0.03125 0.79375
1/16 0.0625 1.5875
1/8 0.125 3.175
3/16 0.1875 4.7625
1/4 0.25 6.35
5/16 0.3125 7.9375
3/8 0.375 9.525
1/2 0.5 12.7
5/8 0.625 15.875
3/4 0.75 19.05
7/8 0.875 22.225

Because every denominator is a power of two, these decimals terminate: 1/64″ needs six decimal places and nothing more. The calculator’s chart extends this list to every step of the precision you select.

Choosing the right precision

Pick the coarsest precision that your tool can actually reproduce. A carpenter’s tape is usually marked in sixteenths; a steel rule or drill index often goes to thirty-seconds or sixty-fourths; a caliper reads thousandths, in which case the decimal is more useful than any fraction. Metric hardware rarely matches an inch fraction exactly: a 10 mm bolt is close to 25/64″ but not equal, which is why the error is shown in millimetres too.

Frequently asked questions

How do I convert a decimal inch to a fraction by hand?

Multiply the decimal by the denominator you want (16 for sixteenths), round to the nearest whole number and put it over that denominator, then reduce. 0.6875 × 16 = 11, so 0.6875″ = 11/16″.

What is 10 mm as a fraction of an inch?

10 mm is 0.3937 inch. The nearest sixteenth is 3/8″ (about 0.47 mm short), the nearest thirty-second is 13/32″ (0.32 mm long) and the nearest sixty-fourth is 25/64″ (0.08 mm short).

How many millimetres is 1/16 of an inch?

Exactly 1.5875 mm, because one inch is defined as 25.4 mm and 25.4 ÷ 16 = 1.5875.

How should I write 3 and 7/16 inches?

Usually 3 7/16″ or 3-7/16 in. The calculator accepts both, as well as feet-and-inches notation such as 2′ 3 1/2″ and plain decimals.

Why is my fraction not exact?

Only decimals that are multiples of 1/64 (or of your chosen step) have an exact fraction. Anything else, including almost every metric size, must be rounded; the rounding error output tells you by how much.

Sources

Last updated:

More Conversion calculators

People also use