frontendhack-logo
13.5rem = 216px

At the default root font size of 16px, 13.5rem is exactly 216px.

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

How to convert 13.5rem to px

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

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

13.5rem at different root font sizes

Root font sizeInputResult
10px13.5rem135px
12px13.5rem162px
14px13.5rem189px
15px13.5rem202.5px
16px13.5rem216px
18px13.5rem243px
20px13.5rem270px
22px13.5rem297px
24px13.5rem324px

CSS examples

font-size: 13.5rem; /* 216px */
padding: 13.5rem;
margin-bottom: 13.5rem;
width: 13.5rem;

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

font-size: 216px;
padding: 216px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
13rem208px
13.1rem209.6px
13.2rem211.2px
13.3rem212.8px
13.4rem214.4px
13.5rem216px
13.6rem217.6px
13.7rem219.2px
13.8rem220.8px
13.9rem222.4px
14rem224px

Frequently Asked Questions

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

216px equals 13.5rem at a 16px root font size (216 ÷ 16 = 13.5).

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