frontendhack-logo
477px = 29.8125rem

At the default root font size of 16px, 477px is exactly 29.8125rem.

Calculation based on a root font-size of 16 pixels.

How to convert 477px to rem

To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 477px that is 477 ÷ 16 = 29.8125rem.

477px is a very large size, typically used for hero headings, containers and big layout dimensions.

477px at different root font sizes

Root font sizeInputResult
10px477px47.7rem
12px477px39.75rem
14px477px34.0714rem
15px477px31.8rem
16px477px29.8125rem
18px477px26.5rem
20px477px23.85rem
22px477px21.6818rem
24px477px19.875rem

CSS examples

font-size: 29.8125rem; /* 477px */
padding: 29.8125rem;
margin-bottom: 29.8125rem;
width: 29.8125rem;

The same values in pixels, if you need a fixed size:

font-size: 477px;
padding: 477px;

Tailwind CSS equivalent

29.8125rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[29.8125rem] or text-[29.8125rem].

Nearby values

PixelsREM
477px29.8125rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

477px equals 29.8125rem when the root font size is the browser default of 16px. The calculation is 477 ÷ 16 = 29.8125.

29.8125rem equals 477px at a 16px root font size (29.8125 × 16 = 477).

Yes. If the root font size is 18px, 477px equals 26.5rem, and at 20px it equals 23.85rem. 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.