Length Unit Converter: mm, inch, mil
Enter a length value and select its unit to see the same length in µm, mil (thou), mm, cm, in, ft, yd, m, km and statute miles in a single list. The Copy link button gives you an address that opens the same calculation.
How to convert length units
1 inch is exactly 25.4 mm; the mil, ft and yd are derived from this definition. The mil used in electronics is one thousandth of an inch and is also called the thou: 1 mil = 0.001 in = 0.0254 mm = 25.4 µm.
Formulas: mm = mil × 0.0254, mil = mm ÷ 0.0254, mm = in × 25.4. For larger units, 1 ft = 12 in = 304.8 mm and 1 yd = 3 ft = 914.4 mm.
Example: a PCB manufacturer specifies a minimum trace width of 8 mil. 8 × 0.0254 = 0.2032 mm. If your design software works in mm, you set the trace width to 0.2032 mm or wider.
SMD package sizes: imperial code, metric code and mm
The names of SMD resistor and capacitor packages are formed by writing the length and width side by side. In the imperial (inch) code the unit is 0.01 in; in the metric code it is 0.1 mm. Dimensions are nominal.
| Imperial code | Metric code | Length × width (mm) |
|---|---|---|
| 0201 | 0603 | 0.6 × 0.3 |
| 0402 | 1005 | 1.0 × 0.5 |
| 0603 | 1608 | 1.6 × 0.8 |
| 0805 | 2012 | 2.0 × 1.25 |
| 1206 | 3216 | 3.2 × 1.6 |
| 1210 | 3225 | 3.2 × 2.5 |
| 2010 | 5025 | 5.0 × 2.5 |
| 2512 | 6332 | 6.3 × 3.2 |
What to watch for in PCB design and part selection
- Verify in the datasheet whether a package code is imperial or metric. Metric 0603 is the same part as imperial 0201 (0.6 × 0.3 mm), while imperial 0603 measures 1.6 × 0.8 mm. In your bill of materials, write both codes together, as in “0603 (1608 metric)”.
- A part with 2.54 mm pin pitch fits a 100 mil grid, and one with 1.27 mm pitch fits a 50 mil grid. Connectors with 2.5 mm and 2.0 mm pitch are often confused with 2.54 mm: in a 10-pin row, the distance from the first to the last pin is 22.86 mm at 2.54 mm pitch and 22.5 mm at 2.5 mm pitch; because of the 0.36 mm difference, the end pins will not fit their holes.
- Convert the PCB manufacturer’s minimum trace and spacing values to mm and enter them into your design rules that way. Common values: 5 mil = 0.127 mm, 6 mil = 0.1524 mm, 10 mil = 0.254 mm.
- Copper thickness is given in oz. 1 oz copper is about 35 µm, or 1.4 mil, thick; 2 oz copper is about 70 µm.
- Do not derive the pad size from the body dimensions in the table; use the recommended land pattern drawing in the datasheet. For the 3- and 4-digit markings on resistors, see the SMD resistor code decoder.
Once you have determined the package, you can search for the part on Entegreci by its part number.
Frequently asked questions
How many mm is 1 mil?
1 mil is 0.0254 mm, or 25.4 µm. Since a mil is one thousandth of an inch, 1,000 mil equals 1 inch and 100 mil equals 2.54 mm.
How many mm and cm is 1 inch?
1 inch is exactly 25.4 mm, or 2.54 cm. Going the other way, 1 mm is about 0.03937 in and 1 cm is about 0.3937 in.
How many mm is an 0603 package?
The package with imperial code 0603 measures 1.6 × 0.8 mm, and its metric code is 1608. The code means 0.06 × 0.03 in; 0.06 in × 25.4 = 1.524 mm, which is written as a nominal 1.6 mm.
How many mil is 2.54 mm?
2.54 mm is 100 mil, or 0.1 in. This is the pin pitch of perfboards and DIP ICs; half of it, 1.27 mm, equals 50 mil.
Are mil and thou the same unit?
Yes, both are 0.001 in, or 0.0254 mm. The statute mile is a separate unit equal to 1,609.344 m; the tool shows the two on separate rows.