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