VH to PX Converter
Convert vh to pixels. Since 1vh is 1% of the viewport height, the pixel result scales with the viewport size you set.
1vh equals 1% of this height.
Result
172.8px
Formula
px = (vh × viewport height) ÷ 100Conversion table
vh → px at viewport height (px) = 1080.
About the VH to PX conversion
vh is a viewport-relative unit where 1vh equals 1% of the window height. Converting vh to px resolves that percentage into a concrete pixel value for a specific viewport.
The formula is px = (vh × viewport height) / 100. On a 1080px viewport, 50vh is 540px and 10vh is 108px. Set the viewport height field to the screen size you are targeting.
This vh to px converter is useful for checking how large a vh-based element will actually render on a given device, or for translating a viewport-relative design into fixed pixel values.