frontendhack-logo
17.9rem = 286.4px

At the default root font size of 16px, 17.9rem is exactly 286.4px.

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

How to convert 17.9rem to px

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

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

17.9rem at different root font sizes

Root font sizeInputResult
10px17.9rem179px
12px17.9rem214.8px
14px17.9rem250.6px
15px17.9rem268.5px
16px17.9rem286.4px
18px17.9rem322.2px
20px17.9rem358px
22px17.9rem393.8px
24px17.9rem429.6px

CSS examples

font-size: 17.9rem; /* 286.4px */
padding: 17.9rem;
margin-bottom: 17.9rem;
width: 17.9rem;

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

font-size: 286.4px;
padding: 286.4px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
17.4rem278.4px
17.5rem280px
17.6rem281.6px
17.7rem283.2px
17.8rem284.8px
17.9rem286.4px
18rem288px
18.1rem289.6px
18.2rem291.2px
18.3rem292.8px
18.4rem294.4px

Frequently Asked Questions

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

286.4px equals 17.9rem at a 16px root font size (286.4 ÷ 16 = 17.9).

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