Professional, Affordable Web
Development Services
for Small Business

 

Free Consultation
New York (845) 288-0127
Rhode Island (401) 280-1886
Toll Free 1 (888) 316-9431

Convert Pixels and EMs

What is an em?

Originally, an em was equivalent to the width of the letter M. Now it means "ephemeral unit", which is relative to the root element's base font-size. In an HTML document, the root element is the HTML element and you can define the root font-size in your CSS coding.

/* CSS Document */

html {
font-size:16px;   
   
/* This sets the root font size to 16px */

}
body {
 
}
Website Designer

Are you frustrated with coding your own website? Don't be. We can help.

Call Now
1-888-316-9431

Once you've set the root font-size, you are able to use em accurately. So if your root font-size is 16px, a 2.000em is equal to 32px and 1.500em is equal to 24px.

For an accurate result, use our px & em converters.
Convert Pixels to EMs

Convert EMs to Pixels

We can help you drive
more business to your business

We can help you drive
more business to your business

Call for a free search engine optimization consultation