Skip to content
1440px

px to mm

mm = px × 25.4 ÷ 96 — with a live converter and the full table.

Formula
mm = px × 25.4 ÷ 96

16px = 4.2333mm. CSS defines this ratio as fixed.

For CSS absolute units this is exact. For a real print job you want the DPI-based conversion instead — the two answer different questions.

Converter

px to mm conversion table

px to mm — exact values
pxmmRounded
1px0.26458mm0.26mm
2px0.52917mm0.53mm
4px1.05833mm1.06mm
6px1.5875mm1.59mm
8px2.11667mm2.12mm
10px2.64583mm2.65mm
12px3.175mm3.17mm
14px3.70417mm3.7mm
16px4.23333mm4.23mm
18px4.7625mm4.76mm
20px5.29167mm5.29mm
22px5.82083mm5.82mm
24px6.35mm6.35mm
28px7.40833mm7.41mm
32px8.46667mm8.47mm
36px9.525mm9.52mm
40px10.58333mm10.58mm
44px11.64167mm11.64mm
48px12.7mm12.7mm
56px14.81667mm14.82mm
64px16.93333mm16.93mm
72px19.05mm19.05mm
80px21.16667mm21.17mm
96px25.4mm25.4mm
112px29.63333mm29.63mm
128px33.86667mm33.87mm
144px38.1mm38.1mm
160px42.33333mm42.33mm
192px50.8mm50.8mm
224px59.26667mm59.27mm
256px67.73333mm67.73mm
320px84.66667mm84.67mm
384px101.6mm101.6mm
448px118.53333mm118.53mm
512px135.46667mm135.47mm

Questions

How do I convert px to mm?

mm = px × 25.4 ÷ 96. So 16px = 4.2333mm.

Is the px to mm conversion exact?

Yes, for CSS. The specification fixes 1in = 96px, which pins every absolute unit to a fixed ratio regardless of the physical display. It is not a physical measurement — a CSS inch on a phone is not an inch of glass. For real-world output size use the DPI calculator instead.

How do I convert mm back to px?

Invert the formula, or use the mm to px converter.

Other conversions

Conversions follow the CSS Values and Units specification, in which 1in is defined as exactly 96px. Values are computed, not tabulated by hand.