6 PX to REM

Open PX to REM converter

Result

6 px = 0.375 rem


Explanation

  • REM — 0.375
  • Pixel base — 16

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

6 / 16 = 0.375 rem

CSS code for 6 PX to REM

p { font-size: 0.375em }

HTML (inline CSS):

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