px
rem
0
px
Calculation method: rem × rootFontSize = px
REM to Pixel Conversion Instructions
REM is a unit relative to the root element font size. By entering the REM value and the root element font size, you can calculate the corresponding pixel value.
Common Conversion Values (Based on 16px Root Font):
- 1rem = 16px
- 2rem = 32px
- 0.5rem = 8px
Usage Instructions:
- Set the root element font size (default 16px)
- Enter the REM value
- Get the corresponding pixel value
Usage Tips:
- Suitable for responsive design
- Scales with the root font size
- Accurate to three decimal places