Convert Pixels to Ems
Convert pixels to ems (px to em) with our instant calculator. 1 px = 0.0625 em. Includes exact formula and reference tables.
How to Convert Pixels to Ems (px to em)
1 Pixel (px) is equal to 0.0625 Ems (em). Divide the pixel value by 16
Unit Definitions & Metrology Context
In standard digital design and CSS specifications (W3C CSS Values Module), the reference pixel (px) is calibrated to 1/96th of an inch (96 DPI baseline).
About Pixels (px): Pixel (px) is a unit in the Typography measurement category. It is widely used in css digital display baseline (96 dpi). The pixel (px) serves as the primary reference base unit for the typography domain.
About Ems (em): Em (em) is a unit in the Typography measurement category. It is widely used in relative font size (16 px standard). Relative to the typography base unit, 1 em equals 16 Pixels (px).
Need to convert in the opposite direction? Visit our Convert Ems to Pixels (em to px) calculator (1 em = 16 px).
Step-by-Step Worked Examples (px to em)
- Convert 5 Pixels to Ems: Applying the formula (em = px / 16): starting with 5 px, divide the pixel value by 16 to get 0.3125 em.
- Convert 10 Pixels to Ems: Applying the formula (em = px / 16): starting with 10 px, divide the pixel value by 16 to get 0.625 em.
- Convert 50 Pixels to Ems: Applying the formula (em = px / 16): starting with 50 px, divide the pixel value by 16 to get 3.125 em.
Popular Typography Conversions
Frequently Asked Questions
Verified answers and formulas for converting pixels to ems.
There are 0.0625 ems (em) in 1 pixel (px). Conversely, 1 em equals 16 pixels.
To convert pixels (px) to ems (em), use the formula: em = px / 16. Divide the pixel value by 16. For example, 10 px equals 0.625 em.
To convert in the reverse direction from ems (em) to pixels (px), use the inverse formula: px = em × 16. Multiply the em value by 16 (1 em = 16 px).
Both pixel and em measure typography. Pixel (px) is a unit in the Typography measurement category. It is widely used in css digital display baseline (96 dpi). The pixel (px) serves as the primary reference base unit for the typography domain. Em (em) is a unit in the Typography measurement category. It is widely used in relative font size (16 px standard). Relative to the typography base unit, 1 em equals 16 Pixels (px).
Divide the pixel value by 16 (assuming default root font size of 16px). For example, 16px = 1rem, 24px = 1.5rem, and 32px = 2rem.