frontendhack-logo
222px = 13.875rem

At the default root font size of 16px, 222px is exactly 13.875rem.

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

How to convert 222px to rem

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

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

222px at different root font sizes

Root font sizeInputResult
10px222px22.2rem
12px222px18.5rem
14px222px15.8571rem
15px222px14.8rem
16px222px13.875rem
18px222px12.3333rem
20px222px11.1rem
22px222px10.0909rem
24px222px9.25rem

CSS examples

font-size: 13.875rem; /* 222px */
padding: 13.875rem;
margin-bottom: 13.875rem;
width: 13.875rem;

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

font-size: 222px;
padding: 222px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
222px13.875rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

13.875rem equals 222px at a 16px root font size (13.875 × 16 = 222).

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