frontendhack-logo
16.8rem = 268.8px

At the default root font size of 16px, 16.8rem is exactly 268.8px.

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

How to convert 16.8rem to px

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

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

16.8rem at different root font sizes

Root font sizeInputResult
10px16.8rem168px
12px16.8rem201.6px
14px16.8rem235.2px
15px16.8rem252px
16px16.8rem268.8px
18px16.8rem302.4px
20px16.8rem336px
22px16.8rem369.6px
24px16.8rem403.2px

CSS examples

font-size: 16.8rem; /* 268.8px */
padding: 16.8rem;
margin-bottom: 16.8rem;
width: 16.8rem;

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

font-size: 268.8px;
padding: 268.8px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
16.3rem260.8px
16.4rem262.4px
16.5rem264px
16.6rem265.6px
16.7rem267.2px
16.8rem268.8px
16.9rem270.4px
17rem272px
17.1rem273.6px
17.2rem275.2px
17.3rem276.8px

Frequently Asked Questions

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

268.8px equals 16.8rem at a 16px root font size (268.8 ÷ 16 = 16.8).

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