Viewport Units Converter
Convert vw, vh, vmin and vmax to pixels and back for any screen size.
Runs in your browser. Nothing leaves this device.
How to use Viewport Units Converter
- 1Pick a screen or type its width and height.
- 2Type a value in vw, vh, vmin or vmax to see it in pixels.
- 3Or type pixels to see them in every viewport unit, then copy.
Questions
What is 1vw?
One percent of the viewport width. On a 1440 pixel wide window, 1vw is 14.4px.
What are vmin and vmax?
One percent of the smaller or the larger side of the viewport. On a phone held upright, vmin follows the width and vmax the height.
Does the scrollbar count?
In most desktop browsers vw includes the vertical scrollbar, so 100vw can be a little wider than the visible page. The numbers here use the size you type.
Is anything sent anywhere?
No. The maths runs in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBorder Radius GeneratorRound each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
- DesignBox Shadow GeneratorSet the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.