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 size | Input | Result |
|---|---|---|
| 10px | 224px | 22.4rem |
| 12px | 224px | 18.6667rem |
| 14px | 224px | 16rem |
| 15px | 224px | 14.9333rem |
| 16px | 224px | 14rem |
| 18px | 224px | 12.4444rem |
| 20px | 224px | 11.2rem |
| 22px | 224px | 10.1818rem |
| 24px | 224px | 9.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
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.
