EM to PX Converter

Convert between EM and PX units with customizable base font size

Live Font Size Preview

Hello

Conversion Reference

1 unit equals how many pixels

px

1

pixels

em

16

pixels

CSS Style Properties

Pixels (px)

h1 {
  font-size: 1px;
}

Em (em)

h1 {
  font-size: 1em;
}

About EM to PX Conversion

What is EM?

EM (em) is a relative CSS unit that is based on the font size of the parent element. It's useful for creating scalable, responsive designs that adapt to parent font sizes and user preferences.

What is PX?

PX (Pixels) is an absolute unit that represents a fixed size on the screen. It doesn't scale with user preferences or parent elements, making it useful for precise measurements.

The Conversion Formula

1 EM = Base Font Size (default 16px)

If you change your base font size to 20px, then 1 EM = 20px.

Unit Conversion Table for EM to PX

EMPixel
0.5em8px
0.6em9.6px
0.7em11.2px
0.8em12.8px
0.9em14.4px
1.0em16px
1.1em17.6px
1.2em19.2px
1.3em20.8px
1.4em22.4px
1.5em24px
1.6em25.6px
1.7em27.2px
1.8em28.8px
1.9em30.4px
2.0em32px
2.1em33.6px
2.2em35.2px
2.3em36.8px
2.4em38.4px
2.5em40px