CSS Unit Converter
Convert between CSS units: px, rem, em, pt, vh, vw, %, cm, mm, and inches. Customize base font size, viewport, and parent dimensions.
38.2Kuses
7.8/10(323)
Pixels - absolute screen pixels
Conversion Settings
16 px equals:
Quick Reference: px to rem (base: 16px)
CSS Units Explained
- px: Absolute pixels on screen
- rem: Relative to the root (html) element font size, default 16px
- em: Relative to the parent element font size
- pt: Points, commonly used in print (1pt = 1/72 inch)
- vh/vw: Viewport height/width units (1vh = 1% of viewport height)
- %: Percentage relative to parent element width
Features
- Convert between 10 CSS units simultaneously
- Custom base font size for rem calculations
- Custom viewport and parent dimensions
- Quick reference px-to-rem table
- Click to copy any converted value
- 100% client-side, no data sent anywhere
Recommended Products
Ad📖Web Design BooksShop →🖥️Developer MonitorsShop →🎨Color Reference CardsShop →⌨️Coding KeyboardsShop →📚Design BooksShop →💻Laptop StandsShop →🖱️Wireless MouseShop →🔌USB-C HubShop →👓Blue Light GlassesShop →🖥️Desk PadShop →
Affiliate Disclosure: As an Amazon Associate, ToolBird earns from qualifying purchases. Links above are affiliate links — if you buy through them, we may earn a small commission at no extra cost to you.
Disclaimer: This tool is provided as-is for informational and educational purposes only.