frontendhack-logo
17.1rem = 273.6px

At the default root font size of 16px, 17.1rem is exactly 273.6px.

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

How to convert 17.1rem to px

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

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

17.1rem at different root font sizes

Root font sizeInputResult
10px17.1rem171px
12px17.1rem205.2px
14px17.1rem239.4px
15px17.1rem256.5px
16px17.1rem273.6px
18px17.1rem307.8px
20px17.1rem342px
22px17.1rem376.2px
24px17.1rem410.4px

CSS examples

font-size: 17.1rem; /* 273.6px */
padding: 17.1rem;
margin-bottom: 17.1rem;
width: 17.1rem;

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

font-size: 273.6px;
padding: 273.6px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
16.6rem265.6px
16.7rem267.2px
16.8rem268.8px
16.9rem270.4px
17rem272px
17.1rem273.6px
17.2rem275.2px
17.3rem276.8px
17.4rem278.4px
17.5rem280px
17.6rem281.6px

Frequently Asked Questions

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

273.6px equals 17.1rem at a 16px root font size (273.6 ÷ 16 = 17.1).

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