frontendhack-logo
8.4rem = 134.4px

At the default root font size of 16px, 8.4rem is exactly 134.4px.

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

How to convert 8.4rem to px

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

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

8.4rem at different root font sizes

Root font sizeInputResult
10px8.4rem84px
12px8.4rem100.8px
14px8.4rem117.6px
15px8.4rem126px
16px8.4rem134.4px
18px8.4rem151.2px
20px8.4rem168px
22px8.4rem184.8px
24px8.4rem201.6px

CSS examples

font-size: 8.4rem; /* 134.4px */
padding: 8.4rem;
margin-bottom: 8.4rem;
width: 8.4rem;

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

font-size: 134.4px;
padding: 134.4px;

Tailwind CSS equivalent

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

Nearby values

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

Frequently Asked Questions

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

134.4px equals 8.4rem at a 16px root font size (134.4 ÷ 16 = 8.4).

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