Em
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://unitfyi.com/iframe/glossary/em-def/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://unitfyi.com/glossary/em-def/
Add a dynamic SVG badge to your README or docs.
[](https://unitfyi.com/glossary/em-def/)
Use the native HTML custom element.
Definition
The em is a relative typographic unit equal to the current element's font size; in a 16 px context, 1 em equals 16 px.
Explanation
Historically, the em was the width of the uppercase letter 'M' in a given typeface — since 'M' was typically as wide as it was tall, it approximated the point size. In modern CSS and digital typography, em is purely relative to font-size, making it useful for scalable layouts: setting padding to 1 em ensures it always scales proportionally with text. The related 'rem' unit is relative to the root element's font size instead.
RELATED CONVERSIONS
RELATED ARTICLES
RELATED TERMS
Pica
The pica is a typographic unit equal to 12 points or exactly 1/6 of an inch (approximately 4.233 mm), used primarily to measure column widths and other layout dimensions.
Twip
A twip (twentieth of a point) is a typographic unit equal to 1/20 of a printer's point, or 1/1440 of an inch (approximately 17.64 micrometers).
Cap Height
Cap height is the typographic measurement of the height of a flat uppercase letter (such as 'H' or 'I') from the baseline to the top of the letter, expressed as a fraction of the font's em square.
X-Height
X-height is the typographic height of a typeface's lowercase letters, specifically the height of a flat lowercase 'x' measured from the baseline, typically expressed as a fraction of the em size.