How to use PX to REM Converter
- Type a value in PX.
- The REM value updates instantly.
- Copy the value you need, or check the full table.
How to convert PX to REM
Enter a PX value above. The tool converts it using a base font size of 16 pixels and a viewport width of 1440 pixels for VW.
For example, 16 PX is 1 REM.
| Value | Result |
|---|---|
| 1 PX | 0.0625 REM |
| 8 PX | 0.5 REM |
| 16 PX | 1 REM |
| 32 PX | 2 REM |
| 100 PX | 6.25 REM |
The conversion
All units are converted through pixels. One REM and one EM equal 16 pixels at the default base size, one inch equals 96 pixels, and one VW equals 1% of the viewport width.
Change the base size or viewport width in the tool if your project uses different values.
FAQ
How many REM is 16 PX?
16 PX is 1 REM at the default settings.
Why does the result change with the base size?
REM and EM are relative to the base font size, so changing it changes every conversion.
Does this tool upload anything?
No. The conversion runs entirely in your browser.
Can I convert back?
Yes. Use the REM to PX converter.