3 PX to EM

Result

3 px = 0.1875 em


Explanation

  • Base — 16
  • EM — 0.1875

To convert 3 pixels to EM with base 16 you need to divide pixels value by base value, in our case: 3 / 16. In result we'll receive that 3 pixels with base 16 is equal to 0.1875 em

CSS code for 3 PX to EM

p { font-size: 0.1875em }

HTML (inline CSS):

<p style="font-size: 0.1875em">Hello World<p>
Open PX to EM converter