frontendhack-logo
35.8rem = 572.8px

At the default root font size of 16px, 35.8rem is exactly 572.8px.

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

How to convert 35.8rem to px

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

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

35.8rem at different root font sizes

Root font sizeInputResult
10px35.8rem358px
12px35.8rem429.6px
14px35.8rem501.2px
15px35.8rem537px
16px35.8rem572.8px
18px35.8rem644.4px
20px35.8rem716px
22px35.8rem787.6px
24px35.8rem859.2px

CSS examples

font-size: 35.8rem; /* 572.8px */
padding: 35.8rem;
margin-bottom: 35.8rem;
width: 35.8rem;

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

font-size: 572.8px;
padding: 572.8px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
35.3rem564.8px
35.4rem566.4px
35.5rem568px
35.6rem569.6px
35.7rem571.2px
35.8rem572.8px
35.9rem574.4px
36rem576px
36.1rem577.6px
36.2rem579.2px
36.3rem580.8px

Frequently Asked Questions

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

572.8px equals 35.8rem at a 16px root font size (572.8 ÷ 16 = 35.8).

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