Data
px to em Converter
1 px = 0.0625 em
Bidirectional ยท live
Assumes 16px root font size.
Reference table โ px to em
| px | em |
|---|---|
| 0.5 | 0.03125 |
| 1 | 0.0625 |
| 1.5 | 0.09375 |
| 2 | 0.125 |
| 3 | 0.1875 |
| 4 | 0.25 |
| 5 | 0.3125 |
| 6 | 0.375 |
| 8 | 0.5 |
| 10 | 0.625 |
| 12 | 0.75 |
| 16 | 1 |
About this conversion
SI data prefixes use base 10 (1 MB = 1,000,000 bytes); binary prefixes use base 2 (1 MiB = 1,048,576 bytes). Most operating systems mix the two.
Common questions
How many em in 1 px?
1 px equals 0.0625 em.
What is the conversion factor between px and em?
1 px = 0.0625 em.
How do I convert 8 px to em?
8 px = 0.5 em.