By Mian Ali Khalid · Published · Updated · How we build and test tools
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.
Camera sensors: millimeters on the spec sheet, inches in the name
Sensor and film sizes are one of the few places where both units sit side by side. A frame of 35 mm film measures 24 x 36 mm, and full-frame sensors copy it. Film width itself is 35 mm, or 1.378 in.
| Sensor format | Size in mm | Size in inches |
|---|---|---|
| Full frame 35 mm | 36 x 24 | 1.417 x 0.945 |
| APS-C (Sony, Nikon, Pentax, Fujifilm) | 23.6 x 15.6 | 0.929 x 0.614 |
| APS-C (Canon EF-S) | 22.3 x 14.9 | 0.878 x 0.587 |
| Micro Four Thirds | 17.3 x 13 | 0.681 x 0.512 |
| 1-inch type | 13.2 x 8.8 | 0.520 x 0.346 |
The 1-inch type shows why an inch label is not a measurement. Its diagonal is 15.86 mm (0.625 in), well under 25.4 mm, so the name is a historical label and the millimeter dimensions are the figures to use when comparing sensors.
Film perforations: 4.75 mm and 38 mm
On 35 mm film, each frame advances eight perforations, specified as 38.00 mm, which leaves a 2 mm gap between 36 mm-long frames. That gives a perforation pitch of 38 / 8 = 4.75 mm, or 0.1870 in, and a frame advance of 1.4961 in. A 36-exposure roll therefore uses about 1.368 m (4.49 ft) of film for frames alone.
Half-frame cameras used an 18 x 24 mm frame, which is 0.709 x 0.945 in.
Diagonals: the figure behind crop comparisons
Comparing sensors is easier with the diagonal.
| Format | Diagonal (mm) | Diagonal (in) | Full-frame diagonal divided by it |
|---|---|---|---|
| Full frame | 43.27 | 1.703 | 1.00 |
| APS-C (23.6 x 15.6) | 28.29 | 1.114 | 1.53 |
| APS-C (Canon, 22.3 x 14.9) | 26.82 | 1.056 | 1.61 |
| Micro Four Thirds | 21.64 | 0.852 | 2.00 |
| 1-inch type | 15.86 | 0.625 | 2.73 |
Dividing the full-frame diagonal by the APS-C diagonal gives the familiar 1.5 and 1.6 steps. Manufacturers differ slightly, so the same format can list a diagonal a few tenths of a millimeter apart.
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.
Is a 1-inch sensor 25.4 mm across?
No. A 1-inch type sensor measures 13.2 x 8.8 mm, with a diagonal of about 15.9 mm. The label is not a dimension of the chip.
How many inches is a full-frame sensor?
A full-frame sensor is about 36 x 24 mm, which is 1.417 x 0.945 in. Real sensors vary slightly, with widths from 35.8 to 36 mm.
Why do Canon APS-C and other APS-C sensors differ?
Canon EF-S bodies use a 22.3 x 14.9 mm sensor, while Sony, Nikon, Pentax and Fujifilm use about 23.6 x 15.6 mm. The width gap of 1.3 mm is 0.051 in.
Sources and references
- NIST Guide to the SI, Appendix B.8: Factors for units listed alphabetically: The inch is exactly 2.54E-02 m (25.4 mm); the millimetre to inch conversion follows exactly.
- Image sensor format (Wikipedia): Secondary only: sensor dimensions for full frame, APS-C, Micro Four Thirds and the 1-inch type. No primary page (manufacturer or standards body) was fetched.
- 135 film (Wikipedia): Secondary only: 35 mm width, 24 x 36 mm frame, 38.00 mm eight-perforation advance. iso.org (ISO 1007) returned 403.