Free tools, no sign-up — everything runs in your browser.
ToolHub 1000Free online tools

EM to PX Converter

Convert an em value to pixels using the parent font size.

Quick answer: enter your details below and click Convert to px — your result appears instantly, right here in your browser. Nothing you enter is uploaded or stored.
E
Developer

Enter your details below.

How to use

  1. Enter the em value.
  2. Enter the parent font size in pixels.
  3. Press the button to see the pixel value.

About this tool

An em is relative to the font size of the element's parent, so the same em value can mean different pixels in different parts of a page. This tool multiplies an em value by the parent font size to give pixels. Nested elements compound, since each level's em is based on its own parent, so for deeply nested text you need the computed parent size at that level, not the root size.

Frequently asked questions

What is the difference between em and rem?

Em is relative to the parent element's font size, while rem is relative to the root element's font size. That makes rem more predictable across a page.

Why do nested em values grow unexpectedly?

Because each nested level multiplies again. An em inside an em compounds, so a value that looks small at the top can become large several levels down.

Related tools

All tools · Read the guide: EM to PX Converter