22 PX to REM

Open PX to REM converter

Result

22 px = 1.375 rem


Explanation

  • REM — 1.375
  • Pixel base — 16

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

22 / 16 = 1.375 rem

CSS code for 22 PX to REM

p { font-size: 1.375em }

HTML (inline CSS):

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