em vs 像素 (px)
01
UNIT COMPARISON
em
em
Relative to parent font size (default 16px)
px
像素 (px)
CSS reference pixel at 96 DPI
02
HOW THEY RELATE
1 em = 16.0000 px
1 px = 0.062500 em
03
REFERENCE TABLE
| em (em) | 像素 (px) (px) |
|---|---|
| 1 em | 16 px |
| 5 em | 80 px |
| 10 em | 160 px |
| 25 em | 400 px |
| 50 em | 800 px |
| 100 em | 1,600 px |
| 250 em | 4,000 px |
| 500 em | 8,000 px |
| 1,000 em | 16,000 px |
04
FAQ
What is the difference between em and 像素 (px)?
em (em) and 像素 (px) (px) are both units of typography. 1 em = 16.0000 px, and 1 px = 0.062500 em.
Which is bigger, em or 像素 (px)?
1 em equals 16.0000 像素 (px). So em is the larger unit.
How do I convert em to 像素 (px)?
Multiply the value in em by 16.0000. 1 em = 16.0000 px.