At the default root font size of 16px, 36rem is exactly 576px.
Calculation based on a root font-size of 16 pixels.
How to convert 36rem to px
To convert rem to pixels, multiply the rem value by the root font size: px = rem × 16. For 36rem that is 36 × 16 = 576px.
576px is a very large size, typically used for hero headings, containers and big layout dimensions.
36rem at different root font sizes
| Root font size | Input | Result |
|---|---|---|
| 10px | 36rem | 360px |
| 12px | 36rem | 432px |
| 14px | 36rem | 504px |
| 15px | 36rem | 540px |
| 16px | 36rem | 576px |
| 18px | 36rem | 648px |
| 20px | 36rem | 720px |
| 22px | 36rem | 792px |
| 24px | 36rem | 864px |
CSS examples
font-size: 36rem; /* 576px */
padding: 36rem;
margin-bottom: 36rem;
width: 36rem;The same values in pixels, if you need a fixed size:
font-size: 576px;
padding: 576px;Tailwind CSS equivalent
36rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[36rem] or text-[36rem].
Nearby values
Frequently Asked Questions
36rem equals 576px when the root font size is the browser default of 16px. The calculation is 36 × 16 = 576.
576px equals 36rem at a 16px root font size (576 ÷ 16 = 36).
Yes. rem is relative to the root font size, so 36rem becomes 648px at an 18px root and 720px at a 20px root. Use the base font size field above to try any value.
Prefer rem for font sizes, spacing and layout so they respect the user's browser font settings and scale for accessibility. Use px for details that should never scale, such as 1px borders or fixed icon sizes.
