EM to PX Converter

Convert EM to pixels for any font size. With the 16 px browser default, 1 em = 16 px.

⇅
The base font size is pixels.
Rounding precision (max 15):

Popular EM Values in Pixels

With a 16 px base: 0.5em = 8px, 0.75em = 12px, 1em = 16px, 1.2em = 19.2px, 1.5em = 24px, 2em = 32px and 2.5em = 40px.

EM to PX Conversion Table

Pixels for common em values with three base font sizes.

EM Pixels (14px base) Pixels (16px base) Pixels (18px base)
0.25em3.5px4px4.5px
0.5em7px8px9px
0.625em8.75px10px11.25px
0.75em10.5px12px13.5px
0.875em12.25px14px15.75px
1em14px16px18px
1.125em15.75px18px20.25px
1.2em16.8px19.2px21.6px
1.25em17.5px20px22.5px
1.5em21px24px27px
1.75em24.5px28px31.5px
2em28px32px36px
2.5em35px40px45px
3em42px48px54px
4em56px64px72px

How Nested EM Values Compound

Each nested element with font-size: 1.2em is 1.2 times its parent, so sizes grow quickly. This is the most common surprise with em.

Nesting level Font size
Page (16px)16px
Level 1 (1.2em)19.2px
Level 2 (1.2em)23.04px
Level 3 (1.2em)27.648px
Level 4 (1.2em)33.178px

Use rem when you want a size that ignores nesting. Convert with REM to PX.

How to Convert EM to PX

px = em × font size of the element

Example: 2.5 em × 16 = 40 px. Inside an element whose font size is 18 px, 2.5 em = 45 px.

Frequently Asked Questions (FAQs)

How many pixels is 1em?

1 em equals the current font size. With the browser default that is 16 px.

What is 2.5em in px?

2.5 em = 40 px with a 16 px base, or 45 px with an 18 px base.

What is 1.2em in px?

1.2 em = 19.2 px with a 16 px base.

Why is my em size bigger than expected?

em compounds: a 1.2em element inside another 1.2em element is 1.44 times the base size. Use rem to avoid this.

Does EachConvert store my data?

No. All conversions happen entirely in your browser. The values you enter are never sent to our server or saved.