34 PX to REM

Result

34 px = 2.125 rem


Explanation

  • REM — 2.125
  • Pixel base — 16

To convert 34 pixels to REM with pixel's base 16 you need to divide pixels value by base value, in our case: 34 / 16. In result we'll receive that 34 pixels with base 16 is equal to 2.125 rem

34 / 16 = 2.125 rem

CSS code for 34 PX to REM

p { font-size: 2.125em }

HTML (inline CSS):

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