EM to PX Converter
Convert em to pixels based on the parent element's font size.
Enter your values
The font size of the parent element
Result
px
24px
1.5em = 24px
- CSS
- font-size: 24px;
px = em × parent font size. 1em = 16px when the parent is 16px.
EM to PX chart (16px parent)
| EM | PX |
|---|---|
| 0.125em | 2px |
| 0.25em | 4px |
| 0.5em | 8px |
| 0.625em | 10px |
| 0.75em | 12px |
| 0.875em | 14px |
| 1em | 16px |
| 1.125em | 18px |
| 1.25em | 20px |
| 1.5em | 24px |
| 1.75em | 28px |
| 2em | 32px |
| 2.5em | 40px |
| 3em | 48px |
| 4em | 64px |
How to use EM to PX Converter
- Enter em value and parent font size.
- The result updates instantly as you type, with no button to press.
- Read the formula box to see how it was calculated, then copy the result.
Features
- Instant results
- Results update as you type, with no Calculate button and no page reload.
- Formula explained
- See exactly how the answer is worked out, so you can check it or learn the method.
- Private & free
- Everything runs in your browser. Nothing you enter is uploaded or stored.
Frequently asked questions
How do I convert em to px?
Multiply the em value by the parent element's font size. With a 16px parent, 1.5em = 24px; with a 20px parent, 1.5em = 30px.
Is em the same as rem?
Only when the parent font size equals the root font size. em is relative to the parent, rem to the root html element.
How does the EM to PX Converter work?
It uses this method: px = em × parent font size. 1em = 16px when the parent is 16px.
Is this EM to PX Converter free?
Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.
Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.