frontendhack-logo
15.4rem = 246.4px

At the default root font size of 16px, 15.4rem is exactly 246.4px.

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

How to convert 15.4rem to px

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

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

15.4rem at different root font sizes

Root font sizeInputResult
10px15.4rem154px
12px15.4rem184.8px
14px15.4rem215.6px
15px15.4rem231px
16px15.4rem246.4px
18px15.4rem277.2px
20px15.4rem308px
22px15.4rem338.8px
24px15.4rem369.6px

CSS examples

font-size: 15.4rem; /* 246.4px */
padding: 15.4rem;
margin-bottom: 15.4rem;
width: 15.4rem;

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

font-size: 246.4px;
padding: 246.4px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
14.9rem238.4px
15rem240px
15.1rem241.6px
15.2rem243.2px
15.3rem244.8px
15.4rem246.4px
15.5rem248px
15.6rem249.6px
15.7rem251.2px
15.8rem252.8px
15.9rem254.4px

Frequently Asked Questions

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

246.4px equals 15.4rem at a 16px root font size (246.4 ÷ 16 = 15.4).

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