All tools

4px to rem

4 pixels expressed in rem, the unit that scales when a user changes their browser's font size.

4px=0.25rem

4 ÷ 16 = 0.25 — rem is just pixels divided by the root font size, which defaults to 16px.

root size4px in rem
14px0.2857rem
16px0.25rem
18px0.2222rem
20px0.2rem

Different value? Use the converter.