CSS Unit Converter Online - px to rem, em, vw Calculator
Free online CSS unit converter. Convert between px, rem, em, vw, vh, pt, cm, mm and more with configurable base font size.
Used for rem, em, and % calculations
Common CSS Unit Conversions
| Unit | Description | Example |
|---|---|---|
| px | Pixels (absolute) | 16px |
| rem | Root em (relative to html font-size) | 1rem = 16px (default) |
| em | Relative to parent element font-size | 1em = parent font-size |
| vw | Viewport width (1vw = 1% of viewport width) | 50vw = half screen width |
| vh | Viewport height (1vh = 1% of viewport height) | 100vh = full screen height |
| % | Relative to parent element | 50% = half parent width |
| pt | Points (typography, 1pt = 1.333px) | 12pt |
| cm/mm/in | Physical units (rarely used in web) | 2.54cm = 1in = 96px |
CSS Unit Converter
Convert between all CSS units instantly.
Features
- All CSS units supported
- Configurable base font
- Viewport dimension control
- Quick presets
이 도구 평가
4.2 / 5 · 232 개 평가
Recommended
Tailwind UIBeautiful UI components최신 소식 받기
주간 개발 팁과 새 도구 알림을 받으세요.
스팸 없음. 언제든 구독 해지 가능.
Enjoy these free tools?
☕Buy Me a Coffee