How the conversion works
At a root font size of 16 px, 24 px equals 1.5 rem.
rem = Pixels ÷ Reference pixels
Pixels = rem × Reference pixels
Convert pixels and rem using the root element’s font size.
Edit either conversion field to update the other.
At a root font size of 16 px, 24 px equals 1.5 rem.
rem = Pixels ÷ Reference pixels
Pixels = rem × Reference pixels