frontendhack-logo
8.625rem = 138px

At the default root font size of 16px, 8.625rem is exactly 138px.

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

How to convert 8.625rem to px

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

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

8.625rem at different root font sizes

Root font sizeInputResult
10px8.625rem86.25px
12px8.625rem103.5px
14px8.625rem120.75px
15px8.625rem129.375px
16px8.625rem138px
18px8.625rem155.25px
20px8.625rem172.5px
22px8.625rem189.75px
24px8.625rem207px

CSS examples

font-size: 8.625rem; /* 138px */
padding: 8.625rem;
margin-bottom: 8.625rem;
width: 8.625rem;

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

font-size: 138px;
padding: 138px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
8.4rem134.4px
8.4375rem135px
8.5rem136px
8.5625rem137px
8.6rem137.6px
8.625rem138px
8.6875rem139px
8.7rem139.2px
8.75rem140px
8.8rem140.8px
8.8125rem141px

Frequently Asked Questions

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

138px equals 8.625rem at a 16px root font size (138 ÷ 16 = 8.625).

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