Loading...
5rem converts to 80 pixels when the root font-size is 16px. Multiply the rem value by 16 to get pixels: 5 × 16 = 80.
Formula
5rem × 16 = 80px
/* 5rem = 80px */
.element {
width: 5rem; /* 80px at 16px base */
}A value of 5rem (80px) 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 5rem = 80px 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 |
Convert any value instantly with our free REM to PX Converter.
Open REM to PX Converter →