3 PX to REM

Result

3 px = 0.1875 rem


Explanation

  • REM — 0.1875
  • Pixel base — 16

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

3 / 16 = 0.1875 rem

CSS code for 3 PX to REM

p { font-size: 0.1875em }

HTML (inline CSS):

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