CM to VH Converter
Use this free online cm to vh converter tool to convert centimeters to viewport height units. Centimeters are a metric measurement while VH is a responsive web unit. This converter helps translate metric print measurements to responsive vertical layouts.
To convert centimeters to vh, divide by 2.54 to get inches, multiply by 96 to get pixels, then divide by viewport height and multiply by 100. The default viewport height is 1080px.
Conversion Formula
vh = (cm ÷ 2.54 × 96 ÷ viewport height) × 100
For example, to convert 2.54cm to vh on a 1080px viewport, calculate (2.54 ÷ 2.54 × 96 ÷ 1080) × 100 = 8.89vh. This means 2.54cm (1 inch) equals approximately 8.89vh at this viewport size.
CM to VH Converter Conversion Table (Viewport Height: 1080px)
| CM | VH |
|---|---|
| 0.5cm | 1.75vh |
| 1cm | 3.5vh |
| 1.5cm | 5.249vh |
| 2cm | 6.999vh |
| 2.54cm | 8.889vh |
| 3cm | 10.5vh |
| 4cm | 14vh |
| 5cm | 17.5vh |
| 7.5cm | 26.25vh |
| 10cm | 35vh |
| 12.7cm | 44.44vh |
| 15cm | 52.49vh |
| 20cm | 69.99vh |
| 25.4cm | 88.89vh |
| 30cm | 105vh |
What is CM?
Centimeters (cm) are an absolute CSS unit representing physical centimeters, commonly used in print design and international contexts. In web contexts, 1cm equals approximately 37.8 pixels. While uncommon for screen design, centimeters are valuable for print stylesheets where physical dimensions matter.
What is VH?
Viewport Height (vh) is a relative CSS unit where 1vh equals 1% of the browser viewport's height. Like VW, it responds dynamically to viewport changes, making it perfect for full-height sections and responsive vertical spacing. VH units are commonly used for hero sections, modals, and mobile-first designs that need to adapt to various screen heights.