All tools

6px to rem

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

6px=0.375rem

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

root size6px in rem
14px0.4286rem
16px0.375rem
18px0.3333rem
20px0.3rem

Different value? Use the converter.