REM to PX Converter
Instantly convert relative REM units to absolute pixel values
REM to PX Converter
Why Do We Convert REM to Pixels?
While relative units like REM are the golden standard for building accessible layouts that adapt contextually to user browser preferences, developers and designers often require absolute Pixel (PX) measurements during the final visual checking stages of design implementation. Converting REM elements to pixels helps audit layouts against pixel-perfect mockups, define exact container constraints, or position non-scalable raster images with high accuracy.
The Mathematical Formula
To find the absolute pixel size from a relative REM value, multiply the REM input by your baseline root element's font size (which is 16px in all modern browsers by default):
Pixels (PX) = REM × Root Font Size (default 16px)
For example, if a layout has a text section defined as 1.75rem and the root font size is 16px:
Common REM to PX Reference Table (Base 16px)
Use this reference grid for common REM units converted to standard pixels based on a default root font size of 16px:
| Relative (REM) | Root Size | Result in Pixels (PX) |
|---|---|---|
| 0.5 rem | 16 px | 8 px |
| 0.75 rem | 16 px | 12 px |
| 0.875 rem | 16 px | 14 px |
| 1.0 rem | 16 px | 16 px |
| 1.25 rem | 16 px | 20 px |
| 1.5 rem | 16 px | 24 px |
| 2.0 rem | 16 px | 32 px |
| 3.0 rem | 16 px | 48 px |
| 4.0 rem | 16 px | 64 px |
Predictable REM Sizing vs EM Sizing
Unlike the direct relative nature of EM (which scales relative to parent elements and can compound nested scales exponentially), REM remains strictly bound to the root <html> element. This ensures that a 1.5rem definition calculates identically, whether it is placed in the body background container or nested inside three layers of deep cards. This complete layout predictability is why modern responsive design patterns strongly favor REM over EM for most margin, grid, and header definitions.