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