em (16px base) to px Converter
Convert em (16px base) to px instantly. Includes a reference table and formula.
| em (16px base) | px |
|---|
How to convert em (16px base) to px
Enter your value
Type the number of em (16px base) you want to convert into the left box. The result in px appears instantly in the right box. You can also type into the right box to convert in the other direction.
Use the swap button
Click the ⇄ Swap button to reverse the conversion — px to em (16px base). Your current value carries across so you don't have to re-enter anything.
About em (16px base) and px
em (16px base) and px are both CSS units. Use this converter to switch between them instantly.
At default 16px root: 1em = 16px. The em unit is named after the capital M in typography — originally the width of the letter M in a given typeface, which equalled the point size. In CSS, em always refers to the current element's font size, not the M character width.
| em (16px base) | px |
|---|---|
| 0.25 | 4 |
| 0.5 | 8 |
| 0.75 | 12 |
| 1 | 16 |
| 1.25 | 20 |
| 1.5 | 24 |