How to use the millimeters to inches converter
- Enter a length in the Millimeters field, or in the Inches field to go the other way.
- Leave the field you are not using empty. The page starts with 25.4 in the millimeters box. If both boxes hold numbers, millimeters is the one converted.
- Tick Show nearest fraction to see the inch value as a fraction such as 3 3/8.
- Read the decimal rows for exact work and the fraction row for tape-measure work. Each row also repeats your input so you can check it.
Method and sources
Any mm to inches conversion rests on one number. The inch is defined as exactly 25.4 mm. That value comes from the 1959 international yard and pound agreement and is repeated in NIST SP 811 (2008 edition) and the BIPM SI Brochure (9th edition, 2019). It is a definition, not a measurement.
Millimeters to inches: in = mm / 25.4. Inches to millimeters: mm = in x 25.4. The code rounds results to 12 significant digits to hide floating point noise.
Worked examples from the tool
| Input | Decimal result | Nearest 1/16 in |
|---|---|---|
| 1 mm | 0.0393700787402 in | 1/16 |
| 3.175 mm | 0.125 in | 1/8 |
| 10 mm | 0.393700787402 in | 3/8 |
| 50 mm | 1.96850393701 in | 1 15/16 |
| 85.6 mm (card width) | 3.37007874016 in | 3 3/8 |
| 100 mm | 3.93700787402 in | 3 15/16 |
| 210 mm (A4 width) | 8.26771653543 in | 8 1/4 |
| 12 in | 304.8 mm | 12 |
How the fraction is rounded
The tool takes the part of the inch value after the decimal point, multiplies it by 16, rounds to the nearest whole number and reduces the result. For 1.9685 in the remainder 0.9685 x 16 is 15.496, which rounds to 15, so the answer is 1 15/16.
The worst case error is half of 1/16 in, which is 0.03125 in or about 0.79 mm. Anything under 1/32 in (0.79 mm) rounds to zero: 0.5 mm (0.0197 in) shows a fraction of 0, and 1 mm (0.0394 in) shows 1/16. Use the decimal rows for tight tolerances.
Edge cases and input rules
- Negative numbers and non-numeric text return an error, since the tool is meant for physical lengths.
- Zero returns 0.
- Large inputs work: 1,000,000,000 mm is 39,370,078.7402 in.
- Very small inputs keep their digits, for example 0.0001 mm is 0.00000393700787402 in.
- When both fields contain numbers the millimeters value is used and the inches box is ignored.
Typical metric-to-inch jobs
Metric bolts such as M6 (6 mm) and M8 (8 mm) are about 0.236 in and 0.315 in across. A 3D print sized at 150 mm needs 5.906 in of space. Plan sheets from US suppliers often list 1/16 in increments, which is why the fraction option exists.
A mm to inches check is also useful for screen and print sizes: a 6.1 inch phone display is 154.9 mm on the diagonal, and a 0.5 mm pencil lead is 0.0197 in. Starting from centimeters? Use cm to mm first, or go to cm to inches directly. For feet there is feet to mm.
Convert the other way and exact factor
1 inch is exactly 25.4 millimeters, so 1 millimeter is 1 / 25.4 inches (about 0.0393700787 when written as a decimal). For example, 25 millimeters is 0.984252 inches, and 25 inches is 635 millimeters. If you mainly start from inches, the dedicated Inches to MM Converter page opens with that direction and lists its own tables and common values.
Worked examples
| Example | Input | Result |
|---|---|---|
| Standard A4 paper width | Millimeters (mm): 210; Show nearest fraction: no | Inches: 8.26771653543; Millimeters: 210 |
| One inch exactly | Inches (in): 1; Show nearest fraction: no | Millimeters: 25.4; Inches: 1 |
| Half inch with fraction | Inches (in): 0.5; Show nearest fraction: yes | Millimeters: 12.7; Inches: 0.5; Inches (fraction): 1/2 |
| Metric bolt length | Millimeters (mm): 50; Show nearest fraction: yes | Inches: 1.96850393701; Inches (fraction): 1 15/16; Millimeters: 50 |
FAQ
How many mm are in an inch?
Exactly 25.4. It was fixed by the 1959 international yard and pound agreement of the US, UK, Canada, Australia, New Zealand and South Africa.
How do I convert mm to inches by hand?
Divide by 25.4. For 100 mm the result is 3.937 in, shown by the tool as 3.93700787402. To convert mm to inches in your head, divide by 25 and subtract about 1.6 percent.
What does Show nearest fraction do?
It rounds the inch value to the nearest sixteenth and reduces it, so 85.6 mm becomes 3 3/8 in.
Why does 0.5 mm show a fraction of 0?
A fraction is only produced in steps of 1/16 in, which is about 1.59 mm. Anything below half a step, roughly 0.79 mm, rounds to 0.
Why are negative values rejected?
The converter treats the input as a length, so it returns an error for values below zero.
Why is the decimal result limited to 12 digits?
Calculations use double precision numbers. Rounding to 12 significant digits removes floating point noise and still exceeds any measuring tool.
Which field is used if both have numbers?
Millimeters. Clear it to convert from inches.
Sources and references
- NIST Guide to the SI, Appendix B.8: Factors for units listed alphabetically: inch, foot, yard and statute mile in metres are exact (2.54E-02, 3.048E-01, 9.144E-01, 1.609344E+03).