Instantly convert VH to CM and CM to VH

A simple and fast tool to convert viewport height (vh) units to entimeter (cm) values and vice versa for your web designs.

px
vh
cm

How to Convert VH to CM

 

 

Step 1: Determine the Viewport Height

Identify the viewport height you are targeting. A common desktop height is 1080px. Enter this value in the “Viewport Height” field.

Step 2: Use the Conversion Formula

The formula to convert VH to centimeters is: `((VH Value / 100) * Viewport Height) * 2.54 / 96`. This is based on the standard of 96 pixels per inch, and 2.54 centimeters per inch.

Result in CM = ((VH / 100) * Viewport Height) * 2.54 / 96

Step 3: Example Calculation

If you want to convert 50vh to centimeters for a 1080px tall viewport, the calculation is:

((50 / 100) * 1080) * 2.54 / 96 = 14.2875

So, 50vh is equal to 14.2875cm on a 1080px tall screen.

Common VH to CM Reference

A quick reference table based on the viewport height set above.

VW Centimeters
1vh 0.2858cm
5vh 1.4287cm
10vh 2.8575cm
25vh 7.1437cm
50vh 14.2875cm
75vh 21.4313cm
80vh 22.86cm
90vh 25.7175cm
100vh 28.575cm

VH to CM Converter Information

 

Understanding VH Units

The `vh` unit stands for “viewport height”. It is a relative unit where 1vh is equal to 1% of the browser’s viewport height. This is particularly useful for creating elements that should take up a certain portion of the screen’s height, regardless of the device.

Understanding Centimeters (CM)

The centimeter (cm) is a standard metric unit of length. In digital design, it provides a direct link to real-world physical dimensions, which is crucial for any work that will eventually be printed or needs to conform to physical standards. The conversion relies on a standard screen density of 96 DPI (Dots Per Inch).

Why Convert VH to CM?

Converting `vh` to `cm` is useful when you need to align scalable web designs with fixed physical measurements for print or other real-world applications. This is important for:

  • Print Stylesheets: When creating stylesheets for printing web pages, using `cm` ensures that fonts and layouts are sized correctly on paper.
  • Design Consistency: For projects that span both digital and physical media, converting between `vh` and `cm` helps maintain a consistent design language.
  • Real-World Mockups: If you need to show how a web design element will look at its actual size, converting to `cm` can provide an accurate on-screen preview.