frontendhack-logo
17.5rem = 280px

At the default root font size of 16px, 17.5rem is exactly 280px.

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

How to convert 17.5rem to px

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

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

17.5rem at different root font sizes

Root font sizeInputResult
10px17.5rem175px
12px17.5rem210px
14px17.5rem245px
15px17.5rem262.5px
16px17.5rem280px
18px17.5rem315px
20px17.5rem350px
22px17.5rem385px
24px17.5rem420px

CSS examples

font-size: 17.5rem; /* 280px */
padding: 17.5rem;
margin-bottom: 17.5rem;
width: 17.5rem;

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

font-size: 280px;
padding: 280px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
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
18rem288px

Frequently Asked Questions

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

280px equals 17.5rem at a 16px root font size (280 ÷ 16 = 17.5).

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