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