38 PX to EM

Open PX to EM converter

Result

38 px = 2.375 em


Explanation

  • Base — 16
  • EM — 2.375

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

CSS code for 38 PX to EM

p { font-size: 2.375em }

HTML (inline CSS):

<p style="font-size: 2.375em">Hello World<p>