Skip to content

Viewport Unit Calculator

vw and vh to pixels for any screen

Runs on your device

How to use Viewport Unit Calculator

  1. Set the options: “Value”, “Unit”, “Screen width” and “Screen height”. Reset puts them back.

  2. The result updates as you go. Copy it or download it.

About Viewport Unit Calculator

vw and vh to pixels for any screen.

Viewport Unit Calculator: common questions

Is Viewport Unit Calculator free?

Yes. There's no sign-up, no limit on how often you use it and no watermark.

Is what you enter uploaded anywhere?

No. Viewport Unit Calculator works on this device only, so what you enter stays private. You can even turn off the internet once the page is open.

What can I change?

4 settings, including “Value”, “Unit”, “Screen width” and “Screen height”. Every setting has a sensible default, and Reset puts them all back.

Does it work on a phone?

Yes, in any current browser on Android, iPhone, iPad and desktop.

More utilities tools

All 81 utilities tools