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.
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
How it is calculated
- 0.3 × 16 = 4.8, rounded to 5: 5/16 in
- 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, in | mm | Nearest 1/16 | Nearest 1/32 |
|---|---|---|---|
| 0.05 | 1.27 | 1/16 (+0.0125) | 1/16 (+0.0125) |
| 0.10 | 2.54 | 1/8 (+0.0250) | 3/32 (−0.0063) |
| 0.15 | 3.81 | 1/8 (−0.0250) | 5/32 (+0.0062) |
| 0.20 | 5.08 | 3/16 (−0.0125) | 3/16 (−0.0125) |
| 0.25 | 6.35 | 1/4 (+0.0000) | 1/4 (+0.0000) |
| 0.30 | 7.62 | 5/16 (+0.0125) | 5/16 (+0.0125) |
| 0.35 | 8.89 | 3/8 (+0.0250) | 11/32 (−0.0063) |
| 0.40 | 10.16 | 3/8 (−0.0250) | 13/32 (+0.0062) |
| 0.45 | 11.43 | 7/16 (−0.0125) | 7/16 (−0.0125) |
| 0.50 | 12.70 | 1/2 (+0.0000) | 1/2 (+0.0000) |
| 0.55 | 13.97 | 9/16 (+0.0125) | 9/16 (+0.0125) |
| 0.60 | 15.24 | 5/8 (+0.0250) | 19/32 (−0.0063) |
| 0.65 | 16.51 | 5/8 (−0.0250) | 21/32 (+0.0062) |
| 0.70 | 17.78 | 11/16 (−0.0125) | 11/16 (−0.0125) |
| 0.75 | 19.05 | 3/4 (+0.0000) | 3/4 (+0.0000) |
| 0.80 | 20.32 | 13/16 (+0.0125) | 13/16 (+0.0125) |
| 0.85 | 21.59 | 7/8 (+0.0250) | 27/32 (−0.0063) |
| 0.90 | 22.86 | 7/8 (−0.0250) | 29/32 (+0.0062) |
| 0.95 | 24.13 | 15/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.