Pixels to Root ems
px
How to convert pixels to root ems
To convert pixels to root ems, divide the value in pixels by 16.
rem = px ÷ 16
Example: 10 px = 0.625 rem
Note: Assumes a 16 px root font size.
Pixels to Root ems conversion table
| Pixels (px) | Root ems (rem) |
|---|---|
| 8 | 0.5 |
| 10 | 0.625 |
| 12 | 0.75 |
| 14 | 0.875 |
| 16 | 1 |
| 18 | 1.125 |
| 20 | 1.25 |
| 24 | 1.5 |
| 32 | 2 |
| 48 | 3 |
| 64 | 4 |
| 96 | 6 |