Convert px to em

When you are using a CSS preprocessor, the unit of measurement that is used to create font sizes is em. An em is defined as the point size of the currently selected font. It’s a relative measurement, so it will change based on your current font selection.

px is a unit of measurement for web design. Web designers love to use ems because it can be scaled without any loss of quality, and it’s the most flexible unit of measurement for web design.

This tool can convert from pixel to em or vice versa.

  • Type in a base pixel.
  • To convert from pixel to em, type in number in Source (px) then press Convert.
  • To convert from em to pixel, type in number in Source (em) then press Convert.
Base Pixel (px)
Source (px)
Source (em)

Quick conversion with base as 16px

pixelempercent
8px0.500em50.0%
9px0.563em56.3%
10px0.625em62.5%
11px0.688em68.8%
12px0.750em75.0%
13px0.813em81.3%
14px0.875em87.5%
15px0.938em93.8%
16px1.000em100.0%
17px1.063em106.3%
18px1.125em112.5%
19px1.188em118.8%
20px1.250em125.0%
21px1.313em131.3%
22px1.375em137.5%
23px1.438em143.8%
24px1.500em150.0%

Leave a Comment

Your email address will not be published. Required fields are marked *

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close