PX ↔ VW Converter
Convert between px and viewport width units for fluid layouts.
Runs entirely in your browser
px
Equivalent:
1.1111 vw
vw
Equivalent:
14.4 px
Common values
| px | vw | |
|---|---|---|
| 16px | 1.1111vw | |
| 24px | 1.6667vw | |
| 32px | 2.2222vw | |
| 48px | 3.3333vw | |
| 64px | 4.4444vw | |
| 96px | 6.6667vw | |
| 128px | 8.8889vw | |
| 240px | 16.6667vw | |
| 320px | 22.2222vw | |
| 480px | 33.3333vw | |
| 720px | 50vw | |
| 1200px | 83.3333vw |
FAQ
- Which viewport width should I plug in?
- Use the design width you're targeting — usually 1440 or 1920 for desktop mocks, or 375 for mobile. The vw output tells you what percentage of that width your pixel value represents.
- Is vw safe on mobile?
- Yes, but pure vw scales text with the viewport, so tiny screens can produce unreadable sizes. Pair with clamp() to cap the range.