Toolman

8rem to px

8rem = 128px

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:

8rem × 16 = 128px

Reversing it, 128px × 0.0625 returns 8rem.

8rem 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 size8rem equals
14 px112px
16 px (default)128px
18 px144px
20 px160px
24 px192px

Nearby values

rempx
8rem128px
10rem160px
12rem192px
14rem224px
16rem256px

Frequently asked questions

What is 8rem in px?

128px at the default 16 px root font size.

How is 8rem converted to px?

Multiply by 16: 8 × 16 = 128. To go back, multiply 128 by 0.0625.

Is 128px always the answer?

No. rem is relative to the root element, so 8rem is 128px 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