Unit Hub Online

CSS centimetres to CSS pixels converter

Convert CSS centimetres (cm) to CSS pixels (px). 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.

cm

px

CONVERSION

1 cm ≈ 37.79527559 px

Precision changes displayed rounding, not calculation accuracy.

FORMULApx = cm × 37.7952755905512

FORMULA & EXAMPLES

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.

CSS centimetres to CSS pixels table

Fixed reference · CSS centimetre to CSS pixel · 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 centimetre (cm)CSS pixel (px)
00
0.13.779527559
0.518.8976378
137.79527559
275.59055118
5188.976378
10377.9527559
25944.8818898
501889.76378
1003779.527559
100037795.27559
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.