2.5 EM to PX

Open EM to PX converter

Result

2.5 em = 40 px


Explanation

  • Base — 16
  • Em value — 2.5

To convert 2.5 em to pixels with base 16 you need to multiply base value by em value, in our case: 16 × 2.5. In result we'll receive that 2.5 em with base 16 is equal to 40 pixels (px)

CSS code for 2.5 EM to PX

p { font-size: 40px }

HTML (inline CSS):

<p style="font-size: 40px">Hello World<p>