frontendhack-logo
379px = 23.6875rem

At the default root font size of 16px, 379px is exactly 23.6875rem.

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

How to convert 379px to rem

To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 379px that is 379 ÷ 16 = 23.6875rem.

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

379px at different root font sizes

Root font sizeInputResult
10px379px37.9rem
12px379px31.5833rem
14px379px27.0714rem
15px379px25.2667rem
16px379px23.6875rem
18px379px21.0556rem
20px379px18.95rem
22px379px17.2273rem
24px379px15.7917rem

CSS examples

font-size: 23.6875rem; /* 379px */
padding: 23.6875rem;
margin-bottom: 23.6875rem;
width: 23.6875rem;

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

font-size: 379px;
padding: 379px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
379px23.6875rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

379px equals 23.6875rem when the root font size is the browser default of 16px. The calculation is 379 ÷ 16 = 23.6875.

23.6875rem equals 379px at a 16px root font size (23.6875 × 16 = 379).

Yes. If the root font size is 18px, 379px equals 21.0556rem, and at 20px it equals 18.95rem. The pixel value itself never changes, only the rem equivalent. 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.