48 PX to EM

Result

48 px = 3 em


Explanation

  • Base — 16
  • EM — 3

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

CSS code for 48 PX to EM

p { font-size: 3em }

HTML (inline CSS):

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