frontendhack-logo
8.4375rem = 135px

At the default root font size of 16px, 8.4375rem is exactly 135px.

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

How to convert 8.4375rem to px

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

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

8.4375rem at different root font sizes

Root font sizeInputResult
10px8.4375rem84.375px
12px8.4375rem101.25px
14px8.4375rem118.125px
15px8.4375rem126.5625px
16px8.4375rem135px
18px8.4375rem151.875px
20px8.4375rem168.75px
22px8.4375rem185.625px
24px8.4375rem202.5px

CSS examples

font-size: 8.4375rem; /* 135px */
padding: 8.4375rem;
margin-bottom: 8.4375rem;
width: 8.4375rem;

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

font-size: 135px;
padding: 135px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
8.25rem132px
8.3rem132.8px
8.3125rem133px
8.375rem134px
8.4rem134.4px
8.4375rem135px
8.5rem136px
8.5625rem137px
8.6rem137.6px
8.625rem138px
8.6875rem139px

Frequently Asked Questions

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

135px equals 8.4375rem at a 16px root font size (135 ÷ 16 = 8.4375).

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