PX to REM Converter
Free PX to REM converter. Convert pixel values to REM and EM units for responsive CSS. Supports custom base font sizes. All processing is local.
Result
REM1rem
EM1em
Common PX to REM Conversions
| PX | REM (base 16px) |
|---|---|
| 8px | 0.5rem |
| 12px | 0.75rem |
| 14px | 0.875rem |
| 16px | 1rem |
| 24px | 1.5rem |
| 32px | 2rem |
Why Use REM Instead of PX?
REM (Root EM) units are relative to the root font size (usually 16px on most browsers). This makes them responsive — if a user changes their browser's default font size, all REM-based sizes scale proportionally. PX units are fixed and don't scale.
Using REM for font sizes, spacing, and layout makes your site more accessible. Users with visual impairments who increase their browser's font size will see your site scale correctly. The formula is simple: REM = PX / base_font_size.