EM to PX Converter
Convert em to pixels using a base font-size. Multiply the em value by the base to get an absolute pixel value.
Parent/root font-size the relative unit is measured against.
Result
256px
Formula
px = em × base font-size (default 16px)Conversion table
em → px at base font-size (px) = 16.
About the EM to PX conversion
em is a font-relative unit — 1em equals the font-size of the parent element. Converting em to px turns that relative value into an absolute pixel measurement, which is handy when a tool, spec, or email client needs a fixed size.
The math is a multiplication: px = em × base font-size. At the 16px default, 1em is 16px, 1.5em is 24px, and 0.5em is 8px. Adjust the base to the element’s actual font-size for an exact conversion.
This em to px converter is useful when auditing a design, translating an em-based spec into fixed values for an email (where relative units are less reliable), or debugging why an em value renders at an unexpected size.