pixels to em (1em=16px) Converter
Convert pixels to em (1em=16px) instantly with a reference conversion table.
| pixels | em (1em=16px) |
|---|
How to convert pixels to em (1em=16px)
Enter your value
Type the number of pixels you want to convert into the left box. The result in em (1em=16px) 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 — em (1em=16px) to pixels. Your current value carries across so you don't have to re-enter anything.
About pixels and em (1em=16px)
pixels and em (1em=16px) are common css measurements.
At 16px root: 1em = 16px, 0.875em = 14px, 1.125em = 18px, 1.5em = 24px, 2em = 32px. The 16px browser default was set in 1997 and has never changed — it's a cultural constant of the web.
| pixels | em (1em=16px) |
|---|---|
| 1 | 0.0625 |
| 8 | 0.5 |
| 10 | 0.625 |
| 12 | 0.75 |
| 14 | 0.875 |
| 16 | 1 |