EM to PX converter is the perfect accurate online EM to PX conversion tool.
How to convert EM to Pixel?
EM is a unit of measurement in CSS that is relative to the font size of the parent element. On the other hand, PX is a unit of measurement in CSS that is absolute and does not change based on the font size of the parent element.
To convert EM to Pixel, you need to multiply the EM value by the font size of the parent element. The formula to convert EM to PX is:
px = em * font-size
Here’s an example:
Let’s say the parent element has a font size of 16px and you have a value of 1em, then:
px = 1 * 16 = 16px
So, 1em is equal to 16px in this case.
With the help of this conversion tool you can convert any EM value into PX easily.
EM to Pixel Conversion Table
EM | PX |
---|---|
0.0625em | 1px |
0.125em | 2px |
0.25em | 4px |
0.5em | 8px |
0.75em | 12px |
1em | 16px |
2em | 32px |
4em | 64px |
6.25em | 100px |
12.5em | 200px |
15.625em | 250px |
18.75em | 300px |
25em | 400px |
37.5em | 600px |
50em | 800px |