1px to rem

In rem0.0625rem

1px is equal to 0.0625rem (with a base font size of 16px).

How to convert

1px ÷ 16px = 0.0625 rem

This conversion assumes the root font-size (`html { font-size: 16px; }`) which is the browser default.

Common px → rem conversions (base 16px)

pxrem
8px0.5rem
12px0.75rem
16px1rem
20px1.25rem
24px1.5rem
32px2rem
40px2.5rem
48px3rem
64px4rem

Try the converter

e.g. "1px to rem"

Loading tool...