TXT · Text & Data tools

EM to PX Converter

Element Em (em) Input
Pixels (px) Output
Element Em (em)InputPixels (px)Output6Items
Go to full CSS Unit Converter

Convert em to px

Enter em values one per line or paste CSS containing em lengths. The output multiplies each matching value by 16 and adds the px unit.

1.5em becomes 24px, and 0.75em becomes 12px.

Context changes the result

An em is not a fixed size. Its pixel value depends on the font-size context of the property and element where it appears.

The focused page uses a 16px reference. Use the full CSS Unit Converter when the relevant CSS context uses another value.

Batch and CSS input

Plain numbers are treated as em values. In pasted CSS, only values carrying the em unit are replaced; selectors and other units remain unchanged.

Frequently Asked Questions

Multiply the em value by the reference font size. With a 16px reference, 1.5em multiplied by 16 equals 24px.

The focused converter uses a 16px reference. Open the full CSS Unit Converter to set another base value.

An em value depends on its element context. If the relevant font size changes from 16px to 20px, 1em changes from 16px to 20px.

Focused CSS unit converters

Full CSS Unit Converter tool

Explore Our Tools

Browse all tools