frontendhack-logo
72px = 4.5rem

At the default root font size of 16px, 72px is exactly 4.5rem.

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

How to convert 72px to rem

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

72px is a large size, common for headings, section padding and generous layout gaps.

72px at different root font sizes

Root font sizeInputResult
10px72px7.2rem
12px72px6rem
14px72px5.1429rem
15px72px4.8rem
16px72px4.5rem
18px72px4rem
20px72px3.6rem
22px72px3.2727rem
24px72px3rem

CSS examples

font-size: 4.5rem; /* 72px */
padding: 4.5rem;
margin-bottom: 4.5rem;
width: 4.5rem;

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

font-size: 72px;
padding: 72px;

Tailwind CSS equivalent

As a font size, 4.5rem is the default text-7xl class.

Nearby values

PixelsREM
72px4.5rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

4.5rem equals 72px at a 16px root font size (4.5 × 16 = 72).

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