How to convert CSS centimetres to CSS pixels
px = cm × 37.7952755905512
Multiply the cm reading by 37.7952755905512.
Worked examples
1 cm ≈ 37.79527559 px
1 × 37.7952755905512 ≈ 37.79527559
Font basis for this example: element 16 px; root 16 px.
2.54 cm ≈ 96 px
2.54 × 37.7952755905512 ≈ 96
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.