PX to REM Converter

PX ↔ REM Converter

1rem = 16px

Convert px to rem instantly — rem (root em) makes responsive typography predictable by scaling values relative to the root font-size. Use this simple formula: rem = px ÷ root-font-size (for most browsers the default root is 16px). Pick a root (16px is typical; 10px is handy for easier mental math) and convert: e.g. 16px → 1rem at 16px root, or 20px → 2rem at 10px root. Below is a quick reference chart of common pixel sizes converted to rem for both 16px and 10px root sizes.

Pixels (px)rem (root = 16px)rem (root = 10px)
8.00.5000.800
12.00.7501.200
14.00.8751.400
16.01.0001.600
18.01.1251.800
20.01.2502.000
24.01.5002.400
32.02.0003.200
48.03.0004.800
64.04.0006.400


Example conversions:

• 8px → 0.5rem (at 16px root) or 0.8rem (at 10px root)

• 16px → 1rem (at 16px root) or 1.6rem (at 10px root)

• 32px → 2rem (at 16px root) or 3.2rem (at 10px root)

Tip: For flexible, accessible designs, stick with rem for sizing text, spacing, and layouts — it ensures consistent scaling across devices and user settings.