10 PX to REM

Open PX to REM converter

Result

10 px = 0.625 rem


Explanation

  • REM — 0.625
  • Pixel base — 16

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

10 / 16 = 0.625 rem

CSS code for 10 PX to REM

p { font-size: 0.625em }

HTML (inline CSS):

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