vw to rem

A converter that calculates the rem from a vw for given rem size and viewport width to make the measurement responsive

Viewport Width
VW Unit
REM Size

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 "REM to VW".

Q

Focus the "Viewport Width" input.

W

Focus the "VW Unit" input.

E

Focus the "REM Size" input.

FAQ

How to convert VW to REM?

To convert vw to rem, you should know total size of 1 REM, default is 16px, and size of viewport width Then, just apply formula: ((vw * viewport total width) / 100) / rem size For example, with 16px size of 1rem and 1920px of viewport width, 5vw will be converted to: ((5 * 1920) / 100) / 16 = 6rem

What is the VW to REM formula?

((vw * viewport total width) / 100) / rem size

What is rem unit?

REM is defined relative to the font size of the root element. The root element is matched by the :root pseudo-class or the html selector. 1 REM therefore takes on the value which is given to the font-size of the root element. This means that 1 REM keeps the same value throughout your whole CSS code.

What is vw unit? (Viewport Width)

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

VW to REM Conversion Table if viewport width size is 1920px and rem size is 16px

vwrem
1vw1.2rem
2vw2.4rem
3vw3.6rem
4vw4.8rem
5vw6rem
6vw7.2rem
7vw8.4rem
8vw9.6rem
9vw10.8rem
10vw12rem
11vw13.2rem
12vw14.4rem
13vw15.6rem
14vw16.8rem
15vw18rem
16vw19.2rem
17vw20.4rem
18vw21.6rem
19vw22.8rem
20vw24rem
21vw25.2rem
22vw26.4rem
23vw27.6rem
24vw28.8rem
25vw30rem

More VW & REM Conversions