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
- Choose the direction: Decimal / mm → fraction or Fraction → decimal / mm.
- 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″.
- Select the precision: 1/16″ matches a typical tape measure, 1/32″ and 1/64″ suit machining, drill bits and fine woodwork.
- Read the nearest fraction (or the decimal), then check the rounding error in inches and millimetres.
- 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 with no approximation.
To express a decimal length (in inches) with denominator (2, 4, 8, 16, 32 or 64), count how many steps it contains and round:
The whole inches are ; the remainder is divided by the greatest common divisor to reduce it (12/16 becomes 3/4). The rounding error is
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 equals inches, and .
Worked example
Decimal to fraction. exactly, so 0.3125″ is 5/16″ with zero error.
Millimetres to fraction. 10 mm is inches. At 1/64″ precision, 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″ = 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
- NIST SP 811, Appendix B.8 – conversion factors (1 in = 0.0254 m exactly)
- NIST Handbook 44 – Specifications, tolerances and units of measurement
Last updated: