frontendhack-logo
389px = 24.3125rem

At the default root font size of 16px, 389px is exactly 24.3125rem.

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

How to convert 389px to rem

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

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

389px at different root font sizes

Root font sizeInputResult
10px389px38.9rem
12px389px32.4167rem
14px389px27.7857rem
15px389px25.9333rem
16px389px24.3125rem
18px389px21.6111rem
20px389px19.45rem
22px389px17.6818rem
24px389px16.2083rem

CSS examples

font-size: 24.3125rem; /* 389px */
padding: 24.3125rem;
margin-bottom: 24.3125rem;
width: 24.3125rem;

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

font-size: 389px;
padding: 389px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
389px24.3125rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

24.3125rem equals 389px at a 16px root font size (24.3125 × 16 = 389).

Yes. If the root font size is 18px, 389px equals 21.6111rem, and at 20px it equals 19.45rem. 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.