Skip to content
1440px

px to cm

cm = px × 2.54 ÷ 96 — with a live converter and the full table.

Formula
cm = px × 2.54 ÷ 96

16px = 0.4233cm. CSS defines this ratio as fixed.

Same fixed relationship as millimetres, one order of magnitude up.

Converter

px to cm conversion table

px to cm — exact values
pxcmRounded
1px0.02646cm0.03cm
2px0.05292cm0.05cm
4px0.10583cm0.11cm
6px0.15875cm0.16cm
8px0.21167cm0.21cm
10px0.26458cm0.26cm
12px0.3175cm0.32cm
14px0.37042cm0.37cm
16px0.42333cm0.42cm
18px0.47625cm0.48cm
20px0.52917cm0.53cm
22px0.58208cm0.58cm
24px0.635cm0.64cm
28px0.74083cm0.74cm
32px0.84667cm0.85cm
36px0.9525cm0.95cm
40px1.05833cm1.06cm
44px1.16417cm1.16cm
48px1.27cm1.27cm
56px1.48167cm1.48cm
64px1.69333cm1.69cm
72px1.905cm1.91cm
80px2.11667cm2.12cm
96px2.54cm2.54cm
112px2.96333cm2.96cm
128px3.38667cm3.39cm
144px3.81cm3.81cm
160px4.23333cm4.23cm
192px5.08cm5.08cm
224px5.92667cm5.93cm
256px6.77333cm6.77cm
320px8.46667cm8.47cm
384px10.16cm10.16cm
448px11.85333cm11.85cm
512px13.54667cm13.55cm

Questions

How do I convert px to cm?

cm = px × 2.54 ÷ 96. So 16px = 0.4233cm.

Is the px to cm 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.

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.