38 PX to REM

Result

38 px = 2.375 rem


Explanation

  • REM — 2.375
  • Pixel base — 16

To convert 38 pixels to REM with pixel's 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 rem

38 / 16 = 2.375 rem

CSS code for 38 PX to REM

p { font-size: 2.375em }

HTML (inline CSS):

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