VH  to  CM Converter

Conversion Guide

1. Convert vh to px based on viewport height. 2. Convert px to cm. Example: For 1080px viewport, 1vh = 10.8px ≈ 0.286cm

Conversion Settings
Results depend on viewport height of 0px and screen density of 96 PPI.
VH to CM Conversion Table
VHCMActions
0.514.2875
128.575
1.542.8625
257.15
2.571.4375
385.725
4114.3
5142.875
10285.75
15428.625
20571.5

Frequently Asked Questions

Basics

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.

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.

Conversion

How to convert VH to CM?

To convert VH to CM, use the following formula:

(vh * viewport height) / (100 * 37.8)