All tools

12px to rem

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

12px=0.75rem

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

root size12px in rem
14px0.8571rem
16px0.75rem
18px0.6667rem
20px0.6rem

Different value? Use the converter.