Professional Documents
Culture Documents
PX To EM Conversion
PX To EM Conversion
PX To EM Conversion
com
(//www.w3schools.com)
HTML (/html/default.asp) CSS (/css/default.asp) MORE
(/de
Play Now
The tool below allows you to work out the em sizes from pixels (or vice versa).
Pixel to Em Converter
Set a default pixel size for body (usually 16px)
Then, convert a pixel value to em, based on the default pixel size
Or, convert an em value to pixels, based on the default pixel size
16 px
Convert
Result:
Body Font Size
In the table below, select a body font size in pixels (px) to display a complete "px to em and percent"
conversion table.
px em percent
Pixel is a static measurement, while percent and EM are relative measurements. The size of an
EM or percent depends on its parent. If the text size of body is 16 pixels, then 150% or 1.5 EM will
be 24 pixels (1.5 * 16). Look at CSS Units (/cssref/css_units.asp) for more measurement units.
(/colors/colors_picker.asp)
HOW TO
(/howto/default.asp)
Tabs
(/howto/howto_js_tabs.asp)
Dropdowns
(/howto/howto_css_dropdown.asp)
Accordions
(/howto/howto_js_accordion.asp)
Side Navigation
(/howto/howto_js_sidenav.asp)
Top Navigation
(/howto/howto_js_topnav.asp)
Modal Boxes
(/howto/howto_css_modals.asp)
Progress Bars
(/howto/howto_js_progressbar.asp)
Parallax
(/howto/howto_css_parallax.asp)
Login Form
(/howto/howto_css_login_form.asp)
HTML Includes
(/howto/howto_html_include.asp)
Google Maps
(/howto/howto_google_maps.asp)
Range Sliders
(/howto/howto_js_rangeslider.asp)
Tooltips
(/howto/howto_css_tooltip.asp)
Slideshow
(/howto/howto_js_slideshow.asp)
Filter List
(/howto/howto_js_filter_lists.asp)
Sort List
(/howto/howto_js_sort_list.asp)
SHARE
(http://www.facebook.com/sharer.php?
u=https://www.w3schools.com/tags/ref_pxtoemconversion.asp) (https://twitter.com/home?
CERTIFICATES (//www.w3schools.com/cert/default.asp)
HTML (/cert/cert_html.asp)
CSS (/cert/cert_css.asp)
JavaScript (/cert/cert_javascript.asp)
SQL (/cert/cert_sql.asp)
Python (/cert/cert_python.asp)
PHP (/cert/cert_php.asp)
jQuery (/cert/cert_jquery.asp)
Bootstrap (/cert/cert_bootstrap.asp)
XML (/cert/cert_xml.asp)
REPORT ERROR
PRINT PAGE
FORUM (/forum/default.asp)
ABOUT (/about/default.asp)
Top Tutorials
HTML Tutorial (/html/default.asp)
CSS Tutorial (/css/default.asp)
JavaScript Tutorial (/js/default.asp)
How To Tutorial (/howto/default.asp)
SQL Tutorial (/sql/default.asp)
Python Tutorial (/python/default.asp)
W3.CSS Tutorial (/w3css/default.asp)
Bootstrap Tutorial (/bootstrap/bootstrap_ver.asp)
PHP 5 Tutorial (/php/default.asp)
PHP 7 Tutorial (/php7/default.asp)
jQuery Tutorial (/jquery/default.asp)
Java Tutorial (/java/default.asp)
Top References
HTML Reference (/tags/default.asp)
CSS Reference (/cssref/default.asp)
JavaScript Reference (/jsref/default.asp)
SQL Reference (/sql/sql_ref_keywords.asp)
Python Reference (/python/python_reference.asp)
W3.CSS Reference (/w3css/w3css_references.asp)
Bootstrap Reference (/bootstrap/bootstrap_ref_all_classes.asp)
PHP Reference (/php/php_ref_overview.asp)
HTML Colors (/colors/colors_names.asp)
jQuery Reference (/jquery/jquery_ref_overview.asp)
Angular Reference (/angular/angular_ref_directives.asp)
Java Reference (/java/java_ref_keywords.asp)
Top Examples
HTML Examples (/html/html_examples.asp)
CSS Examples (/css/css_examples.asp)
JavaScript Examples (/js/js_examples.asp)
How To Examples (/howto/default.asp)
SQL Examples (/sql/sql_examples.asp)
Python Examples (/python/python_examples.asp)
W3.CSS Examples (/w3css/w3css_examples.asp)
Bootstrap Examples (/bootstrap/bootstrap_examples.asp)
PHP Examples (/php/php_examples.asp)
jQuery Examples (/jquery/jquery_examples.asp)
Java Examples (/java/java_examples.asp)
XML Examples (/xml/xml_examples.asp)
Web Certificates
HTML Certificate (/cert/default.asp)
CSS Certificate (/cert/default.asp)
JavaScript Certificate (/cert/default.asp)
SQL Certificate (/cert/default.asp)
Python Certificate (/cert/default.asp)
jQuery Certificate (/cert/default.asp)
PHP Certificate (/cert/default.asp)
Bootstrap Certificate (/cert/default.asp)
XML Certificate (/cert/default.asp)
W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic
understanding. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full
correctness of all content. While using this site, you agree to have read and accepted our terms of use
(/about/about_copyright.asp), cookie and privacy policy (/about/about_privacy.asp). Copyright 1999-2019
(/about/about_copyright.asp) by Refsnes Data. All Rights Reserved.
Powered by W3.CSS (//www.w3schools.com/w3css/).
(//www.w3schools.com)