Unit & Measurement Conversion Length & Distance International inch, 1959 (1 in = 25.4 mm exactly)

Decimal Inches to Fraction Calculator

This converter turns a decimal inch measurement into the nearest fraction you can actually find on a rule — halves through sixty-fourths — and tells you how far that fraction sits from the number you started with, in thousandths of an inch. Feed it a decimal from a drawing, a millimeter dimension from a metric print, or a fraction you want to check, and it returns the reduced fraction, the exact decimal, the millimeter equivalent and the rounding error. The comparison table shows what every denominator from 1/2 to 1/64 would give, so you can see at a glance how fine a rule you need.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
What you are starting fromChoose the form your measurement is written in; the fields below change to match.A decimal inch value
Decimal inchesThe decimal dimension as printed, for example 0.375 or 2.1875.0.375 in
MillimetersThe metric dimension from the drawing; it is divided by 25.4 before the fraction is found.9.5 mm
Whole inchesThe whole-inch part of a mixed number such as 3 5/8; enter 0 if there is none.3 in
NumeratorThe number above the line, for example the 5 in 5/8.5
DenominatorThe number below the line in the fraction you are entering.eighths (8)
Round the answer toThe finest graduation on the rule or tape you will be reading; 1/16 suits most tape measures.nearest 1/16

It returns

  • Nearest fraction — numerator — Read together with the denominator below: 3 over 8 means three eighths of an inch.
  • Nearest fraction — denominator
  • Whole inches
  • Exact decimal inches
  • Exact millimeters
  • Rounding error — Your value minus the fraction, in thousandths of an inch. Positive means the fraction is the smaller number.

The formula

n=round(xd),ε=xnd
mm=x25.4

In plain text: n = round(x × d), fraction = n/d reduced by gcd(n, d), error = x − n/d

  • xThe measurement in decimal inches (in)
  • dThe denominator you are rounding to (2, 4, 8, 16, 32 or 64) (—)
  • nCount of 1/d units, rounded to a whole number (—)
  • εResidual error: the exact value minus the fraction (in)

Reducing n/d by their greatest common divisor is what turns 6/16 into 3/8. It changes nothing about the value, only how you say it.

Updated Category Length & Distance Verified against published test cases Reading time 10 min

What this converter does and why the denominator is a choice

You are snapping a continuous number onto a discrete set of marks. A decimal inch such as 0.4062 can take any value; a steel rule can only show halves, quarters, eighths, sixteenths, and if it is a machinist's rule, thirty-seconds and sixty-fourths. The conversion multiplies your decimal by the denominator, rounds to a whole count of those marks, and reduces the resulting fraction. Everything interesting happens in the rounding, because that is where a real dimension turns into a mark you can actually cut to.

The denominator is not fixed by the math — it is fixed by your tools. A framing tape reads sixteenths, so a stud layout should be rounded to sixteenths and nothing finer; a number like 3 21/64 on a cut list is a false precision that will be read wrongly on site. A machinist's scale reads sixty-fourths, so a fitter can work to 0.0156 in. Below that you stop using fractions altogether and read a decimal micrometer or a dial indicator, because the whole point of the fraction system is that it maps onto graduations you can see.

This is why the converter reports the error alongside the fraction, and why the comparison table shows every denominator at once. The fraction on its own hides the question that matters: how much did you give away by rounding, and can the job tolerate it?

The formula explained, including the reduction step

Start with the decimal value x and the denominator d you have chosen. Multiply them. The product counts how many dths of an inch your measurement contains, and it will almost never be a whole number: 0.4062 × 16 = 6.4992. Round it to the nearest whole number, 6, and you have the count of sixteenths. Divide back by 16 and the fraction is 6/16 of an inch, or 0.375 in decimal.

Reduce next. Six and sixteen share a common factor of two, so 6/16 becomes 3/8. Reduction changes nothing about the value; it changes how the number is said and how it is found on a rule, since 3/8 is a labelled mark on almost every tape and 6/16 is not. The reduction is done with the greatest common divisor of the numerator and the denominator, which is why the answer can come back with a denominator smaller than the one you asked for. Asking for the nearest 1/64 of 0.5 in returns 1/2, not 32/64.

The error is what is left: your original value minus the fraction. Positive means the fraction falls short of your measurement, negative means it overshoots. Quoting it in thousandths of an inch — thou, or mils in older shop usage — is the convention because thousandths is the unit a micrometer reads and the unit machining tolerances are written in. Rounding to the nearest 1/16 can never be wrong by more than half a sixteenth, which is 1/32 in, or 31.25 thou. To the nearest 1/64 the worst case is 1/128 in, or 7.8125 thou.

Worked example: a 9.5 mm hole on an imperial drill index

A metric drawing calls for a 9.5 mm hole and your drill index is fractional. Find the closest drill.

  1. Convert to inches. 9.5 ÷ 25.4 = 0.374015748 in. Check the magnitude: 25.4 mm is one inch, so 9.5 mm must be a little over three eighths.
  2. Scale by the denominator. Fractional drill sets are marked in sixty-fourths, but a tape and most drill indexes label to sixteenths, so try 16 first: 0.374015748 × 16 = 5.98425.
  3. Round. 5.98425 rounds to 6, so the count is six sixteenths.
  4. Reduce. gcd(6, 16) = 2, so 6/16 = 3/8 in.
  5. Find the error. 3/8 = 0.375 exactly, so the error is 0.374015748 − 0.375 = −0.000984252 in, which is −0.98 thou. The drill is about one thousandth of an inch larger than the drawing asks.

Now test whether a finer denominator helps. At sixty-fourths: 0.374015748 × 64 = 23.937, which rounds to 24, and 24/64 reduces to 3/8 again. The same answer. That is the useful lesson from the comparison table — going finer only helps when the extra marks fall closer to your value, and here they do not. A 3/8 in drill is the right choice for a 9.5 mm hole, and you are one thousandth oversize, which for a clearance hole is nothing and for a press fit is a problem.

Reverse the example to check the arithmetic. 3/8 in × 25.4 = 9.525 mm, which is 0.025 mm above 9.5 mm. Multiply the inch error by 25.4: 0.000984252 × 25.4 = 0.025 mm. The two agree.

How to read the error and decide whether it matters

Compare the error against the tolerance of what you are building, not against zero. Rough carpentry works to about 1/16 in, or 62 thou, so any fraction the converter returns at sixteenths is far inside the tolerance. Cabinet and trim work runs to 1/32 in, 31 thou. Metal fabrication with a mill and a dial caliper works to 5 thou or better, and at that point the fraction system runs out of resolution — a 1/64 rounding can be off by nearly 8 thou, which is larger than your tolerance.

That gives a clean decision rule. If the reported error is smaller than a quarter of your working tolerance, use the fraction and forget the decimal. If it is comparable to your tolerance, either pick a finer denominator or abandon fractions and work in decimals. If a finer denominator does not reduce the error much, as in the drilling example above, the value simply does not want to be a fraction and you should carry the decimal through to the machine.

Watch the sign when the fit is one-sided. A shaft that must slide through a hole tolerates a hole rounded up but not one rounded down. The converter reports the error as your value minus the fraction, so a negative error means the fraction is the larger number and a hole cut to it will be oversize. Read the sign before you cut, because rounding to the nearest mark is symmetric and a clearance requirement is not.

Inch fractions, decimals and millimeters in sixteenths

Every decimal and millimeter figure here is exact; multiply the decimal by 25.4 to reproduce the millimeter column.
FractionDecimal (in)Millimeters
1/160.06251.5875
1/80.12503.1750
3/160.18754.7625
1/40.25006.3500
5/160.31257.9375
3/80.37509.5250
7/160.437511.1125
1/20.500012.7000
9/160.562514.2875
5/80.625015.8750
11/160.687517.4625
3/40.750019.0500
13/160.812520.6375
7/80.875022.2250
15/160.937523.8125
11.000025.4000

For thirty-seconds and sixty-fourths, halve and quarter the 1/16 row: 1/32 is 0.03125 in and 0.79375 mm, 1/64 is 0.015625 in and 0.396875 mm.

Mistakes that put the wrong number on the cut list

  • Rounding to a denominator your tape does not have. Writing 2 13/32 on a list read with a sixteenths tape guarantees the cut lands on 2 13/32 by guesswork. Round to the graduation the person cutting can actually see.
  • Forgetting to reduce. 10/16 is correct and unreadable. Reduce it to 5/8 and it becomes a labelled mark.
  • Rounding twice. Converting millimeters to a rounded decimal and then that decimal to a fraction compounds two errors. Carry the full decimal into the fraction step, as this converter does.
  • Ignoring the sign of the error on a fit. A hole rounded down and a shaft rounded up produce an interference you did not design.
  • Assuming a finer denominator is always closer. It is never worse, but it is often no better: 0.374 in gives 3/8 at sixteenths, thirty-seconds and sixty-fourths alike.
  • Confusing thou with millimeters. One thou is 0.0254 mm, so a 5 thou error is 0.127 mm. A metric drawing quoting ±0.1 mm is tighter than a 1/64 rounding can hold.

Key terms

Thou (mil)
One thousandth of an inch, 0.001 in, equal to 0.0254 mm. The working unit of machining tolerances in imperial shops. British usage says thou; older American usage says mil.
Graduation
The finest mark on a rule or tape. It sets the smallest fraction you can honestly specify, because a dimension you cannot see on the tool is a dimension the cutter will estimate.
Reduced fraction
A fraction whose numerator and denominator share no common factor, such as 3/8 rather than 6/16. The value is identical; only the labelling changes.

Where fractions fit among the other length conversions

The fractional inch survives because it maps onto a physical rule, not because it is convenient arithmetic. Halving is easy on a tape and on a saw fence, so the system doubles: 1/2, 1/4, 1/8, 1/16, 1/32, 1/64. Decimal inches took over wherever an instrument reads directly in thousandths, which is why machinists quote 0.4375 and carpenters quote 7/16 for the same dimension.

If your input is metric and you mainly want the decimal inch answer with the fraction as a secondary reading, the millimeters to inches calculator is arranged that way round and handles centimeters and meters as well. For a height rather than a shop dimension, the feet and inches to centimeters calculator splits the answer into feet and inches instead of a fraction. For room and site dimensions where feet are the natural unit, use the meters to feet calculator, which also reports the feet-and-inches form.

Fractions leave the picture entirely once you move to area and volume. Material takeoffs are quoted in whole units — see the cubic yards to cubic feet calculator for bulk ordering — because a supplier delivers in truckloads, not sixty-fourths.

One convention worth knowing: drill and wire sizes in imperial shops are not fractions at all but number and letter gauges, running from #80 up to #1 and then A through Z. A #7 drill is 0.201 in, which is between 13/64 and 7/32. When a fractional drill and a numbered drill both sit near your target, the numbered one is often the closer match, so check an index rather than defaulting to the nearest fraction.

Frequently asked questions

What is 0.375 as a fraction of an inch?

0.375 in is exactly 3/8 in. Multiply 0.375 by 8 to get 3, so the value is three eighths with no rounding error at all. In millimeters it is 9.525 mm. The same decimal expressed in sixteenths is 6/16 and in sixty-fourths is 24/64, which both reduce to 3/8.

How do I convert a fraction of an inch to a decimal?

Divide the numerator by the denominator and add any whole inches. For 3 5/8 in, 5 ÷ 8 = 0.625, so the value is 3.625 in. Because every inch denominator in common use is a power of two, the decimal always terminates — you will never get a repeating fraction from an inch measurement.

What denominator should I round to?

Round to the finest graduation on the tool that will read the number. Framing tapes read sixteenths, so cut lists should stop at sixteenths. Cabinet work and a good combination square handle thirty-seconds. Machinist scales go to sixty-fourths. Specifying a fraction finer than the tool can show does not make the work more accurate, it just moves the rounding onto the person cutting.

How accurate is rounding to the nearest 1/16 of an inch?

The worst case is half a sixteenth, which is 1/32 in or 31.25 thousandths of an inch (0.794 mm). Rounding to the nearest 1/32 halves that to 15.625 thou, and 1/64 halves it again to 7.8125 thou. If your tolerance is tighter than about 8 thou, fractions cannot express it and you should work in decimals.

Why does the answer come back with a smaller denominator than I asked for?

Because the fraction has been reduced. Asking for the nearest 1/64 of 0.25 in gives 16/64, and 16 and 64 share a factor of 16, so it reduces to 1/4. The value is identical and 1/4 is the labelled mark you will actually find on the rule. Reduction never changes the number, only its notation.

What does the error in thou mean, and which way does it point?

It is your exact value minus the fraction, in thousandths of an inch. A positive error means the fraction is the smaller number, so cutting to it leaves you short. A negative error means the fraction is larger and cutting to it leaves you long. On a clearance fit that sign decides whether the part goes together.

Can I convert millimeters straight to an inch fraction?

Yes — set the mode to millimeters and the converter divides by 25.4 before finding the fraction, so no intermediate rounding creeps in. Round metric values to an inch fraction only once. Converting 9.5 mm to 0.374 in and then rounding 0.374 to a fraction stacks two roundings on top of each other.

Is 1/64 the finest fraction anyone uses?

In practice, yes. Rules are graduated to 1/64 at the finest, and 1/128 marks are too close together to read reliably by eye. Beyond 1/64 the shop convention switches to decimal inches read on a caliper or micrometer, which resolves 0.001 in or 0.0001 in directly.

References