b2KIT

Viewport Width Calculator

Calculate viewport-relative CSS units (vw, vh, vmin, vmax) for responsive layouts.

How to Use Viewport Width Calculator

  1. 1

    Enter a viewport width

    Type the screen width in pixels to calculate units for.

  2. 2

    Enter a target size

    Type the desired element size in pixels.

  3. 3

    Get vw value

    See the equivalent value in vw, vh, and other viewport units.

Related Tools