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

pxvw
16px1.1111vw
24px1.6667vw
32px2.2222vw
48px3.3333vw
64px4.4444vw
96px6.6667vw
128px8.8889vw
240px16.6667vw
320px22.2222vw
480px33.3333vw
720px50vw
1200px83.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.

Related tools