CalcEngine

PX to EM Converter

Convert Pixels (PX) to EM instantly and vice versa.

PX to EM Converter
EM is relative to the parent element's font size.
px
em
px
16px=1em

Forward Formula

EM = PX ÷ Parent Font Size

Example: 24 ÷ 16 = 1.5em

Reverse Formula

PX = EM × Parent Font Size

Example: 1.5 × 16 = 24px

Unlike rem, em is relative to the parent element's font size. Nested em values compound, so an em inside an em inside an em multiplies sizes — useful for self-contained components, risky for global layouts.