AccuUnit
Programmatic SEO Converter

Convert Pixel to EM.

Input the value of pixels below to convert instantly to em with standard conversions, definitions, and equations.

Typography Converter
px
em
Value in EM = Value in Pixels × 0.0625 Multiply the value in pixels by the conversion factor 0.0625.

Bookmarks

No bookmarks saved.

Recent Conversions

No conversion history yet.

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

Frequently Asked Questions

How do I convert pixels to em?

Multiply the value in pixels by the conversion factor 0.0625. For example, to convert 5 pixels to em: 5 × 0.0625 = 0.3125 em.

What is the conversion factor from pixel to em?

The conversion factor is 0.0625. One pixel is equal to 0.0625 em.

What is the reverse conversion from em to pixel?

To convert em back to pixels, multiply by 16 (or divide the value by 0.0625). One em is equal to 16 pixels.

How many pixels are in 1 rem?

By default in modern browsers, 1 rem is equal to 16 pixels.

How do you convert pixels to rem?

Divide the pixel value by your base font size (usually 16). For example, 24px is 24 / 16 = 1.5 rem.

Related Typography Conversions

Calculator