Unit Hub Online

CSS pixels to CSS centimetres converter

Convert CSS pixels (px) to CSS centimetres (cm). The reference table uses 16 px element and root fonts; examples label any different font basis.

Typography converter

Instant conversion

Edit either value. Decimals and scientific notation supported.

px

cm

CONVERSION

1 px ≈ 0.02645833333 cm

Precision changes displayed rounding, not calculation accuracy.

FORMULAcm = px × 0.0264583333333333

FORMULA & EXAMPLES

How to convert CSS pixels to CSS centimetres

cm = px × 0.0264583333333333

Multiply the px reading by 0.0264583333333333.

Worked examples

16 px ≈ 0.4233333333 cm

16 × 0.0264583333333333 ≈ 0.4233333333

Font basis for this example: element 16 px; root 16 px.

24 px ≈ 0.635 cm

24 × 0.0264583333333333 ≈ 0.635

Font basis for this example: element 16 px; root 16 px.

Frequently asked questions

Which font or display assumption applies?

em and rem depend on the specified font context. CSS absolute units have fixed relationships to reference pixels, which do not necessarily equal physical display pixels.

CSS pixels to CSS centimetres table

Fixed reference · CSS pixel to CSS centimetre · Element and root font sizes: 16 px

Reference values use this page’s named pair and default context. Calculator precision and font settings do not change this table.

CSS pixel (px)CSS centimetre (cm)
00
0.10.002645833333
0.50.01322916667
10.02645833333
20.05291666667
50.1322916667
100.2645833333
250.6614583333
501.322916667
1002.645833333
100026.45833333
Table results use 10 significant figures; decimal formula coefficients use up to 15. Calculations use the unit definitions before rounding. Extra digits do not improve measurement accuracy.

Related conversions

A UNIT FOR EVERYTHING

Explore all converters

18 categories. One place.