4 rem to px = 64px
4 rem equals 64 pixels at the default root font size of 16px. Adjust the root size below to recalculate.
px
rem
64px
How it works
To convert 4rem to pixels, multiply by the root font size: 4 × 16 = 64. The rem unit is relative to the root element’s font size, which browsers default to 16px.