em to px

A converter that calculates the px from an em for a given em size to measure the pixels

EM
EM Size

Hot Keys

C

Calculate and copy the result of calculation.

V

Calculate the result.

B

Copy the result of calculation.

R

Reverse the converter to "PX to EM".

Q

Focus the "EM" input.

W

Focus the "EM Size" input.

FAQ

How to convert EM to PX?

To convert em to px, you should know total size of 1 EM, default is 16px Then, just apply formula: em * em size For example, with 16px size of 1em, 2em will be converted to: 2 * 16 = 32px

What is the EM to PX formula?

em * em size

What is em unit?

EM is defined relative to the font size of the parent element. 1 EM therefore takes on the value which is given to the font-size of the parent element.

What is px unit? (Pixels)

Pixel unit is the theorical smallest dot displayed on a computer screen. Nowadays, pixel unit can differ between physical resolution and logical resolution. This difference is called device pixel ratio or DPR: Logical resolution = physical resolution / device pixel ratio. So, a screen with 1024x768 physical resolution with a DPR of 2 will have a 512x384 logical resolution.

EM to PX Conversion Table if em size is 16px

empx
1em16px
2em32px
3em48px
4em64px
5em80px
6em96px
7em112px
8em128px
9em144px
10em160px
11em176px
12em192px
13em208px
14em224px
15em240px
16em256px
17em272px
18em288px
19em304px
20em320px
21em336px
22em352px
23em368px
24em384px
25em400px

More EM & PX Conversions