frontendhack-logo
5.7rem = 91.2px

At the default root font size of 16px, 5.7rem is exactly 91.2px.

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

How to convert 5.7rem to px

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

91.2px is a large size, common for headings, section padding and generous layout gaps.

5.7rem at different root font sizes

Root font sizeInputResult
10px5.7rem57px
12px5.7rem68.4px
14px5.7rem79.8px
15px5.7rem85.5px
16px5.7rem91.2px
18px5.7rem102.6px
20px5.7rem114px
22px5.7rem125.4px
24px5.7rem136.8px

CSS examples

font-size: 5.7rem; /* 91.2px */
padding: 5.7rem;
margin-bottom: 5.7rem;
width: 5.7rem;

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

font-size: 91.2px;
padding: 91.2px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
5.5rem88px
5.5625rem89px
5.6rem89.6px
5.625rem90px
5.6875rem91px
5.7rem91.2px
5.75rem92px
5.8rem92.8px
5.8125rem93px
5.875rem94px
5.9rem94.4px

Frequently Asked Questions

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

91.2px equals 5.7rem at a 16px root font size (91.2 ÷ 16 = 5.7).

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