Convert PX to EM

This is a tool which can convert pixel to em and vise versa. Set Base Pixel then type in either px or em under Input Source to convert to the other.

Base Pixel

px

Input Source

px

em

Pixels EMs Percent
8px 0.500em 50.0%
9px 0.563em 56.3%
10px 0.625em 62.5%
11px 0.688em 68.8%
12px 0.750em 75.0%
13px 0.813em 81.3%
14px 0.875em 87.5%
15px 0.938em 93.8%
16px 1.000em 100.0%
17px 1.063em 106.3%
18px 1.125em 112.5%
19px 1.188em 118.8%
20px 1.250em 125.0%
21px 1.313em 131.3%
22px 1.375em 137.5%
23px 1.438em 143.8%
24px 1.500em 150.0%

What is an EM?
An em is a unit of measurement in the field of typography. It is equal to the height of the type size being used. If a website’s font is 16 pixels, then 1em is equal to 16px.

PX to EM formula
em = pixel / base pixel
If base pixel is 16 and we need to convert 13px to em, then we have 13px / 16px = 0.813em