frontendhack-logo
4.8rem = 76.8px

At the default root font size of 16px, 4.8rem is exactly 76.8px.

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

How to convert 4.8rem to px

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

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

4.8rem at different root font sizes

Root font sizeInputResult
10px4.8rem48px
12px4.8rem57.6px
14px4.8rem67.2px
15px4.8rem72px
16px4.8rem76.8px
18px4.8rem86.4px
20px4.8rem96px
22px4.8rem105.6px
24px4.8rem115.2px

CSS examples

font-size: 4.8rem; /* 76.8px */
padding: 4.8rem;
margin-bottom: 4.8rem;
width: 4.8rem;

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

font-size: 76.8px;
padding: 76.8px;

Tailwind CSS equivalent

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

Nearby values

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

Frequently Asked Questions

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

76.8px equals 4.8rem at a 16px root font size (76.8 ÷ 16 = 4.8).

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