25 PX to REM

Result

25 px = 1.5625 rem


Explanation

  • REM — 1.5625
  • Pixel base — 16

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

25 / 16 = 1.5625 rem

CSS code for 25 PX to REM

p { font-size: 1.5625em }

HTML (inline CSS):

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