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.

EXACT COEFFICIENT BIDIRECTIONAL

CSS reference pixel → millimetre (at 96 PPI)

px
mm

Decimals

Enter accepts · paste works · your locale decimal format is understood

pixels to millimetres conversion table

pxmm
1 px0.2646 mm
2 px0.5292 mm
3 px0.7937 mm
4 px1.0583 mm
5 px1.3229 mm
6 px1.5875 mm
7 px1.8521 mm
pxmm
8 px2.1167 mm
9 px2.3812 mm
10 px2.6458 mm
25 px6.6146 mm
50 px13.2292 mm
100 px26.4583 mm

Rounded to 4 decimals · exact values in the calculator above.

The exact formula

mm = px × 0.26458333333333

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.

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

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.

All converters
Copy link Share on X Share on Facebook Share on LinkedIn Share on Reddit