EM → CM Converter
Converting from EM to CM is common when switching from ideal when you need sizing relative to parent elements. to mainly for print precision or physical measurements. in CSS projects.
Conversion Form
About the Unit
EM: EM is a relative unit that depends on the font size of the parent element in which the current element is inserted. That is, 1em will be equivalent to the font size of the parent element. If the font size of the parent element is 20px, 1em will be equal to 20px. This unit is particularly useful when you want to create dynamic layouts that adjust based on the context of the parent element. For example, using em instead of px ensures that the size of fonts, margins, or other layout elements will scale relative to the text size of the parent component, making the design more flexible and responsive. A key detail about em is that it can accumulate when used in chain (i.e., if a child element uses em to set its size and the parent element also uses em, the value will multiply), which can lead to unexpected results if not used carefully.
Pro Tip: em → cm
Use em for flexible layouts and cm for accurate print sizes.
Quick Reference: Unit Conversion by Tens
| EM | CM |
|---|---|
| 10em | 4.233333cm |
| 20em | 8.466667cm |
| 30em | 12.7cm |
| 40em | 16.933333cm |
| 50em | 21.166667cm |
| 60em | 25.4cm |
| 70em | 29.633333cm |
| 80em | 33.866667cm |
| 90em | 38.1cm |
| 100em | 42.333333cm |
| 110em | 46.566667cm |
| 120em | 50.8cm |
| 130em | 55.033333cm |
| 140em | 59.266667cm |
| 150em | 63.5cm |
| 160em | 67.733333cm |
| 170em | 71.966667cm |
| 180em | 76.2cm |
| 190em | 80.433333cm |
| 200em | 84.666667cm |
| 210em | 88.9cm |
| 220em | 93.133333cm |
| 230em | 97.366667cm |
| 240em | 101.6cm |
| 250em | 105.833333cm |
Live Unit Preview
See how different CSS units affect the size of the box below:
10px
10rem
10em
10%
10vw
10vh
Common Mistake
Use em for flexible layouts and cm for accurate print sizes.
Real Code Example
/* Mobile-first card with em → cm */
.card {
padding: 0em; /* undefinedcm */
font-size: 1.5rem;
width: min(90vw, 40ch);
}Frequently Asked Questions About EM
When should I use em instead of em?
Use em when scaling relative to parent is needed.
How many em is 1em?
Depends on parent font size.
Is em affected by zoom?
Yes, it scales with parent and zoom.
Is em good for fonts?
Yes, especially for nested components.
Keyboard Shortcuts
- Ctrl + C: Convert
- Ctrl + I: Invert units
- Esc: Reset values