Tools /Front-end
● Ready to calculate
〈/〉 TOOLS FOR FRONT-END

PX to EM.

Convert pixels to units relative to the font in context.

{ }
More options

⇄

Unit converter

Live conversion
Worked example

16 px = 1 em

Current base: 16 px

For font-size, use the parent font size. For other properties, use the element’s own font size.

px
px
Enter the value to convert
1em
Automatic, instant conversion
=16 px equals1 em
EXPLORE, COMPARE, CREATE

Conversion table

Common values to speed up your day.

Current base: 16 px
PX Source value EM Converted value EM Reverse conversion PX Equivalent value
1 px 0.0625 em 0.0625 em 1 px
2 px 0.125 em 0.125 em 2 px
4 px 0.25 em 0.25 em 4 px
8 px 0.5 em 0.5 em 8 px
12 px 0.75 em 0.75 em 12 px
16 px 1 em 1 em 16 px
20 px 1.25 em 1.25 em 20 px
24 px 1.5 em 1.5 em 24 px
32 px 2 em 2 em 32 px
40 px 2.5 em 2.5 em 40 px
48 px 3 em 3 em 48 px
64 px 4 em 4 em 64 px
✦

Less calculating, more creating. Leave the numbers to us.