EM to PX Converter
Translate relative EM values to absolute pixels
Safe conversion with no data sent to server
em
px
Reference Table
| Pixels (px) | Rem | Em |
|---|---|---|
| 1px | 0.0625rem | 0.0625em |
| 2px | 0.125rem | 0.125em |
| 4px | 0.25rem | 0.25em |
| 8px | 0.5rem | 0.5em |
| 10px | 0.625rem | 0.625em |
| 12px | 0.75rem | 0.75em |
| 14px | 0.875rem | 0.875em |
| 16px | 1rem | 1em |
| 18px | 1.125rem | 1.125em |
| 20px | 1.25rem | 1.25em |
| 24px | 1.5rem | 1.5em |
| 32px | 2rem | 2em |
| 48px | 3rem | 3em |
| 64px | 4rem | 4em |
Understanding EM context
Because the EM unit is inherently contextual, you must know the calculated font size of the parent element to perform this conversion accurately. If an element has no explicit font size set, it inherits from its parent, all the way up to the browser default (usually 16px).