px to rem
Convert pixels to rem units instantly — set your base font size and see the exact rem value for any pixel measurement
16px ÷ 16 = 1 rem
Result
1 rem
base: 16px
About this calculator
The rem unit (root em) is relative to the root element's font size — usually 16px by default in browsers. Converting px to rem makes your CSS scalable: if a user changes their browser font size, rem-based layouts adapt automatically. Use this tool to find the rem equivalent of any pixel value for any base font size.
Common examples
- 16px = 1rem (base 16px)
- 24px = 1.5rem (base 16px)
- 32px = 2rem (base 16px)
- 12px = 0.75rem (base 16px)
- 18px = 1.125rem (base 16px)