designwithfocus

PX to EM Converter

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

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

All units

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

How to use PX to EM Converter

  1. Type a value in PX.
  2. The EM value updates instantly.
  3. Copy the value you need, or check the full table.

How to convert PX to EM

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 EM.

ValueResult
1 PX0.0625 EM
8 PX0.5 EM
16 PX1 EM
32 PX2 EM
100 PX6.25 EM

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 EM is 16 PX?

16 PX is 1 EM 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 EM to PX converter.

Report a problem with this tool