PX to REM Converter (16px Base)
Rem units scale with the user's root font size, which keeps layouts accessible when someone zooms or changes their browser defaults. Enter a pixel value to get its rem equivalent at a 16px base.
Runs in your browser — your text is never uploaded or stored.
Pixels
REM value
How to Use
- 1.Enter the pixel value you want to convert.
- 2.Read the rem equivalent, calculated against a 16px root.
- 3.Copy the rem value into your CSS.
Advertisement
FAQ
What if my root font size isn't 16px?
Use the full PX ↔ REM converter, where you can set a custom base such as 10px or 62.5%.
Should I use rem or px?
Use rem for font sizes and spacing so text respects user preferences; px is fine for hairline borders.
Need more options?
PX to REM Converter
Free online pixel to rem converter for CSS. Convert PX to REM or REM to PX with a custom root font size. Instant, private, browser-based.