Toolman

20rem to px

20rem = 320px

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

How it is calculated

One rem is 16px, so:

20rem × 16 = 320px

Reversing it, 320px × 0.0625 returns 20rem.

20rem 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 size20rem equals
14 px280px
16 px (default)320px
18 px360px
20 px400px
24 px480px

Nearby values

rempx
10rem160px
12rem192px
14rem224px
16rem256px
18rem288px
20rem320px
24rem384px
28rem448px

Frequently asked questions

What is 20rem in px?

320px at the default 16 px root font size.

How is 20rem converted to px?

Multiply by 16: 20 × 16 = 320. To go back, multiply 320 by 0.0625.

Is 320px always the answer?

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

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