Skip to content
Menu

VW to Pixels

Viewport width units (vw) to pixels (px) for any viewport width.

Result72px

Viewport width (px)

Precision (significant figures)

Formula

px = vw × viewport width ÷ 100

1 vw = 14.4 px in a 1440 px wide viewport

px = vw × viewport width ÷ 100. A vw value has no fixed size: 5vw is 72 px on a 1440 px screen and 18.75 px on a 375 px phone. Pick the viewport width you care about and the result is exact.

Formula

px = vw × viewport width ÷ 100

Worked example

  1. Start with 5 vw.
  2. Multiply by the viewport width (1,440 px): 5 × 1,440 = 7,200 px.
  3. Divide by 100: 7,200 ÷ 100 = 72 px.

Vw to px chart

Values in pixels for common viewport widths: phone, tablet, laptop and desktop.

Viewport width units (vw)37576814401920
13.757.6814.419.2
27.515.3628.838.4
2.59.37519.23648
311.2523.0443.257.6
41530.7257.676.8
518.7538.47296
622.546.0886.4115.2
83061.44115.2153.6
1037.576.8144192
12.546.87596180240
2075153.6288384
2593.75192360480
33.333124.999255.997479.995639.994
50187.5384720960
75281.255761,0801,440
1003757681,4401,920

When you need this conversion

You’ve inherited CSS written in viewport units, or you’re checking how a fluid value behaves on real devices. Converting vw to pixels at a few widths shows whether a heading is still readable on a phone and not absurd on a 4K monitor.

Check the extremes

Always test a vw value at both ends of your audience’s screens:

  • 3vw: 11.25 px at 375 px, 43.2 px at 1440 px, 57.6 px at 1920 px
  • 10vw: 37.5 px at 375 px, 144 px at 1440 px

If either end looks wrong, wrap the value in clamp(min, preferred, max) so it can’t go below or above sensible limits.

vw, svw and dvw

Modern CSS adds small (svw, svh), large (lvw, lvh) and dynamic (dvw, dvh) viewport units. On phones, 100vh is taller than the visible area when the address bar is showing; 100svh fixes that. For widths the difference is rarely visible, so plain vw is usually fine.

Common mistakes

Designing only at one width. A value that works at 1440 px can be unreadable at 375 px.

Using vw where % would do. Percentages are relative to the parent, not the window, which is usually what a layout needs.

For the reverse, see pixels to vw.

Questions

How many pixels is 100vw?

Exactly the viewport width, including a classic scrollbar: 1440 px on a 1440 px wide window.

How many pixels is 5vw?

72 px at 1440 px wide, 96 px at 1920 px, and 18.75 px at 375 px.

What about vh?

vh works the same way with the viewport height. On mobile, prefer svh or dvh, which account for the browser's address bar.

Why is my vw text too small on phones?

Because vw shrinks with the screen. Put a floor under it with clamp(), for example clamp(1rem, 4vw, 2rem).

Sources

Last reviewed 2026-09-24. How we check values · Report a problem with this page