Advertisement

PX / REM / EM / PT Converter

Convert between CSS units: px, rem, em, pt, %, vh, and vw. Customize your base font size and viewport dimensions.

Base font: px
Viewport W: px
Viewport H: px
Copied!
Advertisement

About PX/REM/EM/PT Converter

CSS uses many different units for sizing. Pixel (px) is absolute, while rem and em are relative to font size. This tool converts between all common units so you can quickly switch between them in your designs.

Unit Reference

px — absolute pixel. rem — relative to root font size. em — relative to parent font size. pt — typographic point (1pt = 1.333px). % — percentage of parent. vh/vw — viewport height/width percent.