PCB Design · Units

mm to mils Conversion Guide for PCB Designers

PCB designers constantly flip between metric and imperial units. Component datasheets and modern footprints are usually metric (mm), but fab houses, legacy libraries, and trace/clearance rules are still quoted in mils. Here is a quick reference, the math, and an interactive calculator.

Interactive mm ↔ mils calculator

Exact: 1 mil = 0.0254 mm · 1 mm ≈ 39.3701 mils

What is a mil?

A mil is one-thousandth of an inch (0.001 in). It is not a millimeter. In PCB design, mils are the traditional unit for trace widths, clearances, annular rings, and drill sizes — for example "6/6" means a 6 mil trace with 6 mil clearance.

The conversion

Why designers switch units

Most modern parts (0402, QFN, BGA) have metric pitches like 0.4 mm or 0.5 mm. But fab capability sheets, older through-hole parts (0.1″ headers), and a lot of routing guidance still use mils. EDA tools let you display either unit, so reading and writing both fluently saves a lot of mental arithmetic — and prevents off-by-an-order-of-magnitude mistakes when you accidentally paste a mm value into a mils field.

Common PCB values

mmmilsTypical use
0.13.937Fine trace / fine pitch
0.12755 mil rule on most fabs
0.155.906
0.27.874Typical signal trace
0.20328
0.2541010 mil — common default
0.311.811
0.38115
0.519.685
0.5082020 mil — common power trace
0.63525
0.76230
139.37
1.27500.05" pitch headers
2.541000.1" pitch — DIP / breadboard

Rules of thumb

FAQ

Is a mil the same as a millimeter?
No. 1 mil = 0.0254 mm. A 10 mil trace is only 0.254 mm wide.
What is the smallest trace most fabs make?
The widely available baseline is ~5 mil (≈0.127 mm) trace and clearance. Cheaper tiers cap at 6 mil; advanced HDI processes can go below 3 mil.
Why are drill sizes often in mils?
Drill bits were historically tooled in imperial sizes, and Gerber/Excellon files have decades of legacy in mils. Modern CAM tools accept both.

Designing a board now? Try the free in-browser editor — switch the grid between mm and mils with one click.