At the default root font size of 16px, 9.0625rem is exactly 145px.
Calculation based on a root font-size of 16 pixels.
How to convert 9.0625rem to px
To convert rem to pixels, multiply the rem value by the root font size: px = rem × 16. For 9.0625rem that is 9.0625 × 16 = 145px.
145px is a very large size, typically used for hero headings, containers and big layout dimensions.
9.0625rem at different root font sizes
| Root font size | Input | Result |
|---|---|---|
| 10px | 9.0625rem | 90.625px |
| 12px | 9.0625rem | 108.75px |
| 14px | 9.0625rem | 126.875px |
| 15px | 9.0625rem | 135.9375px |
| 16px | 9.0625rem | 145px |
| 18px | 9.0625rem | 163.125px |
| 20px | 9.0625rem | 181.25px |
| 22px | 9.0625rem | 199.375px |
| 24px | 9.0625rem | 217.5px |
CSS examples
font-size: 9.0625rem; /* 145px */
padding: 9.0625rem;
margin-bottom: 9.0625rem;
width: 9.0625rem;The same values in pixels, if you need a fixed size:
font-size: 145px;
padding: 145px;Tailwind CSS equivalent
9.0625rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[9.0625rem] or text-[9.0625rem].
Nearby values
Frequently Asked Questions
9.0625rem equals 145px when the root font size is the browser default of 16px. The calculation is 9.0625 × 16 = 145.
145px equals 9.0625rem at a 16px root font size (145 ÷ 16 = 9.0625).
Yes. rem is relative to the root font size, so 9.0625rem becomes 163.125px at an 18px root and 181.25px at a 20px root. 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.
