54 PX to REM

Open PX to REM converter

Result

54 px = 3.375 rem


Explanation

  • REM — 3.375
  • Pixel base — 16

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

54 / 16 = 3.375 rem

CSS code for 54 PX to REM

p { font-size: 3.375em }

HTML (inline CSS):

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