Convert px to rem (and back) instantly — with bulk convert and a reference table.
Convert a single value
CSS snippet
font-size: 1rem;16px ÷ 16px = 1rem
The PX to REM Converter makes CSS unit conversion effortless. Enter any pixel value and get the exact REM equivalent based on your root font size — default 16px. Whether you are converting a single value, pasting a bulk list, or scanning a quick-reference table for common sizes, this free tool handles it instantly with copy-ready CSS output.
Divide the pixel value by the base (root) font size: rem = px ÷ base. With the default base of 16px, 24px becomes 24 ÷ 16 = 1.5rem.
Most browsers default to 16px, so 16 is the standard starting point. If your project sets a different root font size via html { font-size: ... } in CSS, enter that value instead for accurate results.
REM units scale relative to the user's browser root font size, making layouts more accessible. Users who increase their browser's default font size will see REM-based text scale proportionally, while fixed px values stay the same.
Yes — switch to the Bulk tab and paste one value per line. The tool converts the entire list instantly and lets you copy all results with a single click.