Loading...
2rem converts to 32 pixels when the root font-size is 16px. Multiply the rem value by 16 to get pixels: 2 × 16 = 32.
Formula
2rem × 16 = 32px
/* 2rem = 32px */
.element {
font-size: 2rem; /* 32px at 16px base */
}A value of 2rem (32px) is commonly used for subheadings and section titles. 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 2rem = 32px 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.5 | 40 |
| 3 | 48 |
| 4 | 64 |
| 5 | 80 |
Convert any value instantly with our free REM to PX Converter.
Open REM to PX Converter →