Utilmango › PX to REM converter

PX to REM converter

Convert CSS units with your own base font size.

Ad space

How to convert px to rem

rem = px ÷ base font size. Browsers use 16px by default, so 24px is 1.5rem. To go back, px = rem × base. Using rem lets text scale when a user changes their browser font size, which helps accessibility.

Reference at 16px base

pxrem
8px0.5rem
10px0.625rem
12px0.75rem
14px0.875rem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
40px2.5rem
48px3rem

FAQ

What is rem?

It means root em: a size relative to the font size of the html element.

What is the default base size?

16px in all major browsers.

Rem or em?

Rem refers to the root, so it stays predictable. Em depends on the parent element and can compound.