32em to px
32em = 512px
At the browser default font size of 16 px. Change it and this number changes — see below.
How it is calculated
One em is 16px, so:
32em × 16 = 512px
Reversing it, 512px × 0.0625 returns 32em.
32em at other font sizes
em is measured against the element's own font size, inherited from its parent unless it sets one, so the answer above holds only while that is 16 px. Nested elements each compound on their parent, so this is the value for one level, not for the whole tree.
| Font size | 32em equals |
|---|---|
| 14 px | 448px |
| 16 px (default) | 512px |
| 18 px | 576px |
| 20 px | 640px |
| 24 px | 768px |
Nearby values
| em | px |
|---|---|
| 16em | 256px |
| 18em | 288px |
| 20em | 320px |
| 24em | 384px |
| 28em | 448px |
| 32em | 512px |
| 36em | 576px |
| 40em | 640px |
| 48em | 768px |
Frequently asked questions
What is 32em in px?
512px at the default 16 px font size.
How is 32em converted to px?
Multiply by 16: 32 × 16 = 512. To go back, multiply 512 by 0.0625.
Is 512px always the answer?
No. em is relative to the element's own font size, inherited from its parent unless it sets one, so 32em is 512px only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.