frontendhack-logo
224px = 14rem

At the default root font size of 16px, 224px is exactly 14rem.

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

How to convert 224px to rem

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

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

224px at different root font sizes

Root font sizeInputResult
10px224px22.4rem
12px224px18.6667rem
14px224px16rem
15px224px14.9333rem
16px224px14rem
18px224px12.4444rem
20px224px11.2rem
22px224px10.1818rem
24px224px9.3333rem

CSS examples

font-size: 14rem; /* 224px */
padding: 14rem;
margin-bottom: 14rem;
width: 14rem;

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

font-size: 224px;
padding: 224px;

Tailwind CSS equivalent

The default spacing scale has a step for 14rem: use classes like p-56, m-56, gap-56, w-56 and h-56.

Nearby values

PixelsREM
224px14rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

14rem equals 224px at a 16px root font size (14 × 16 = 224).

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