Convert pixels to rem instantly (16px root default). Free CSS unit converter with formula and FAQ.
| Input | Output |
|---|---|
| 16 px | 1 rem |
| 32 px | 2 rem |
| 14 px | 0.875 rem |
rem (root em) is a unit relative to the root element's font size. Most browsers default to 16px, so 1rem = 16px unless the site overrides it.
rem scales with the user's font-size preferences, which improves accessibility. Pixel values ignore user settings.
If your CSS sets html{font-size:62.5%} (10px root), divide by 10 instead. Use our REM to PX converter with a custom root value.