Loading...
20rem converts to 320 pixels when the root font-size is 16px. Multiply the rem value by 16 to get pixels: 20 × 16 = 320.
Formula
20rem × 16 = 320px
/* 20rem = 320px */
.element {
width: 20rem; /* 320px at 16px base */
}A value of 20rem (320px) is commonly used for component widths and spacing. Converting rem to px helps when you need exact pixel values for design specs, Figma mockups, or debugging layout issues.
REM (root em) units provide scalable, accessible sizing in CSS. Knowing that 20rem = 320px helps you verify your designs match mockups while keeping your code responsive.
| rem | px |
|---|---|
| 0.25 | 4 |
| 0.5 | 8 |
| 0.75 | 12 |
| 1 | 16 |
| 1.25 | 20 |
| 1.5 | 24 |
| 2 | 32 |
| 2.5 | 40 |
| 3 | 48 |
| 4 | 64 |
| 5 | 80 |
Convert any value instantly with our free REM to PX Converter.
Open REM to PX Converter →