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