48 PX to REM

Open PX to REM converter

Result

48 px = 3 rem


Explanation

  • REM — 3
  • Pixel base — 16

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

48 / 16 = 3 rem

CSS code for 48 PX to REM

p { font-size: 3em }

HTML (inline CSS):

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