36px to rem
36px = 2.25rem
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:
36px × 0.0625 = 2.25rem
Reversing it, 2.25rem × 16 returns 36px.
36px 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 | 36px equals |
|---|---|
| 14 px | 2.5714rem |
| 16 px (default) | 2.25rem |
| 18 px | 2rem |
| 20 px | 1.8rem |
| 24 px | 1.5rem |
Nearby values
| px | rem |
|---|---|
| 18px | 1.125rem |
| 20px | 1.25rem |
| 24px | 1.5rem |
| 28px | 1.75rem |
| 32px | 2rem |
| 36px | 2.25rem |
| 40px | 2.5rem |
| 48px | 3rem |
Frequently asked questions
What is 36px in rem?
2.25rem at the default 16 px root font size.
How is 36px converted to rem?
Multiply by 0.0625: 36 × 0.0625 = 2.25. To go back, multiply 2.25 by 16.
Is 2.25rem always the answer?
No. rem is relative to the root element, so 36px is 2.25rem only while that is 16 px. The table above gives the value at the sizes you are most likely to meet.