1 REM to PX
Result
1 rem = 16 px
Explanation
- Pixel base — 16
- REM — 1
To convert 1 rem to pixels with base 16 you need to multiply base value by rem value, in our case: 16 × 1. In result we'll receive that 1 rem with base 16 is equal to 16 pixels (px)
16 × 1 = 16 rem
CSS code for 1 REM to PX
p { font-size: 16px }
HTML (inline CSS):
<p style="font-size: 16px">Hello World<p>