At the default root font size of 16px, 179px is exactly 11.1875rem.
Calculation based on a root font-size of 16 pixels.
How to convert 179px to rem
To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 179px that is 179 ÷ 16 = 11.1875rem.
179px is a very large size, typically used for hero headings, containers and big layout dimensions.
179px at different root font sizes
| Root font size | Input | Result |
|---|---|---|
| 10px | 179px | 17.9rem |
| 12px | 179px | 14.9167rem |
| 14px | 179px | 12.7857rem |
| 15px | 179px | 11.9333rem |
| 16px | 179px | 11.1875rem |
| 18px | 179px | 9.9444rem |
| 20px | 179px | 8.95rem |
| 22px | 179px | 8.1364rem |
| 24px | 179px | 7.4583rem |
CSS examples
font-size: 11.1875rem; /* 179px */
padding: 11.1875rem;
margin-bottom: 11.1875rem;
width: 11.1875rem;The same values in pixels, if you need a fixed size:
font-size: 179px;
padding: 179px;Tailwind CSS equivalent
11.1875rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[11.1875rem] or text-[11.1875rem].
Nearby values
Frequently Asked Questions
179px equals 11.1875rem when the root font size is the browser default of 16px. The calculation is 179 ÷ 16 = 11.1875.
11.1875rem equals 179px at a 16px root font size (11.1875 × 16 = 179).
Yes. If the root font size is 18px, 179px equals 9.9444rem, and at 20px it equals 8.95rem. 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.
