At the default root font size of 16px, 33px is exactly 2.0625rem.
Calculation based on a root font-size of 16 pixels.
How to convert 33px to rem
To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 33px that is 33 ÷ 16 = 2.0625rem.
33px is a large size, common for headings, section padding and generous layout gaps.
33px at different root font sizes
| Root font size | Input | Result |
|---|---|---|
| 10px | 33px | 3.3rem |
| 12px | 33px | 2.75rem |
| 14px | 33px | 2.3571rem |
| 15px | 33px | 2.2rem |
| 16px | 33px | 2.0625rem |
| 18px | 33px | 1.8333rem |
| 20px | 33px | 1.65rem |
| 22px | 33px | 1.5rem |
| 24px | 33px | 1.375rem |
CSS examples
font-size: 2.0625rem; /* 33px */
padding: 2.0625rem;
margin-bottom: 2.0625rem;
width: 2.0625rem;The same values in pixels, if you need a fixed size:
font-size: 33px;
padding: 33px;Tailwind CSS equivalent
2.0625rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[2.0625rem] or text-[2.0625rem].
Nearby values
Frequently Asked Questions
33px equals 2.0625rem when the root font size is the browser default of 16px. The calculation is 33 ÷ 16 = 2.0625.
2.0625rem equals 33px at a 16px root font size (2.0625 × 16 = 33).
Yes. If the root font size is 18px, 33px equals 1.8333rem, and at 20px it equals 1.65rem. 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.
