PX to REM Converter

Convert pixels to REM and REM to pixels. With reference table and custom base size.

How to use: Enter a pixel value and base font size to get the rem equivalent.

px
PixelsREM
2px0.125rem
4px0.25rem
6px0.375rem
8px0.5rem
10px0.625rem
12px0.75rem
14px0.875rem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
36px2.25rem
40px2.5rem
48px3rem
56px3.5rem
64px4rem
72px4.5rem
80px5rem
96px6rem

PX to REM Converter

Convert between pixels and REM units for responsive CSS. Set your base font size, enter a value, and see the conversion instantly. Includes a reference table with common pixel sizes and their REM equivalents.

Frequently Asked Questions

What is a REM unit?
REM stands for 'root em'. It's a CSS unit relative to the root element's font size. If the root is 16px, then 1rem = 16px.
What base size should I use?
The default browser font size is 16px, which is the most common base. Change the base if your project uses a different root font size.