1vw changes with every screen size. Enter your vw value and viewport width to see the exact pixel output — essential for clamp() fluid typography.

The CSS vw unit equals 1% of the viewport width. On a 1920px screen: 1vw = 19.2px, 50vw = 960px, 100vw = 1920px. The actual pixel value changes with screen size.
This converter helps you calculate the pixel value of vw units at specific viewport widths, useful for responsive design debugging and documentation.
vw is commonly used for fluid typography (font-size: clamp(1rem, 2.5vw, 2rem)), full-width sections, and responsive spacing.
All calculations run locally in your browser — nothing is sent to any server.
The formula is: px = vw × viewport_width / 100.
At 1920px viewport: 1vw = 19.2px. At 1280px: 1vw = 12.8px. At 375px (iPhone): 1vw = 3.75px.
Related units: vh = 1% viewport height, vmin = 1% of smaller dimension, vmax = 1% of larger dimension.
| vw value | At 1920px | At 375px (mobile) |
|---|---|---|
| 1vw | 19.2px | 3.75px |
| 10vw | 192px | 37.5px |
| 50vw | 960px | 187.5px |
| 100vw | 1920px | 375px |
| 2.5vw (font) | 48px | 9.4px |
1vw = 1% of the viewport width. At 1920px screen: 1vw = 19.2px. At 1280px (laptop): 1vw = 12.8px. At 768px (iPad): 1vw = 7.68px. At 375px (iPhone SE): 1vw = 3.75px. The value changes dynamically as the browser window resizes.
Yes. 100vw includes the scrollbar width, typically 15–17px on Windows Chrome. This can cause horizontal overflow when combined with full-width elements. Use width: 100% for content containers, or use 100dvw (dynamic viewport width) in modern browsers to exclude the scrollbar.
vw is always relative to the browser viewport (window width), regardless of nesting. % width is relative to the parent element's width. Inside a 600px container, 50% = 300px but 50vw = 50% of the full viewport, which could be 640px on a 1280px screen.
font-size: clamp(1rem, 2.5vw, 2rem) creates fluid typography with a minimum of 16px, a maximum of 32px, and a mid-point of 2.5vw. At 640px viewport, 2.5vw = 16px (the minimum kicks in). At 1280px, 2.5vw = 32px (the maximum kicks in). Between those points, the font scales proportionally.
100dvw is dynamic viewport width, a modern CSS unit that accounts for mobile browser chrome (address bar) collapsing. On mobile Safari, 100vw includes the address bar height area, while 100dvh/dvw adjusts as the bar shows or hides. Most browsers support dvw since 2023.
Yes, though use it sparingly. margin-inline: 5vw creates gutters that scale with viewport width — on a 1920px screen that is 96px, on a 375px phone it is 18.75px. This technique works well for hero sections, but can produce too-tight layouts on small screens if not bounded with a min() or max().
Container queries use cqw (container query width) instead of vw. cqw is relative to the nearest container, not the viewport. On a page where a component lives in a 600px sidebar, 50cqw = 300px while 50vw would still equal 50% of the full page width.
Yes. All calculations run in your browser. No data is sent to any server.

Have an idea, found a bug, or want to suggest a feature? Drop us a message – we respond within 24 hours.