frontendhack-logo
16.7rem = 267.2px

At the default root font size of 16px, 16.7rem is exactly 267.2px.

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

How to convert 16.7rem to px

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

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

16.7rem at different root font sizes

Root font sizeInputResult
10px16.7rem167px
12px16.7rem200.4px
14px16.7rem233.8px
15px16.7rem250.5px
16px16.7rem267.2px
18px16.7rem300.6px
20px16.7rem334px
22px16.7rem367.4px
24px16.7rem400.8px

CSS examples

font-size: 16.7rem; /* 267.2px */
padding: 16.7rem;
margin-bottom: 16.7rem;
width: 16.7rem;

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

font-size: 267.2px;
padding: 267.2px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
16.2rem259.2px
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

Frequently Asked Questions

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

267.2px equals 16.7rem at a 16px root font size (267.2 ÷ 16 = 16.7).

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