CSS Unit Converter
px / rem / em / vw conversion
1
Quick Presets:
px
px
All Unit Conversions (based on 16 px)
px
16rem
1em
1vw
0.833333vh
0.833333%
100pt
12cm
0.423333mm
4.2333in
0.166667CSS Unit Converter Guide
Supported Units
- px — pixels, the most common absolute unit
- rem — relative to root (html) font size
- em — relative to parent element font size
- vw — percentage of viewport width
- vh — percentage of viewport height
- % — percentage relative to parent element
- pt / cm / mm / in — print/physical units
Use Cases
- Unit conversion for responsive layout design
- Convert design px to rem/vw for adaptive layouts
- Quick rem-to-px conversion in frontend development
- Convert between print and screen CSS units
- Cross-platform physical-to-pixel unit conversion