Toolman

Convert cm to em

At the browser default root font size of 16 px, 1cm = 2.3622em. Change the base below if your project uses a different root size.

Formula

em = cm × 2.3622
cm = em × 0.423333

Because em is relative, this ratio holds only at a 16 px base. If your project sets html { font-size: 62.5% } — a common trick that makes 1rem equal 10 px — set the base above to 10 instead.

CM to EM conversion table

cmem
8cm18.8976em
10cm23.622em
12cm28.3465em
14cm33.0709em
16cm37.7953em
18cm42.5197em
20cm47.2441em
24cm56.6929em
28cm66.1417em
32cm75.5906em
36cm85.0394em
40cm94.4882em
48cm113.39em
56cm132.28em
64cm151.18em
72cm170.08em
80cm188.98em
96cm226.77em
128cm302.36em

About cm

One centimetre is 96/2.54 ≈ 37.795 CSS pixels. Useful in print stylesheets, misleading on screen.

About em

One em equals the font size of the current element. It compounds through nesting, which makes it powerful for component-local spacing and dangerous for global scales.

Which unit should you use?

PropertyRecommended unitWhy
Font sizeremScales with the user's browser font-size preference, which px ignores — an accessibility requirement.
Padding and marginrem or emrem for a consistent global rhythm; em when the spacing should track the component's own text size.
Borders and hairlinespxYou almost always want exactly one crisp pixel, not a value that scales.
Media query breakpointsemHistorically the most reliable across browsers when the user zooms.
Print stylesheetspt, cm, mmThese map to real physical measurements on paper.

Frequently asked questions

What is 16cm in em?

16cm equals 37.7953em at a 16 px root font size.

How do I convert cm to em?

Multiply the cm value by 2.3622. Going the other way, multiply the em value by 0.423333.

Does the root font size change the result?

Yes. One of these units is relative to the root font size, so changing it changes the conversion. Use the base control above to match your project.

Why does CSS use 96 pixels per inch?

It is a historical convention from early desktop displays that became the fixed CSS reference. It has nothing to do with your monitor's real pixel density — the browser scales CSS pixels to physical ones for you.

Related CSS unit conversions

All CSS unit converters · All converters