em to vh

A converter that calculates the vh from an em for given em size and viewport height to make the measurement responsive

EM
EM Size
Viewport Height

Hot Keys

C

Calculate and copy the result of calculation.

V

Calculate the result.

B

Copy the result of calculation.

R

Reverse the converter to "VH to EM".

Q

Focus the "EM" input.

W

Focus the "EM Size" input.

E

Focus the "Viewport Height" input.

FAQ

How to convert EM to VH?

To convert em to vh, you should know total size of 1 EM, default is 16px, and size of viewport height Then, just apply formula: ((em * em size) / vh) * 100 For example, with 16px size of 1em and 1000px of viewport height, 1em will be converted to: ((1 * 16) / 1000) = 1.6vh

What is the EM to VH formula?

((em * em size) / vh) * 100

What is em unit?

EM is defined relative to the font size of the parent element. 1 EM therefore takes on the value which is given to the font-size of the parent element.

What is vh unit? (Viewport Height)

Used in responsive design, Viewport Height (VH) is a unit relative to web page display area called viewport. 1vh corresponds to 1% of display. So, to make an element full height, you should use 100vh. You can also use decimal values. Please note that, depending on browsers, decimal precision can change.

EM to VH Conversion Table if em size is 16px and viewport height size is 1080px

emvh
1em1.481vh
2em2.963vh
3em4.444vh
4em5.926vh
5em7.407vh
6em8.889vh
7em10.37vh
8em11.852vh
9em13.333vh
10em14.815vh
11em16.296vh
12em17.778vh
13em19.259vh
14em20.741vh
15em22.222vh
16em23.704vh
17em25.185vh
18em26.667vh
19em28.148vh
20em29.63vh
21em31.111vh
22em32.593vh
23em34.074vh
24em35.556vh
25em37.037vh

More EM & VH Conversions