Programmatic SEO Converter
Convert Pixel to EM.
Input the value of pixels below to convert instantly to em with standard conversions, definitions, and equations.
How to Convert Pixels to EM
To convert pixel to em, we use the official conversion formulas. Below is the mathematical formula, plain-English explanation, and a worked example.
px-to-em-formula.py
# Mathematical Formula
Value in EM = Value in Pixels × 0.0625
# Worked Example (5 px)
5 px × 0.0625 = 0.3125 em
What is a Pixel?
Pixel (px)
The core unit of screen measurements. Represented as 1/96 of an inch.
What is a EM?
EM (em)
Parent element font size. In typical contexts, it matches root size (16px).
Pixel to EM Conversion Table
| Pixel (px) | EM (em) |
|---|---|
| 1 px | 0.0625 em |
| 2 px | 0.125 em |
| 3 px | 0.1875 em |
| 5 px | 0.3125 em |
| 10 px | 0.625 em |
| 15 px | 0.9375 em |
| 20 px | 1.25 em |
| 25 px | 1.5625 em |
| 50 px | 3.125 em |
| 100 px | 6.25 em |
| 250 px | 15.625 em |
| 500 px | 31.25 em |
| 1000 px | 62.5 em |
EM to Pixel Conversion Table
| EM (em) | Pixel (px) |
|---|---|
| 1 em | 16 px |
| 2 em | 32 px |
| 3 em | 48 px |
| 5 em | 80 px |
| 10 em | 160 px |
| 15 em | 240 px |
| 20 em | 320 px |
| 25 em | 400 px |
| 50 em | 800 px |
| 100 em | 1600 px |
| 250 em | 4000 px |
| 500 em | 8000 px |
| 1000 em | 16000 px |
Questions