Enter a number
1 vw = 19.2 px
Open in PX to REM ConverterFormula
px = vw × 1920 ÷ 100
How to convert
To convert viewport width units to pixels, use the formula px = vw × 1920 ÷ 100. For example, 25 vw = 480 px.
Conversion table
| vw | px |
|---|---|
| 1 vw | 19.2 px |
| 2 vw | 38.4 px |
| 5 vw | 96 px |
| 10 vw | 192 px |
| 25 vw | 480 px |
| 50 vw | 960 px |
| 75 vw | 1,440 px |
| 100 vw | 1,920 px |
The table assumes a viewport width of 1920px. Change the settings in the converter above to match your project.
About these units
Browsers turn every CSS length into pixels. rem is relative to the root font size and em to the parent element's font size; both are 16px in every major browser unless the page or the user changes it. 1pt is 1/72 inch and 1px is 1/96 inch, so 1pt = 1.333px. vw is 1% of the viewport width, so its pixel size depends on the screen.
FAQ
› How do I convert vw to px?
1 vw = 19.2 px. To convert, use the formula px = vw × 1920 ÷ 100: 25 vw = 480 px.
› What is 1 px in vw?
1 px = 0.05208333333 vw. The reverse formula is vw = px × 100 ÷ 1920.
› Why use rem instead of px?
rem sizes follow the user's browser font size setting, which helps accessibility, and changing one root value resizes the whole layout consistently.
› What is the difference between rem and em?
rem always uses the root (html) font size. em uses the font size of the element's parent, so nested em values compound.