Audited ·Last updated 27 Jul 2026·2 citations·Tier 3·0 uses

Millimeters to Inches Converter

Convert mm to inches with the exact ÷25.4 factor and get the nearest 1/64-inch fraction — perfect for matching metric bolts to imperial sockets.

Millimeters to Inches Calculator

Enter any length in millimeters, such as a bolt head or drill bit diameter.
mm
Length in inches
0.2362
Nearest 1/64-inch fraction
0.2344in

Background.

A DIYer replacing a stripped bolt pulls it from the workbench, measures the head across the flats with a caliper, and gets 10 millimeters — but the hardware store's imperial socket set only shows fractions of an inch. Metric and imperial fasteners sit side by side often enough, on cars, appliances, and furniture, that converting a millimeter measurement into the nearest usable inch fraction is one of the most frequent unit conversions in a home workshop. This calculator divides the millimeter value by the exact factor of 25.4 — the number of millimeters in one inch, fixed since 1 July 1959 by the International Yard and Pound Agreement and confirmed by NIST as the current definition, not a rounded approximation. Because US drill bits, sockets, and wrenches are conventionally sized in 64ths of an inch, the calculator also returns the nearest 1/64-inch fraction alongside the exact decimal value, so the result maps directly onto a tool you can actually buy or already own. A 6 mm bolt, for instance, is closest to a 15/64-inch socket, not the 1/4-inch (16/64) size many people reach for first. Enter any millimeter length to get both the precise decimal inch equivalent and the nearest standard imperial fraction.

What is millimeters to inches calculator?

The millimeter is a metric unit of length equal to one-thousandth of a meter, while the inch is a US customary/imperial unit. Since 1 July 1959, the inch has been defined as exactly 25.4 millimeters by international agreement, so converting millimeters to inches means dividing by 25.4 rather than applying an approximate ratio. This calculator performs that division in exact decimal arithmetic and also reports the nearest 1/64-inch fraction, the standard increment used for US drill bits, socket wrenches, and many fasteners, so the result can be matched directly to a physical tool.

How to use this calculator.

  1. Enter the length you want to convert, in millimeters.
  2. The calculator returns the precise equivalent in inches.
  3. Check the nearest 1/64-inch output to find the closest standard imperial drill bit, socket, or wrench size.
  4. Remember that the nearest fraction is a practical rounding, not an exact match — verify fit for close-tolerance fasteners.

The formula.

in = mm ÷ 25.4

The conversion divides the input value in millimeters by 25.4, the exact number of millimeters in one inch, fixed by the 1959 International Yard and Pound Agreement. In the worked example, a 6-millimeter bolt-head dimension divides by 25.4 to give 0.2362204724 inches. Because imperial sockets and drill bits are stepped in 64ths of an inch, the calculator multiplies that decimal by 64, rounds to the nearest whole number using standard half-up rounding, and divides by 64 again, returning 15/64 inch (0.234375). That is closer to the true metric dimension than the more commonly assumed 1/4-inch (16/64) socket, which is roughly 0.65 mm too large — enough to slip on a fastener head that needs a snug grip. The calculator performs every step in arbitrary-precision decimal arithmetic, not native floating-point, so the fraction is derived from the exact millimeter-to-inch relationship rather than an approximated one.

A worked example.

Example

A home mechanic measures a stripped bolt head at 6 millimeters across the flats and wants the closest imperial socket. Entering 6 into the calculator divides by the exact factor of 25.4 to return 0.2362204724 inches. The nearest-1/64-inch output rounds that to 15/64 inch (0.234375), the standard socket size that will actually grip the bolt head — closer than the 1/4-inch socket a quick mental rounding might suggest.

millimeters6

Frequently asked questions.

Why isn't a 6 mm bolt just a 1/4-inch (0.25 in) socket?
0.25 inch equals 6.35 mm, about 0.35 mm larger than a true 6 mm bolt head. On a snug-fitting fastener, that difference is often enough for the socket to round off the corners of the bolt head instead of gripping them cleanly, especially under torque. The nearest-1/64-inch output, 15/64 inch (0.234375 in, 5.95 mm), is a closer match and is why mixed metric/imperial toolkits stock both sizes rather than treating them as interchangeable.
Is 25.4 mm per inch an exact figure or a rounded one?
It is exact by definition. Since 1 July 1959, the inch has been fixed at precisely 25.4 millimeters by the International Yard and Pound Agreement among the US, UK, Canada, Australia, and other nations, and NIST confirms this as the current SI-length conversion standard. Dividing by 25.4 in exact decimal arithmetic, as this calculator does, introduces no rounding error of its own.
Why does the calculator round to 64ths of an inch instead of 32nds or decimals?
US drill bit sets, socket wrenches, and many bolt and fastener specifications are conventionally sized in 64ths of an inch, the finest common increment for hand tools. Rounding to the nearest 64th gives the practical, buyable size, while the exact decimal-inch output remains available for cases needing a more precise inch value, such as engineering drawings.
Does the nearest-fraction output guarantee a perfect fit?
No — it identifies the closest standard imperial size, not a guaranteed fit. Manufacturing tolerances on both metric and imperial fasteners mean the actual clearance can vary. For load-bearing or safety-critical fasteners, verify fit with the actual part or a manufacturer's fastener chart rather than relying on the rounded fraction alone.
Can I use this for drill bit selection as well as sockets?
Yes. The same nearest-1/64-inch logic applies to selecting an imperial drill bit close to a metric hole or fastener diameter. Keep in mind that for tapped holes, the correct drill bit size depends on the thread pitch and desired fit class, not just the raw diameter conversion, so cross-check against a tap drill chart for threaded holes.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon