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 size | Input | Result |
|---|---|---|
| 10px | 72px | 7.2rem |
| 12px | 72px | 6rem |
| 14px | 72px | 5.1429rem |
| 15px | 72px | 4.8rem |
| 16px | 72px | 4.5rem |
| 18px | 72px | 4rem |
| 20px | 72px | 3.6rem |
| 22px | 72px | 3.2727rem |
| 24px | 72px | 3rem |
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
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.
