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