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