frontendhack-logo
288px = 18rem

At the default root font size of 16px, 288px is exactly 18rem.

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

How to convert 288px to rem

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

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

288px at different root font sizes

Root font sizeInputResult
10px288px28.8rem
12px288px24rem
14px288px20.5714rem
15px288px19.2rem
16px288px18rem
18px288px16rem
20px288px14.4rem
22px288px13.0909rem
24px288px12rem

CSS examples

font-size: 18rem; /* 288px */
padding: 18rem;
margin-bottom: 18rem;
width: 18rem;

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

font-size: 288px;
padding: 288px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
288px18rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

18rem equals 288px at a 16px root font size (18 × 16 = 288).

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