Converters
PX to EM Converter
Convert pixels (px) to em and em to pixels instantly using a 16px base font size.
Tool
PX to EM Converter
Convert pixels (px) to em and em to pixels instantly using a 16px base font size.
This tool runs in your browser. Your input is processed locally and is not uploaded.
About this Tool
Use this free online PX to EM converter to quickly convert between pixels (px) and em units.
Conversion Formula
px → em
em = px ÷ 16
em → px
px = em × 16
Examples
- 16 px = 1 em
- 20 px = 1.25 em
- 2 em = 32 px
Frequently Asked Questions
What is EM in CSS?
EM is a relative CSS unit based on the font size of the current element.
How do you convert px to em?
Divide the pixel value by the current font size, commonly 16px.
What is the difference between em and rem?
EM is relative to the current element, while REM is relative to the root element.
Related Tools
PX to REM Converter
Convert pixels to rem and rem to pixels instantly.
PT to PX Converter
Convert points to pixels and pixels to points instantly.
DPI to PPI Converter
Convert dots per inch to pixels per inch and vice versa.
PX to VW Converter
Convert pixels to viewport width units and vice versa based on a 1920px viewport.
PX to VH Converter
Convert pixels to viewport height units and vice versa based on a 1080px viewport.
PX to Percent Converter
Convert pixels to percent and percent to pixels instantly.