Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
PX to REM Converter

PX to REM Converter

Convert pixel values to rem units based on your root font size.

Convert pixel (px) values to rem units instantly. Set your root font size to get accurate conversions for responsive CSS development.

  1. Set your base font size (default: 16px)
  2. Enter a pixel value in the input field
  3. The rem equivalent appears instantly
  4. Click Copy to use the result in your CSS
px
px
rem

Common Conversions (base: 16px)

12px = 0.75rem
14px = 0.875rem
16px = 1rem
18px = 1.125rem
24px = 1.5rem
32px = 2rem

Pixels (px)

Absolute CSS unit. 1px equals one device pixel. Best for fixed-size elements like borders.

Root EM (rem)

Relative to the root element's font-size. Ideal for responsive typography and spacing.

Default root font size is 16px in most browsers
16px = 1rem (with 16px base)
Change the base font size to match your project's root font-size
rem units scale with the root element's font-size
Want to learn more? Read documentation →
1/5

CSS Unit Converter

PX to EM Converter PX to REM Converter (current page) REM to PX Converter
Can't find it? Build your own tool with AI
Start typing to search...
Searching...
No results found
Try searching with different keywords