16px to rem
16px = 1rem
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:
16px × 0.0625 = 1rem
Reversing it, 1rem × 16 returns 16px.
16px 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 | 16px equals |
|---|---|
| 14 px | 1.1429rem |
| 16 px (default) | 1rem |
| 18 px | 0.888889rem |
| 20 px | 0.8rem |
| 24 px | 0.666667rem |
Nearby values
| px | rem |
|---|---|
| 8px | 0.5rem |
| 10px | 0.625rem |
| 12px | 0.75rem |
| 14px | 0.875rem |
| 16px | 1rem |
| 18px | 1.125rem |
| 20px | 1.25rem |
| 24px | 1.5rem |
Frequently asked questions
What is 16px in rem?
1rem at the default 16 px root font size.
How is 16px converted to rem?
Multiply by 0.0625: 16 × 0.0625 = 1. To go back, multiply 1 by 16.
Is 1rem always the answer?
No. rem is relative to the root element, so 16px is 1rem only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.