2 REM to PX

Result

2 rem = 32 px


Explanation

  • Pixel base — 16
  • REM — 2

To convert 2 rem to pixels with base 16 you need to multiply base value by rem value, in our case: 16 × 2. In result we'll receive that 2 rem with base 16 is equal to 32 pixels (px)

16 × 2 = 32 rem

CSS code for 2 REM to PX

p { font-size: 32px }

HTML (inline CSS):

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