pixel (CSS) (px) → em (16 px) (em)
1 px = 0.0625 em · ⇄ em (16 px) (em) → pixel (CSS) (px)
Enter a valid value for the selected unit
All units in this category
| Converted Value | ||
|---|---|---|
| pixel (CSS) | px | — |
| point | pt | — |
| pica | pc | — |
| em (16 px) | em | — |
| inch | in | — |
| millimeter | mm | — |
| centimeter | cm | — |
| Q (quarter-millimeter) | Q | — |
| twip | twip | — |
| Didot point | dd | — |
| cicero | cc | — |
How to convert pixels (CSS) to em (16 px)
To convert pixels (CSS) to em (16 px), multiply the value by 0.0625.
Example: 25 px = 1.5625 em.
In the other direction, 1 em = 16 px.
Conversion Formula & Definition
em = px × 0.0625
1 pixel (CSS) (px) = 0.0625 em (16 px) (em).
Popular Conversions (Typography & Screen)
Quick Conversion Reference Table: pixel (CSS) (px) → em (16 px) (em)
| pixel (CSS) (px) | em (16 px) (em) |
|---|---|
| 0.01 px | 0.000625 em |
| 0.1 px | 0.00625 em |
| 0.25 px | 0.015625 em |
| 0.5 px | 0.03125 em |
| 1 px | 0.0625 em |
| 2 px | 0.125 em |
| 3 px | 0.1875 em |
| 4 px | 0.25 em |
| 5 px | 0.3125 em |
| 6 px | 0.375 em |
| 7 px | 0.4375 em |
| 8 px | 0.5 em |
| 9 px | 0.5625 em |
| 10 px | 0.625 em |
| 15 px | 0.9375 em |
| 20 px | 1.25 em |
| 25 px | 1.5625 em |
| 30 px | 1.875 em |
| 40 px | 2.5 em |
| 50 px | 3.125 em |
| 75 px | 4.6875 em |
| 100 px | 6.25 em |
| 250 px | 15.625 em |
| 500 px | 31.25 em |
| 1,000 px | 62.5 em |
| 10,000 px | 625 em |