What is a REM?
A rem is a root em. Rem is a unit of typography equal to root font-size. Rem is built to provide some relief of em computational problem which occurs in many situations.
PX to REM formula
rem = pixel / base pixel
The formula is similar to when converting pixel to em.