At the default root font size of 16px, 472px is exactly 29.5rem.
Calculation based on a root font-size of 16 pixels.
How to convert 472px to rem
To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 472px that is 472 ÷ 16 = 29.5rem.
472px is a very large size, typically used for hero headings, containers and big layout dimensions.
472px at different root font sizes
| Root font size | Input | Result |
|---|---|---|
| 10px | 472px | 47.2rem |
| 12px | 472px | 39.3333rem |
| 14px | 472px | 33.7143rem |
| 15px | 472px | 31.4667rem |
| 16px | 472px | 29.5rem |
| 18px | 472px | 26.2222rem |
| 20px | 472px | 23.6rem |
| 22px | 472px | 21.4545rem |
| 24px | 472px | 19.6667rem |
CSS examples
font-size: 29.5rem; /* 472px */
padding: 29.5rem;
margin-bottom: 29.5rem;
width: 29.5rem;The same values in pixels, if you need a fixed size:
font-size: 472px;
padding: 472px;Tailwind CSS equivalent
29.5rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[29.5rem] or text-[29.5rem].
Nearby values
Frequently Asked Questions
472px equals 29.5rem when the root font size is the browser default of 16px. The calculation is 472 ÷ 16 = 29.5.
29.5rem equals 472px at a 16px root font size (29.5 × 16 = 472).
Yes. If the root font size is 18px, 472px equals 26.2222rem, and at 20px it equals 23.6rem. The pixel value itself never changes, only the rem equivalent. 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.
