vh to vw

A converter that calculates the vw from a vh for given width and height breakpoints to make the measurement responsive

Viewport Height
VH Unit
Viewport Width

Hot Keys

C

Calculate and copy the result of calculation.

V

Calculate the result.

B

Copy the result of calculation.

R

Reverse the converter to "VW to VH".

Q

Focus the "Viewport Height" input.

W

Focus the "VH Unit" input.

E

Focus the "Viewport Width" input.

FAQ

How to convert VH to VW?

To convert vh to vw, you should know total size of viewport width and height Then, just apply formula: (((vh * viewport total height) / 100) / viewport total width) * 100 For example, with 1000px size of viewport height and 1920px of viewport width, 2vh will be converted to: (((2 * 1000) / 100) / 1920) * 100 = 1.042vw

What is the VH to VW formula?

(((vh * viewport total height) / 100) / viewport total width) * 100

What is vh unit? (Viewport Height)

Used in responsive design, Viewport Height (VH) is a unit relative to web page display area called viewport. 1vh corresponds to 1% of display. So, to make an element full height, you should use 100vh. You can also use decimal values. Please note that, depending on browsers, decimal precision can change.

What is vw unit? (Viewport Width)

Used in responsive design, Viewport Width (VW) is a unit relative to web page display area called viewport. 1vw corresponds to 1% of display. So, to make an element full width, you should use 100vw. You can also use decimal values. Please note that, depending on browsers, decimal precision can change.

More VH & VW Conversions