96px to rem
96px = 6rem
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:
96px × 0.0625 = 6rem
Reversing it, 6rem × 16 returns 96px.
96px 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 | 96px equals |
|---|---|
| 14 px | 6.8571rem |
| 16 px (default) | 6rem |
| 18 px | 5.3333rem |
| 20 px | 4.8rem |
| 24 px | 4rem |
Nearby values
| px | rem |
|---|---|
| 48px | 3rem |
| 56px | 3.5rem |
| 64px | 4rem |
| 72px | 4.5rem |
| 80px | 5rem |
| 96px | 6rem |
| 128px | 8rem |
Frequently asked questions
What is 96px in rem?
6rem at the default 16 px root font size.
How is 96px converted to rem?
Multiply by 0.0625: 96 × 0.0625 = 6. To go back, multiply 6 by 16.
Is 6rem always the answer?
No. rem is relative to the root element, so 96px is 6rem only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.