cm to vh
A converter that calculates the vh from a cm for a given breakpoint to make the measurement responsive
Hot Keys
Calculate and copy the result of calculation.
Calculate the result.
Copy the result of calculation.
Reverse the converter to "VH to CM".
Focus the "CM" input.
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.
CM to VH Conversion Table if viewport height size is 1080px
cm | vh |
---|---|
1cm | 3.5vh |
2cm | 6.999vh |
3cm | 10.499vh |
4cm | 13.998vh |
5cm | 17.498vh |
6cm | 20.997vh |
7cm | 24.497vh |
8cm | 27.996vh |
9cm | 31.496vh |
10cm | 34.996vh |
11cm | 38.495vh |
12cm | 41.995vh |
13cm | 45.494vh |
14cm | 48.994vh |
15cm | 52.493vh |
16cm | 55.993vh |
17cm | 59.493vh |
18cm | 62.992vh |
19cm | 66.492vh |
20cm | 69.991vh |
21cm | 73.491vh |
22cm | 76.99vh |
23cm | 80.49vh |
24cm | 83.99vh |
25cm | 87.489vh |