Toolman

32px to rem

32px = 2rem

At the browser default root font size of 16 px. Change it and this number changes — see below.

How it is calculated

One px is 0.0625rem, so:

32px × 0.0625 = 2rem

Reversing it, 2rem × 16 returns 32px.

32px at other root font sizes

rem is measured against the root element, so the answer above holds only while that is 16 px. A visitor who has raised their browser's default — the accessibility setting rem exists to respect — is reading your page at one of the larger rows.

Root font size32px equals
14 px2.2857rem
16 px (default)2rem
18 px1.7778rem
20 px1.6rem
24 px1.3333rem

Nearby values

pxrem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
36px2.25rem
40px2.5rem
48px3rem

Frequently asked questions

What is 32px in rem?

2rem at the default 16 px root font size.

How is 32px converted to rem?

Multiply by 0.0625: 32 × 0.0625 = 2. To go back, multiply 2 by 16.

Is 2rem always the answer?

No. rem is relative to the root element, so 32px is 2rem only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.

The full PX to REM converter → · All CSS unit converters