frontendhack-logo
347px = 21.6875rem

At the default root font size of 16px, 347px is exactly 21.6875rem.

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

How to convert 347px to rem

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

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

347px at different root font sizes

Root font sizeInputResult
10px347px34.7rem
12px347px28.9167rem
14px347px24.7857rem
15px347px23.1333rem
16px347px21.6875rem
18px347px19.2778rem
20px347px17.35rem
22px347px15.7727rem
24px347px14.4583rem

CSS examples

font-size: 21.6875rem; /* 347px */
padding: 21.6875rem;
margin-bottom: 21.6875rem;
width: 21.6875rem;

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

font-size: 347px;
padding: 347px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
347px21.6875rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

21.6875rem equals 347px at a 16px root font size (21.6875 × 16 = 347).

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