frontendhack-logo
19rem = 304px

At the default root font size of 16px, 19rem is exactly 304px.

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

How to convert 19rem to px

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

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

19rem at different root font sizes

Root font sizeInputResult
10px19rem190px
12px19rem228px
14px19rem266px
15px19rem285px
16px19rem304px
18px19rem342px
20px19rem380px
22px19rem418px
24px19rem456px

CSS examples

font-size: 19rem; /* 304px */
padding: 19rem;
margin-bottom: 19rem;
width: 19rem;

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

font-size: 304px;
padding: 304px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
19rem304px
0.1rem1.6px
0.125rem2px
0.1875rem3px
0.2rem3.2px
0.25rem4px

Frequently Asked Questions

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

304px equals 19rem at a 16px root font size (304 ÷ 16 = 19).

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