Pixel Converter

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.

empx
0.25em4px
0.5em8px
0.75em12px
1em16px
1.25em20px
1.5em24px
2em32px
2.5em40px
3em48px
4em64px
5em80px
6em96px
8em128px
10em160px

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.

Related converters

EM to PX Converter FAQs

Multiply the em value by the base font-size. At the default 16px base, px = em × 16 — so 1em = 16px and 2em = 32px.
Absolute pixel values are easier to reason about when debugging, and some contexts — notably HTML email — render relative units inconsistently. Converting to px gives you a fixed, portable size.
Yes. em is relative to the parent element’s font-size, so the pixel result depends entirely on the base. Enter the font-size that applies to your element to get an accurate value.
Only when the applicable font-size is 16px (the browser default). If a parent sets font-size to 20px, then 1em = 20px. Set the Base field accordingly.