frontendhack-logo
50rem = 800px

At the default root font size of 16px, 50rem is exactly 800px.

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

How to convert 50rem to px

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

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

50rem at different root font sizes

Root font sizeInputResult
10px50rem500px
12px50rem600px
14px50rem700px
15px50rem750px
16px50rem800px
18px50rem900px
20px50rem1000px
22px50rem1100px
24px50rem1200px

CSS examples

font-size: 50rem; /* 800px */
padding: 50rem;
margin-bottom: 50rem;
width: 50rem;

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

font-size: 800px;
padding: 800px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
50rem800px
0.1rem1.6px
0.125rem2px
0.1875rem3px
0.2rem3.2px
0.25rem4px

Frequently Asked Questions

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

800px equals 50rem at a 16px root font size (800 ÷ 16 = 50).

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