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

PXREM (base 16px)
8px0.5rem
12px0.75rem
14px0.875rem
16px1rem
24px1.5rem
32px2rem

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.

Related Articles