EM to PX Converter

Convert em to pixels based on the parent element's font size.

Enter your values

The font size of the parent element

Result

px

24px

1.5em = 24px

CSS
font-size: 24px;

px = em × parent font size. 1em = 16px when the parent is 16px.

EM to PX chart (16px parent)

EMPX
0.125em2px
0.25em4px
0.5em8px
0.625em10px
0.75em12px
0.875em14px
1em16px
1.125em18px
1.25em20px
1.5em24px
1.75em28px
2em32px
2.5em40px
3em48px
4em64px

How to use EM to PX Converter

  1. Enter em value and parent font size.
  2. The result updates instantly as you type, with no button to press.
  3. Read the formula box to see how it was calculated, then copy the result.

Features

Instant results
Results update as you type, with no Calculate button and no page reload.
Formula explained
See exactly how the answer is worked out, so you can check it or learn the method.
Private & free
Everything runs in your browser. Nothing you enter is uploaded or stored.

Frequently asked questions

How do I convert em to px?

Multiply the em value by the parent element's font size. With a 16px parent, 1.5em = 24px; with a 20px parent, 1.5em = 30px.

Is em the same as rem?

Only when the parent font size equals the root font size. em is relative to the parent, rem to the root html element.

How does the EM to PX Converter work?

It uses this method: px = em × parent font size. 1em = 16px when the parent is 16px.

Is this EM to PX Converter free?

Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.

Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.

Related tools

View all

Share this Tool

Did EM to PX Converter work well for you?