Viewport Height/Width Calculator
Calculate viewport units (vh, vw, vmin, vmax) and convert between viewport units and pixels based on screen size.
Viewport Settings
Unit Converter
=
Reverse Converter
=
About Viewport Units
Viewport units are CSS units relative to the browser viewport size:
- vh: 1% of viewport height (100vh = full height)
- vw: 1% of viewport width (100vw = full width)
- vmin: 1% of the smaller dimension (height or width)
- vmax: 1% of the larger dimension (height or width)
These units are useful for creating responsive designs that scale based on viewport size.