Skip to content
Toolbento

Viewport unit calculator

Convert vw, vh, vmin and vmax to pixels for any screen size, and pixels back to viewport units.

Everything stays on this device

Viewport unit calculator runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Result

  • 50vw
    720px
  • 50vh
    450px
  • 50vmin
    450px
  • 50vmax
    720px
  • 50px in vw
    3.4722vw
  • 50px in vh
    5.5556vh
  • 50px in vmin
    5.5556vmin
  • 50px in vmax
    3.4722vmax

Missing a feature or found a bug in Viewport unit calculator? Tell me on X (@_andrewtran) or by email.

How to use Viewport unit calculator

  1. Enter a value.
  2. Set the screen width and height in pixels.
  3. Read the value as each viewport unit in pixels, and as pixels in each unit.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

What are vmin and vmax?

One percent of the smaller and of the larger side of the screen. On a 1440 by 900 screen, 1vmin is 9 pixels and 1vmax is 14.4.

Esc

Loading tools