Convert pixels to millimetres
At the CSS reference resolution of 96 PPI, one pixel equals exactly 25.4/96 millimetres = 0.26458333 mm, because the inch is exactly 25.4 mm and the CSS standard fixes 96 px per inch. So 100 px = 26.458333 mm at 96 PPI. For other resolutions the general formula is mm = px × 25.4 ÷ PPI: at 300 PPI (print), 1 px = 0.0846667 mm.
Type a value and get the result with its full working shown — the coefficient, the multiplication and the rounding you choose.
CSS reference pixel → millimetre (at 96 PPI)
100 × 0.26458333333333 = 26.45833333 mm
See the exact formula: 1 px × 0.26458333333333 → mm · Source: CSS Values and Units Module(W3C)1 px = 1/96 inin = 25.4 mm exact ⇒ 1 px = 25.4/96 mm = 0.2645833 mm.
Enter accepts · paste works · your locale decimal format is understood
pixels to millimetres conversion table
| px | mm |
|---|---|
| 1 px | 0.2646 mm |
| 2 px | 0.5292 mm |
| 3 px | 0.7937 mm |
| 4 px | 1.0583 mm |
| 5 px | 1.3229 mm |
| 6 px | 1.5875 mm |
| 7 px | 1.8521 mm |
| px | mm |
|---|---|
| 8 px | 2.1167 mm |
| 9 px | 2.3812 mm |
| 10 px | 2.6458 mm |
| 25 px | 6.6146 mm |
| 50 px | 13.2292 mm |
| 100 px | 26.4583 mm |
Rounded to 4 decimals · exact values in the calculator above.
The exact formula
The millimetre is 1/1000 of a metre. Physical sizes (print, screens, machining) are quoted in mm; a pixel only maps to mm once a resolution (PPI) is fixed. Multiply by 0.26458333333333 (px → mm); reverse: multiply by 3.7795275590551.
Unit definitions
- CSS reference pixel (px)
- The CSS reference pixel is defined by the W3C as 1/96 of an inch — a device-independent unit, not a physical screen dot. Source: CSS Values and Units Module(W3C)1 px = 1/96 inin = 25.4 mm exact ⇒ 1 px = 25.4/96 mm = 0.2645833 mm.
- millimetre (at 96 PPI) (mm)
- The millimetre is 1/1000 of a metre. Physical sizes (print, screens, machining) are quoted in mm; a pixel only maps to mm once a resolution (PPI) is fixed. Source: CSS Values and Units Module(W3C)96 px = 1 in = 25.4 mm(1 mm = 1)px = 25.4/96 mm.
Frequently asked questions
How many mm is 100 px?
At 96 PPI (the CSS standard), 100 px = 26.458333 mm. Multiply by 25.4/96 = 0.26458333: 100 × 0.26458333 = 26.458333 mm.
How many mm is 1 pixel at 300 DPI?
At 300 PPI, 1 px = 25.4/300 = 0.0846667 mm. Use the formula mm = px × 25.4 ÷ PPI for any resolution.
Why does pixel to mm depend on PPI?
A pixel is a device-independent CSS unit (1/96 inch), not a physical length. Only after fixing a resolution — 96 PPI for CSS, 300 PPI for typical print — can it be mapped to millimetres.
Need more than one unit?
Open the full unit converter — every category, batch mode, CSV export.