18rem to px
18rem = 288px
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:
18rem × 16 = 288px
Reversing it, 288px × 0.0625 returns 18rem.
18rem 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 size | 18rem equals |
|---|---|
| 14 px | 252px |
| 16 px (default) | 288px |
| 18 px | 324px |
| 20 px | 360px |
| 24 px | 432px |
Nearby values
| rem | px |
|---|---|
| 10rem | 160px |
| 12rem | 192px |
| 14rem | 224px |
| 16rem | 256px |
| 18rem | 288px |
| 20rem | 320px |
| 24rem | 384px |
Frequently asked questions
What is 18rem in px?
288px at the default 16 px root font size.
How is 18rem converted to px?
Multiply by 16: 18 × 16 = 288. To go back, multiply 288 by 0.0625.
Is 288px always the answer?
No. rem is relative to the root element, so 18rem is 288px only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.