Unit Hub Online

CSS centimetres to em converter

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

em

CONVERSION

1 cm ≈ 2.362204724 em

Precision changes displayed rounding, not calculation accuracy.

FORMULAem = cm × (37.7952755905512) ÷ (16)

FORMULA & EXAMPLES

How to convert CSS centimetres to em

em = cm × (37.7952755905512) ÷ (element font size in px)

Convert cm into CSS reference pixels, then divide by the pixel size of em. The reference table uses 16 px for both element and root font sizes. Examples state any different context. For em in a font-size declaration, use the parent’s computed font size; for other properties, use the element’s computed font size.

Worked examples

1 cm ≈ 2.362204724 em

1 × 37.7952755905512 ÷ 16 ≈ 2.362204724

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

2.54 cm ≈ 4.8 em

2.54 × 37.7952755905512 ÷ 20 ≈ 4.8

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

Frequently asked questions

Which font or display assumption applies?

For font-size: 1.5em on a child with a 20px parent resolves to 30px. For other properties, em uses that element’s computed font size. rem uses the root font size; it is not necessarily 16px.

CSS centimetres to em table

Fixed reference · CSS centimetre to em (element font) · 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)em (element font) (em)
00
0.10.2362204724
0.51.181102362
12.362204724
24.724409449
511.81102362
1023.62204724
2559.05511811
50118.1102362
100236.2204724
10002362.204724
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.