Pixel to EM Converter
Convert pixels and em units with a custom base font size and quick-reference table.
How to Use
- Choose the conversion direction, enter a value, and set the inherited base font size in pixels.
Assumptions and Limits
An em is relative to the current element's computed font size; unlike rem, it is not always relative to the root.
Method
em = pixels ÷ base font size; pixels = em × base font size.
Examples
Example
16 px at a 16 px base equals 1 em.
Result: The calculator updates its results immediately from these inputs.
Frequently Asked Questions
What does the Pixel to EM Converter estimate?
Use rem when you need root-relative sizing and em when component-relative scaling is intended.