How to convert CSS centimetres to CSS inches
in = cm ÷ 2.54
Divide the cm reading by 2.54.
Worked examples
1 cm ≈ 0.3937007874 in
1 ÷ 2.54 ≈ 0.3937007874
Font basis for this example: element 16 px; root 16 px.
2.54 cm ≈ 1 in
2.54 ÷ 2.54 ≈ 1
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.