CSS Unit Converter
Convert between px, rem, em, pt, in, cm, mm, vw, vh, and %. Configurable root font size. Free online — runs locally, no upload.
Conversion Settings
16.0000 px
Pixels
1.0000 rem
Root em
1.0000 em
Em
12.0000 pt
Points (1/72 inch)
1.0000 pc
Picas (12 pt)
0.1667 in
Inches
0.4233 cm
Centimeters
4.2333 mm
Millimeters
0.8333 vw
% of viewport width
1.4815 vh
% of viewport height
1.3333 %
% of parent
Quick reference (assuming 16px root font)
- 1rem = 16px = 12pt
- 1em = current font size (often 16px)
- 1pt = 1.333px = 1/72 inch
- 1in = 96px = 2.54cm
- 100vw = full viewport width
- 100vh = full viewport height