PX to EM Converter

Convert Pixels to Em (px to em)

base value:

Value(Pixels):


Value(em):

How to convert Pixels to Em

Converting pixels to em units involves considering the font size of the element in question. The formula to convert pixels to em units is:

pixels / font size in pixels = em

For example, if the font size of an element is 16 pixels and you want to convert 32 pixels to em units, you'd do:

em = 32 / 16 = 2

So, 32 pixels would be equivalent to 2 em units.

It's important to note that em units are relative to the font size of the parent element, so you need to ensure consistency in your design and layout.

Conversion Table

Pixelsem
10.0625
20.125
30.1875
40.25
50.3125
60.375
70.4375
80.5
90.5625
100.625
110.6875
120.75
130.8125
140.875
150.9375
161
171.0625
181.125
191.1875
201.25
211.3125
221.375
231.4375
241.5
251.5625
261.625
271.6875
281.75
291.8125
301.875
311.9375
322
332.0625
342.125
352.1875
362.25
372.3125
382.375
392.4375
402.5
412.5625
422.625
432.6875
442.75
452.8125
462.875
472.9375
483
493.0625
503.125