frontendhack-logo
8.0625rem = 129px

At the default root font size of 16px, 8.0625rem is exactly 129px.

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

How to convert 8.0625rem to px

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

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

8.0625rem at different root font sizes

Root font sizeInputResult
10px8.0625rem80.625px
12px8.0625rem96.75px
14px8.0625rem112.875px
15px8.0625rem120.9375px
16px8.0625rem129px
18px8.0625rem145.125px
20px8.0625rem161.25px
22px8.0625rem177.375px
24px8.0625rem193.5px

CSS examples

font-size: 8.0625rem; /* 129px */
padding: 8.0625rem;
margin-bottom: 8.0625rem;
width: 8.0625rem;

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

font-size: 129px;
padding: 129px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
7.8125rem125px
7.875rem126px
7.9rem126.4px
7.9375rem127px
8rem128px
8.0625rem129px
8.1rem129.6px
8.125rem130px
8.1875rem131px
8.2rem131.2px
8.25rem132px

Frequently Asked Questions

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

129px equals 8.0625rem at a 16px root font size (129 ÷ 16 = 8.0625).

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