EM to PX Converter

Convert em to pixels with a custom context size (16px default). Instant, free CSS unit converter.

—

How it works

px = em × context font size, default context is 16px

Examples

InputOutput
1 em16 px
1.5 em24 px
0.875 em14 px

Frequently Asked Questions

How many px is 1em?

1em equals the context font size, 16px by default. Enter the element's actual font size in the context field for exact results.

Is 1em the same as 1rem?

Only when the context font size equals the root font size (both 16px). Deeper in the DOM, em values compound while rem stays fixed.

Which should I use, em or rem?

rem for consistent global spacing and type; em for components that should scale with their local context (e.g. button padding).

Related Tools

PX to REM ConverterREM to PX ConverterPX to PT ConverterPT to PX ConverterPX to EM ConverterAspect Ratio Calculator16:9 Aspect Ratio Calculator