CM to VH Converter

Convert Centimeters (cm) to Viewport Height (VH).

3.50vh
Common: 1080, 900, 768

About CM to VH Converter

The CM to VH converter enables web developers to convert physical measurements into viewport height units for responsive vertical layouts. VH (viewport height) units represent a percentage of the browser's viewport height, where 1vh equals 1% of the viewport height. This makes VH units essential for creating full-height sections, hero images, and vertically-centered content that adapts to different screen sizes.

Formula

VH = ((Centimeters × (DPI ÷ 2.54)) ÷ Viewport Height (px)) × 100

Examples

1 cm (1080px) = 3.50 vh
1 cm (1920px) = 1.97 vh
1 cm (667px) = 5.67 vh

Reference

  • 1 vh = 1% of viewport height
  • At 1080px viewport: 1 cm = 3.50 vh
  • At 667px mobile: 1 cm = 5.67 vh
  • VH units adapt to vertical screen space

Frequency Asked Questions

How do I convert cm to VH?

Convert cm to pixels, divide by viewport height in pixels, then multiply by 100.

Why does the CM to VH conversion change?

VH is a percentage of viewport height, which differs across devices based on screen resolution and orientation.

What viewport height should I use?

Common heights: 1080px (desktop), 900px (laptop), 1024px (tablet portrait), 667px (mobile), or your specific target device height.

When should I use VH units?

Use VH for full-height sections, hero images, vertical centering, and layouts that need to fill the available vertical space.