frontendhack-logo
17.7rem = 283.2px

At the default root font size of 16px, 17.7rem is exactly 283.2px.

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

How to convert 17.7rem to px

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

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

17.7rem at different root font sizes

Root font sizeInputResult
10px17.7rem177px
12px17.7rem212.4px
14px17.7rem247.8px
15px17.7rem265.5px
16px17.7rem283.2px
18px17.7rem318.6px
20px17.7rem354px
22px17.7rem389.4px
24px17.7rem424.8px

CSS examples

font-size: 17.7rem; /* 283.2px */
padding: 17.7rem;
margin-bottom: 17.7rem;
width: 17.7rem;

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

font-size: 283.2px;
padding: 283.2px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
17.2rem275.2px
17.3rem276.8px
17.4rem278.4px
17.5rem280px
17.6rem281.6px
17.7rem283.2px
17.8rem284.8px
17.9rem286.4px
18rem288px
18.1rem289.6px
18.2rem291.2px

Frequently Asked Questions

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

283.2px equals 17.7rem at a 16px root font size (283.2 ÷ 16 = 17.7).

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