frontendhack-logo
4.8125rem = 77px

At the default root font size of 16px, 4.8125rem is exactly 77px.

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

How to convert 4.8125rem to px

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

77px is a large size, common for headings, section padding and generous layout gaps.

4.8125rem at different root font sizes

Root font sizeInputResult
10px4.8125rem48.125px
12px4.8125rem57.75px
14px4.8125rem67.375px
15px4.8125rem72.1875px
16px4.8125rem77px
18px4.8125rem86.625px
20px4.8125rem96.25px
22px4.8125rem105.875px
24px4.8125rem115.5px

CSS examples

font-size: 4.8125rem; /* 77px */
padding: 4.8125rem;
margin-bottom: 4.8125rem;
width: 4.8125rem;

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

font-size: 77px;
padding: 77px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
4.625rem74px
4.6875rem75px
4.7rem75.2px
4.75rem76px
4.8rem76.8px
4.8125rem77px
4.875rem78px
4.9rem78.4px
4.9375rem79px
5rem80px
5.0625rem81px

Frequently Asked Questions

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

77px equals 4.8125rem at a 16px root font size (77 ÷ 16 = 4.8125).

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