Pixel to Viewport Height Converter

Convert pixels to viewport height using the formula:
VH = (Pixel / Viewport Height) × 100

What is Viewport Height (VH)?

Viewport Height (vh) is a CSS unit that represents a percentage of the screen's total height.
1vh = 1% of the total viewport height
If the screen height is 800px, then 1vh = 8px. This unit is crucial for responsive web design, ensuring elements adjust dynamically based on screen height.

Why is VH Used?

How Pixel to VH Conversion Works

The formula used for conversion:
VH = (Pixel / Viewport Height) × 100

Pixel to Viewport Height Conversion Table

PixelViewport Height (VW)
8 px1 vh
16 px2 vh
24 px3 vh
32 px4 vh
40 px5 vh
80 px10 vh
160 px20 vh
240 px30 vh
320 px40 vh
400 px50 vh
480 px60 vh
560 px70 vh
640 px80 vh
720 px90 vh
800 px100 vh