designwithfocus

PX to REM Converter

Convert PX to REM with DPI/base-size options.

Free No sign-up Runs in your browser
16 px = 1 rem

All units

PX16
REM1
EM1
PT12
PC1
INCH0.1667
CM0.4233
MM4.2333
VW1.1111

How to use PX to REM Converter

  1. Type a value in PX.
  2. The REM value updates instantly.
  3. 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.

ValueResult
1 PX0.0625 REM
8 PX0.5 REM
16 PX1 REM
32 PX2 REM
100 PX6.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.

Report a problem with this tool