frontendhack-logo
17.4rem = 278.4px

At the default root font size of 16px, 17.4rem is exactly 278.4px.

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

How to convert 17.4rem to px

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

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

17.4rem at different root font sizes

Root font sizeInputResult
10px17.4rem174px
12px17.4rem208.8px
14px17.4rem243.6px
15px17.4rem261px
16px17.4rem278.4px
18px17.4rem313.2px
20px17.4rem348px
22px17.4rem382.8px
24px17.4rem417.6px

CSS examples

font-size: 17.4rem; /* 278.4px */
padding: 17.4rem;
margin-bottom: 17.4rem;
width: 17.4rem;

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

font-size: 278.4px;
padding: 278.4px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
16.9rem270.4px
17rem272px
17.1rem273.6px
17.2rem275.2px
17.3rem276.8px
17.4rem278.4px
17.5rem280px
17.6rem281.6px
17.7rem283.2px
17.8rem284.8px
17.9rem286.4px

Frequently Asked Questions

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

278.4px equals 17.4rem at a 16px root font size (278.4 ÷ 16 = 17.4).

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