Convert pixels to REM and REM to pixels for responsive CSS, with a quick reference table.
What is the PX to REM Converter?
Using rem units makes your website scale with the user’s font settings, which is better for accessibility. Convert px to rem (and back) based on your root font size (16px by default) and use the reference table for common sizes.
How to use the PX to REM Converter
- Set your root font size (usually 16px).
- Type a px or rem value.
- Copy the rem value into your CSS.
Frequently asked questions
What is the formula?
rem = px ÷ root font size. With 16px root, 24px = 1.5rem.
This px to rem converter is 100% free, needs no signup and runs in your browser, so your data stays private.
Last updated: · By NodifyTech