VH  to  VW Converter

Conversion Guide

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

Conversion Settings
Results are based on the current viewport dimensions of 0x0px and will change with screen size/orientation.
VH to VW Conversion Table
VHVWActions
105.625
2011.25
3016.875
4022.5
5028.125
6033.75
7039.375
8045
9050.625
10056.25

Frequently Asked Questions

Basics

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.

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.

Conversion

How to convert VH to VW?

To convert VH to VW, use the following formula:

vh * (viewport height / viewport width)