CM  to  VH Converter

Conversion Guide

1. Convert cm to px (multiply by ~37.8). 2. Convert px to vh. Example: For 1080px viewport, 1cm ≈ 37.8px = 3.5vh

Conversion Settings
Results depend on viewport height of 0px and screen density of 96 PPI.
CM to VH Conversion Table
CMVHActions
10.035
20.07
30.105
40.14
50.175
100.35
150.5249
200.6999
250.8749
301.0499

Frequently Asked Questions

Basics

What is CM?

Centimeters (cm) are absolute-length units that correspond to physical centimeters, commonly used in print design and European markets.

4cm012344cm × 1cm
How do cm units compare to other length units?
1cm equals 10mm or approximately 37.8px (at 96 DPI). For web design, relative units like rem are generally preferred.
When are cm units most appropriate?
cm units are most appropriate for print stylesheets or when precise physical measurements are needed in metric units.

What is VH?

The viewport height (vh) unit is relative to 1% of the viewport's height. 100vh equals the full viewport height.

Viewport75vh height
How is vh different from %?
vh is always relative to the viewport height, while % is relative to the parent element's height.
When should I use vh?
Use vh for creating full-height layouts, hero sections, or elements that should scale with the viewport height.

Conversion

How to convert CM to VH?

To convert CM to VH, use the following formula:

(cm * 37.8 / viewport height) * 100