Px, Em Conversion Tool
The following tool provides conversion between em and px.
- First input box: sets the default font size in pixels of the web page (usually 16px)
- Second input box: enter a pixel value to convert px to em.
- Third input box: enter an em (relative length unit) value to convert em to px.
Set the default pixel size:
px
PX to EM:
px
EM to PX:
em
Conversion result:
Text Font Size
The table below lists conversion data for px, em, and web page font percentages when the default web page font size is 16px.