1 CSS pixel = 0.264583333 millimetres
At the CSS reference resolution of 96 DPI, one pixel is 0.264583 mm. This is a fixed ratio inside CSS and not a statement about your monitor.
Formula mm = px × 0.264583333333
Type in either field — the other updates on every keystroke. Need other units? Open the full pixels converter.
| CSS pixel | Millimetre |
|---|---|
| 1 px | 0.264583 mm |
| 2 px | 0.529167 mm |
| 3 px | 0.79375 mm |
| 4 px | 1.058333 mm |
| 5 px | 1.322917 mm |
| 10 px | 2.645833 mm |
| 15 px | 3.96875 mm |
| 20 px | 5.291667 mm |
| 25 px | 6.614583 mm |
| 50 px | 13.229167 mm |
| 100 px | 26.458333 mm |
| 500 px | 132.291667 mm |
| 1000 px | 264.583333 mm |
| Millimetre | CSS pixel |
|---|---|
| 1 mm | 3.779528 px |
| 2 mm | 7.559055 px |
| 3 mm | 11.338583 px |
| 4 mm | 15.11811 px |
| 5 mm | 18.897638 px |
| 10 mm | 37.795276 px |
| 15 mm | 56.692913 px |
| 20 mm | 75.590551 px |
| 25 mm | 94.488189 px |
| 50 mm | 188.976378 px |
| 100 mm | 377.952756 px |
| 500 mm | 1889.76378 px |
| 1000 mm | 3779.527559 px |
| Situation | From | To |
|---|---|---|
| Hairline border | 1 px | 0.2646 mm |
| Icon | 24 px | 6.35 mm |
| Button height | 48 px | 12.7 mm |
| Phone width | 390 px | 103.2 mm |
| Tablet width | 768 px | 203.2 mm |
| A4 paper width | 794 px | 210.1 mm |
Design hand-offs for print, signage or laser cutting need millimetres.
CSS defines 96 pixels per inch, and an inch is 25.4 mm, so 1 px is 0.2646 mm and 100 px is 26.46 mm. An A4 page, 210 × 297 mm, is about 794 × 1123 px at that standard. This is the figure to use when you design print stylesheets or check how a layout will come out on paper.
A CSS pixel is a reference unit, not the physical dot on a screen. A phone with a high-density display packs several device pixels into one CSS pixel, so the real size on screen depends on the device. For print and images, the relevant number is the resolution: at 300 dpi one pixel is 0.0847 mm.
Multiply by 0.265, or divide by 3.78. 100 px is about 26.5 mm.
An inch is exactly 25.4 mm and a CSS pixel is 1/96 inch, so one pixel is 25.4 ÷ 96 mm.
Pixels are digital and millimetres are physical, so checking a result means measuring a printout or a screen. A digital caliper and the browser print preview cover most needs.
| Tool | What to look for | Why it matters |
|---|---|---|
| Digital caliper | Reads mm and inches, 0.01 mm resolution, hardened stainless steel, zero button | Measures printed output precisely to confirm the size |
| Steel ruler or tape measure | Etched markings in mm, a hook that does not wobble | Good enough for page and poster sizes |
| Browser print preview | Shows page size in mm or inches before printing | Confirms a layout fits A4 or Letter before you waste paper |
Quick accuracy check. Print a 100 mm test square and measure it with a ruler. If it is not 100 mm, your printer is scaling the page, and the pixel-to-mm maths will not match.
Examples of established makers: Mitutoyo for precision calipers, and Stanley for tape measures. Product names are examples of established brands, not rankings or paid placements. Specifications and prices change, so check current independent reviews before you buy.
One CSS pixel is 1/96 of an inch, which is about 0.2646 mm. In print at 300 PPI, one image pixel covers only about 0.0847 mm.
Related guides: Digital and print layout units: px, rem, em, points and DPI · Unit conversion formulas by category · Where unit conversions come up in daily life