REM to Viewport Width Converter

Convert REM to viewport width (VW), suitable for responsive web design

px
px
rem
0 vw

Calculation Method: (rem × rootFontSize ÷ viewportWidth) × 100 = vw

REM to Viewport Width Conversion Information

Viewport width (vw) is a unit relative to the width of the browser viewport, where 1vw is equal to 1% of the viewport width. By entering the REM value and the root element font size, you can calculate the corresponding vw value.

Common Conversion Values (Based on 1920px Width):

  • 1rem = 5vw (Assuming root element font size is 16px)
  • 2rem = 10vw (Assuming root element font size is 16px)
  • 6rem = 30vw (Assuming root element font size is 16px)

Usage Instructions:

  1. Set the root element font size (default 16px)
  2. Note the current viewport width
  3. Enter the REM value
  4. Get the corresponding vw value

Usage Tips:

  • Applicable to responsive layouts
  • Changes with viewport width
  • Accurate to three decimal places