Toolman

Convert em to cm

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

Formula

cm = em × 0.423333
em = cm × 2.3622

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.

EM to CM conversion table

emcm
8em3.3867cm
10em4.2333cm
12em5.08cm
14em5.9267cm
16em6.7733cm
18em7.62cm
20em8.4667cm
24em10.16cm
28em11.8533cm
32em13.5467cm
36em15.24cm
40em16.9333cm
48em20.32cm
56em23.7067cm
64em27.0933cm
72em30.48cm
80em33.8667cm
96em40.64cm
128em54.1867cm

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.

About cm

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

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 16em in cm?

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

How do I convert em to cm?

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

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