frontendhack-logo
32.4rem = 518.4px

At the default root font size of 16px, 32.4rem is exactly 518.4px.

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

How to convert 32.4rem to px

To convert rem to pixels, multiply the rem value by the root font size: px = rem × 16. For 32.4rem that is 32.4 × 16 = 518.4px.

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

32.4rem at different root font sizes

Root font sizeInputResult
10px32.4rem324px
12px32.4rem388.8px
14px32.4rem453.6px
15px32.4rem486px
16px32.4rem518.4px
18px32.4rem583.2px
20px32.4rem648px
22px32.4rem712.8px
24px32.4rem777.6px

CSS examples

font-size: 32.4rem; /* 518.4px */
padding: 32.4rem;
margin-bottom: 32.4rem;
width: 32.4rem;

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

font-size: 518.4px;
padding: 518.4px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
31.9rem510.4px
32rem512px
32.1rem513.6px
32.2rem515.2px
32.3rem516.8px
32.4rem518.4px
32.5rem520px
32.6rem521.6px
32.7rem523.2px
32.8rem524.8px
32.9rem526.4px

Frequently Asked Questions

32.4rem equals 518.4px when the root font size is the browser default of 16px. The calculation is 32.4 × 16 = 518.4.

518.4px equals 32.4rem at a 16px root font size (518.4 ÷ 16 = 32.4).

Yes. rem is relative to the root font size, so 32.4rem becomes 583.2px at an 18px root and 648px 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.