cm to vh

A converter that calculates the vh from a cm for a given breakpoint to make the measurement responsive

CM
Viewport Height

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 "VH to CM".

Q

Focus the "CM" input.

W

Focus the "Viewport Height" input.

FAQ

How to convert CM to VH?

To convert cm to vh, you should know total viewport height for example 1000px Then, just apply formula: (cm * 37.7952755906) / viewport total height * 100 For example, with a viewport of 1000px, 5cm will be converted to: (5 * 37.7952755906) / 1000 * 100 = 18.898vh

What is the CM to VH formula?

(cm * 37.7952755906) / viewport total height * 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 cm unit? (Centimeter)

A centimeter (cm) is an absolute unit of length. 1cm is roughly 37.8 pixels, or about 25.2/64 of an inch. 1px is equivalent to 0.0264583333cm

CM to VH Conversion Table if viewport height size is 1080px

cmvh
1cm3.5vh
2cm6.999vh
3cm10.499vh
4cm13.998vh
5cm17.498vh
6cm20.997vh
7cm24.497vh
8cm27.996vh
9cm31.496vh
10cm34.996vh
11cm38.495vh
12cm41.995vh
13cm45.494vh
14cm48.994vh
15cm52.493vh
16cm55.993vh
17cm59.493vh
18cm62.992vh
19cm66.492vh
20cm69.991vh
21cm73.491vh
22cm76.99vh
23cm80.49vh
24cm83.99vh
25cm87.489vh

More CM & VH Conversions