frontendhack-logo
225px = 14.0625rem

At the default root font size of 16px, 225px is exactly 14.0625rem.

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

How to convert 225px to rem

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

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

225px at different root font sizes

Root font sizeInputResult
10px225px22.5rem
12px225px18.75rem
14px225px16.0714rem
15px225px15rem
16px225px14.0625rem
18px225px12.5rem
20px225px11.25rem
22px225px10.2273rem
24px225px9.375rem

CSS examples

font-size: 14.0625rem; /* 225px */
padding: 14.0625rem;
margin-bottom: 14.0625rem;
width: 14.0625rem;

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

font-size: 225px;
padding: 225px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
225px14.0625rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

14.0625rem equals 225px at a 16px root font size (14.0625 × 16 = 225).

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