VW  to  VH Converter

Conversion Guide

1. Calculate viewport aspect ratio (width/height). 2. Multiply the vw value by this ratio. Example: For a 1920x1080 viewport, 50vw * (1920/1080) = 88.89vh.

Conversion Settings
Results are based on the current viewport dimensions of 0x0px and will change with screen size/orientation.
VW to VH Conversion Table
VWVHActions
1017.7778
2035.5556
3053.3333
4071.1111
5088.8889
60106.6667
70124.4444
80142.2222
90160
100177.7778

Frequently Asked Questions

Basics

What is VW?

The viewport width (vw) unit is relative to 1% of the viewport's width. 100vw equals the full viewport width.

Viewport50vw width
What is the viewport?
The viewport is the visible area of the web page on your device's screen.
When should I use vw?
Use vw for elements that should scale relative to the screen width, like full-width layouts or responsive typography.

What is VH?

The viewport height (vh) unit is relative to 1% of the viewport's height. 100vh equals the full viewport height.

Viewport75vh height
How is vh different from %?
vh is always relative to the viewport height, while % is relative to the parent element's height.
When should I use vh?
Use vh for creating full-height layouts, hero sections, or elements that should scale with the viewport height.

Conversion

How to convert VW to VH?

To convert VW to VH, use the following formula:

vw * (viewport width / viewport height)