frontendhack-logo
167px = 10.4375rem

At the default root font size of 16px, 167px is exactly 10.4375rem.

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

How to convert 167px to rem

To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 167px that is 167 ÷ 16 = 10.4375rem.

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

167px at different root font sizes

Root font sizeInputResult
10px167px16.7rem
12px167px13.9167rem
14px167px11.9286rem
15px167px11.1333rem
16px167px10.4375rem
18px167px9.2778rem
20px167px8.35rem
22px167px7.5909rem
24px167px6.9583rem

CSS examples

font-size: 10.4375rem; /* 167px */
padding: 10.4375rem;
margin-bottom: 10.4375rem;
width: 10.4375rem;

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

font-size: 167px;
padding: 167px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
167px10.4375rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

167px equals 10.4375rem when the root font size is the browser default of 16px. The calculation is 167 ÷ 16 = 10.4375.

10.4375rem equals 167px at a 16px root font size (10.4375 × 16 = 167).

Yes. If the root font size is 18px, 167px equals 9.2778rem, and at 20px it equals 8.35rem. The pixel value itself never changes, only the rem equivalent. 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.