At the default root font size of 16px, 47rem is exactly 752px.
Calculation based on a root font-size of 16 pixels.
How to convert 47rem to px
To convert rem to pixels, multiply the rem value by the root font size: px = rem × 16. For 47rem that is 47 × 16 = 752px.
752px is a very large size, typically used for hero headings, containers and big layout dimensions.
47rem at different root font sizes
| Root font size | Input | Result |
|---|---|---|
| 10px | 47rem | 470px |
| 12px | 47rem | 564px |
| 14px | 47rem | 658px |
| 15px | 47rem | 705px |
| 16px | 47rem | 752px |
| 18px | 47rem | 846px |
| 20px | 47rem | 940px |
| 22px | 47rem | 1034px |
| 24px | 47rem | 1128px |
CSS examples
font-size: 47rem; /* 752px */
padding: 47rem;
margin-bottom: 47rem;
width: 47rem;The same values in pixels, if you need a fixed size:
font-size: 752px;
padding: 752px;Tailwind CSS equivalent
47rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[47rem] or text-[47rem].
Nearby values
Frequently Asked Questions
47rem equals 752px when the root font size is the browser default of 16px. The calculation is 47 × 16 = 752.
752px equals 47rem at a 16px root font size (752 ÷ 16 = 47).
Yes. rem is relative to the root font size, so 47rem becomes 846px at an 18px root and 940px 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.
