PX to EM Converter

Convert Pixels to EM units.

Loading converter...
Share this tool:

What Is PX to EM Converter?

A PX to EM Converter helps you convert pixel (px) values into em units based on a specified font size. It is commonly used for creating scalable and responsive typography in CSS.

How To Convert PX to EM?

To find PX to EM, you need to divide the pixel value by the current font size of the parent element. This helps you understand how many em units the pixel value represents.

How to use the PX to EM tool

  1. Step 1: Enter the base value in the PX field that you want to convert to EM
  2. Step 2: As you enter the base value you can see the converted value on the right side in the EM field. Our tool will convert in a real time.
  3. Step 3: You can copy it using the Copy Result button.

Difference Between PX and EM

Pixels PX is an absolute unit and the EM is a font-relative unit. EM is always based on its parent element.

PX to EM Formula

em=
pxparent font size
Where:
pxPixelsThe pixel value you want to convert.
parent font sizeParent Font SizeThe font size of the parent element (default is 16px).
emEM UnitsThe resulting size relative to the parent font size.

PX to EM Conversion Table (Base Font 16px)

PX (px)EM (em)
1px0.0625em
2px0.125em
3px0.1875em
4px0.25em
5px0.3125em
6px0.375em
7px0.4375em
8px0.5em
9px0.5625em
10px0.625em
11px0.6875em
12px0.75em
13px0.8125em
14px0.875em
15px0.9375em
16px1em
17px1.0625em
18px1.125em
19px1.1875em
20px1.25em
22px1.375em
24px1.5em
26px1.625em
28px1.75em
30px1.875em
32px2em
36px2.25em
40px2.5em
44px2.75em
48px3em
52px3.25em
56px3.5em
60px3.75em
64px4em
72px4.5em
80px5em
88px5.5em
96px6em
100px6.25em
112px7em
120px7.5em
128px8em
136px8.5em
144px9em
160px10em
192px12em
200px12.5em
240px15em
256px16em
288px18em
300px18.75em
320px20em
360px22.5em
384px24em
400px25em
480px30em
512px32em
576px36em
600px37.5em
640px40em
720px45em
768px48em
800px50em
960px60em
1024px64em
1080px67.5em
1200px75em
1280px80em
1366px85.375em
1440px90em
1536px96em
1920px120em

You can easily convert back using EM to PX or scale elements with PX to REM.