CONVERTER TOOL
PX to REM Converter
Convert CSS pixels to rem using a configurable root font size. Copy the CSS value.
PX to REM Converter
FREE ONLINE TOOL1.5 rem
1.5remrem = px ÷ root font size. rem refers to the html element, not the parent element. The default 16 px is an assumption; browser settings and CSS can change it. Negative values are supported.
rem = px ÷ Root font size (CSS px)
STEP BY STEP
How to use px to rem converter
- Preview the output and copy the CSS value.
- Review the reference settings and limits.
WHEN IT HELPS
Common uses
- Prepare CSS values for a web design.
IN PRACTICE
Example
24 px ÷ 16 px root font size = 1.5 rem. With a 20 px root, the same 24 px equals 1.2 rem.
GOOD TO KNOW
What assumptions should I check?
rem = px ÷ root font size. rem refers to the html element, not the parent element. The default 16 px is an assumption; browser settings and CSS can change it. Negative values are supported.