How many pixels is 1vw?
1vw is 1% of the viewport width, so at a 1440px screen 1vw = 1440 ÷ 100 = 14.4px. At 375px it is 3.75px and at 1920px it is 19.2px.
To convert vw to px, multiply the vw value by the viewport width and divide by 100: 10vw on a 1440px screen is 10 × 1440 ÷ 100 = 144px, and 1vw is always 1% of the screen width.
144px
10vw * 1440px / 100 = 144px
width: 144px;Viewport width to pixels
| Viewport width | Pixels |
|---|---|
| 1vw | 14.4px |
| 2vw | 28.8px |
| 5vw | 72px |
| 10vw | 144px |
| 15vw | 216px |
| 20vw | 288px |
| 25vw | 360px |
| 30vw | 432px |
| 33.333vw | 479.995px |
| 40vw | 576px |
| 50vw | 720px |
| 60vw | 864px |
| 75vw | 1080px |
| 80vw | 1152px |
| 90vw | 1296px |
| 100vw | 1440px |
| VW | Pixels |
|---|---|
| 1vw | 14.4px |
| 2vw | 28.8px |
| 5vw | 72px |
| 10vw | 144px |
| 15vw | 216px |
| 20vw | 288px |
| 25vw | 360px |
| 30vw | 432px |
| 33.333vw | 479.995px |
| 40vw | 576px |
| 50vw | 720px |
| 60vw | 864px |
| 75vw | 1080px |
| 80vw | 1152px |
| 90vw | 1296px |
| 100vw | 1440px |
The same vw value becomes a different pixel size at each viewport, because 1vw is always 1% of the current screen width.
| VW | 375px | 768px | 1440px | 1920px |
|---|---|---|---|---|
| 1vw | 3.75px | 7.68px | 14.4px | 19.2px |
| 5vw | 18.75px | 38.4px | 72px | 96px |
| 10vw | 37.5px | 76.8px | 144px | 192px |
| 25vw | 93.75px | 192px | 360px | 480px |
| 50vw | 187.5px | 384px | 720px | 960px |
| 100vw | 375px | 768px | 1440px | 1920px |
Multiply the vw value by the viewport width in pixels, then divide by 100:
px = vw × viewport width ÷ 100 10vw at 1440px → 10 × 1440 ÷ 100 = 144px 5vw at 375px → 5 × 375 ÷ 100 = 18.75px 100vw at 1920px → 100 × 1920 ÷ 100 = 1920px
Because 1vw is 1% of the viewport, the same value scales with the screen. Pick a preset width such as 375px, 768px, 1440px or 1920px in the converter above to see the real pixel value at that size.
Convert in the other direction or pair vw with rem and fluid type.
1vw is 1% of the viewport width, so at a 1440px screen 1vw = 1440 ÷ 100 = 14.4px. At 375px it is 3.75px and at 1920px it is 19.2px.
100vw is the full viewport width, so at a 1440px screen it is 1440px. It equals the screen width in CSS pixels, which is why 100vw elements span the page edge to edge.
50vw is half the viewport width. At 1440px it is 720px, at 1920px it is 960px, at 768px it is 384px and at 375px it is 187.5px.
100vw includes the vertical scrollbar width in most browsers, so a 100vw element is slightly wider than the visible content area and can cause a horizontal scrollbar. Use width: 100% instead, or subtract the scrollbar with calc(100vw - (100vw - 100%)).