Unitrify

Pixels to REM (px to rem)

16 px = 1 rem (16 px base)

Base font size (for em and rem)

Result

1.5 rem

rem = px ÷ base font size. Browsers use a 16 px base by default, so 24 px is 1.5 rem; pick another base in the converter if your site uses one.For other units, use the Typography Converter (px, pt, rem).

Formula

rem = px ÷ base font size (16 px)

Pixel (96 dpi) to Rem (root em) table

Pixel (96 dpi) (px)Rem (root em) (rem)
1 px0.0625 rem
2 px0.125 rem
3 px0.1875 rem
4 px0.25 rem
5 px0.3125 rem
6 px0.375 rem
7 px0.4375 rem
8 px0.5 rem
9 px0.5625 rem
10 px0.625 rem
11 px0.6875 rem
12 px0.75 rem
13 px0.8125 rem
14 px0.875 rem
15 px0.9375 rem
16 px1 rem
17 px1.0625 rem
18 px1.125 rem
19 px1.1875 rem
20 px1.25 rem
25 px1.5625 rem
30 px1.875 rem
40 px2.5 rem
50 px3.125 rem
75 px4.6875 rem
100 px6.25 rem

Frequently asked questions

What is 14 px in rem?

14 px is 0.875 rem with a 16 px base.

What is 32 px in rem?

32 px is 2 rem with a 16 px base.

What if my root font size is 10 px?

Then 1 rem is 10 px, so 24 px is 2.4 rem. Choose 10 px as the base size above.

Related converters

Factors from NIST SP 811 and SI definitions · Last updated · How we verify these conversions