Quick converter
Type into any field — every unit in this category updates instantly.
Root font-size 16px
Common em → px values
Click any row to open its dedicated page.
| em | px |
|---|---|
| 4em | 64px |
| 6em | 96px |
| 8em | 128px |
| 10em | 160px |
| 12em | 192px |
| 14em | 224px |
| 16em | 256px |
| 18em | 288px |
| 20em | 320px |
| 24em | 384px |
| 28em | 448px |
| 32em | 512px |
| 36em | 576px |
| 40em | 640px |
| 44em | 704px |
| 48em | 768px |
| 56em | 896px |
| 64em | 1024px |
| 72em | 1152px |
| 80em | 1280px |
| 96em | 1536px |
| 112em | 1792px |
| 128em | 2048px |
| 144em | 2304px |
| 160em | 2560px |
| 192em | 3072px |
| 224em | 3584px |
| 256em | 4096px |
Convert 8em to other units
Formula
rem = px ÷ root-font-size and px = rem × root-font-size. Browsers default the root font-size to 16px, so 1rem normally equals 16px unless the page (or the user's browser settings) changes it.
em works the same way, but relative to the parent element's font-size rather than the root — the numbers only match rem when nothing in the ancestor chain has resized the font.
pt is a print unit: 1pt = 1.333px, based on the fixed 96px-per-inch / 72pt-per-inch relationship browsers use.
Use it in code
Click to copy.