Decimal to fraction calculator (inches and mm)

0.3 inch to the nearest 1/16 is 5/16 (0.3125 in, +0.0125 in off). Multiply the decimal by 16, round to a whole number and put it over 16; for millimeters divide by 25.4 first, so 7.94 mm is 0.3126 in, or 5/16.

Convert
in
Round to the nearest
Result
5/16 in

0.3 in: the nearest 1/16 inch is 5/16, said “5/16 inch”.

Fraction as decimal
0.3125 in
Off by
+0.0125 in (+0.318 mm)
In millimeters
7.62 mm
01

How it is calculated

  1. 0.3 × 16 = 4.8, rounded to 5: 5/16 in
  2. Off by 5/16 − 0.3 = +0.01250 in

How to convert a decimal inch to a fraction

The worked numbers use the calculator's defaults: 0.3 in and 7.94 mm to the nearest 1/16 inch.

Step 1: Millimeters to inches

Inches = mm ÷ 25.4

Example 7.94 ÷ 25.4 = 0.3126 in

Step 2: Round to the nearest mark

Count = decimal × 16 (or 32, 64), rounded to a whole number

Fraction = count ÷ 16, reduced

Example 0.3 × 16 = 4.8 → 5

Example 5/16 = 0.3125 in

Step 3: How far off the fraction is

Error = fraction − decimal

Example 0.3125 − 0.3 = +0.0125 in = +0.3175 mm

Decimals of an inch to the nearest fraction

Decimal inches from 0.05 to 0.95 rounded to the nearest 1/16 and 1/32 inch; in brackets how many inches the fraction is longer (+) or shorter (−)
Decimal, inmmNearest 1/16Nearest 1/32
0.051.271/16 (+0.0125)1/16 (+0.0125)
0.102.541/8 (+0.0250)3/32 (−0.0063)
0.153.811/8 (−0.0250)5/32 (+0.0062)
0.205.083/16 (−0.0125)3/16 (−0.0125)
0.256.351/4 (+0.0000)1/4 (+0.0000)
0.307.625/16 (+0.0125)5/16 (+0.0125)
0.358.893/8 (+0.0250)11/32 (−0.0063)
0.4010.163/8 (−0.0250)13/32 (+0.0062)
0.4511.437/16 (−0.0125)7/16 (−0.0125)
0.5012.701/2 (+0.0000)1/2 (+0.0000)
0.5513.979/16 (+0.0125)9/16 (+0.0125)
0.6015.245/8 (+0.0250)19/32 (−0.0063)
0.6516.515/8 (−0.0250)21/32 (+0.0062)
0.7017.7811/16 (−0.0125)11/16 (−0.0125)
0.7519.053/4 (+0.0000)3/4 (+0.0000)
0.8020.3213/16 (+0.0125)13/16 (+0.0125)
0.8521.597/8 (+0.0250)27/32 (−0.0063)
0.9022.867/8 (−0.0250)29/32 (+0.0062)
0.9524.1315/16 (−0.0125)15/16 (−0.0125)

How do you convert a decimal to a fraction?

For inches, pick the smallest mark you can read, 1/16 on most tapes. Multiply by 16 and round: 0.3 × 16 = 4.8, rounded 5, so 5/16. Reduce an even count: 0.5 × 16 = 8, and 8/16 is 1/2.

For an exact fraction of any decimal, write it over 10, 100 or 1000 and reduce: 0.375 = 375/1000 = 3/8. Most decimals from a calculator need rounding to a mark first.

How do you convert a mixed number to a decimal?

Divide the fraction and add the whole part: 2 5/16 = 2 + 5 ÷ 16 = 2.3125 in, which is 58.738 mm.

How do you round a decimal to the nearest 1/16?

Multiply by 16, round to the nearest whole number, divide back: 0.3 × 16 = 4.8 → 5 → 5/16 = 0.3125. The rounded fraction is never more than 1/32 inch (0.0313 in, 0.794 mm) off.

What is 0.3125 as a fraction?

0.3125 × 16 = 5 exactly, so 0.3125 inch is 5/16, or 7.938 mm.

Embed this calculator

Paste this code into your site or forum post to show the calculator. It works on any page that allows iframes. Preview the widget.