frontendhack-logo
23.7rem = 379.2px

At the default root font size of 16px, 23.7rem is exactly 379.2px.

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

How to convert 23.7rem to px

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

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

23.7rem at different root font sizes

Root font sizeInputResult
10px23.7rem237px
12px23.7rem284.4px
14px23.7rem331.8px
15px23.7rem355.5px
16px23.7rem379.2px
18px23.7rem426.6px
20px23.7rem474px
22px23.7rem521.4px
24px23.7rem568.8px

CSS examples

font-size: 23.7rem; /* 379.2px */
padding: 23.7rem;
margin-bottom: 23.7rem;
width: 23.7rem;

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

font-size: 379.2px;
padding: 379.2px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
23.2rem371.2px
23.3rem372.8px
23.4rem374.4px
23.5rem376px
23.6rem377.6px
23.7rem379.2px
23.8rem380.8px
23.9rem382.4px
24rem384px
24.1rem385.6px
24.2rem387.2px

Frequently Asked Questions

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

379.2px equals 23.7rem at a 16px root font size (379.2 ÷ 16 = 23.7).

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