PX to VW
Convert a pixel size from your design to vw viewport units, and see how big it renders on phones, tablets and desktops. Free px to vw converter for fluid CSS.
Runs in your browser. Nothing is uploaded.
About PX to VW
1vw is 1% of the browser window's width. If a heading is 64px in a 1440px-wide design, it's 4.444vw, and it will scale smoothly as the window narrows or widens.
The results show what that vw value works out to on a 375px phone, a 768px tablet and a 1920px screen, so you can spot text that would become too small. Wrapping vw in clamp() sets sensible limits.
How to use PX to VW
- Enter your values in the fields.
- The answer updates instantly as you type.
- Press Copy result to save the breakdown.
Frequently asked questions
How do I stop vw text getting too small on phones?
Use clamp(), for example font-size: clamp(1.5rem, 4.444vw, 4rem).
Does vw include the scrollbar?
Yes. 100vw is the full window width including any vertical scrollbar.
Is PX to VW free and private?
Yes. PX to VW is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.