Report a problem

CONVERTER TOOL

PX to VW Converter

Convert CSS pixels to viewport width units using a chosen viewport width.

PX to VW Converter

FREE ONLINE TOOL

1.666667 vw

1.666667vw

vw = px ÷ viewport width × 100. CSS pixels are not physical screen pixels. The result depends on the reference viewport; negative values are supported.

Which tool fits your task?

Compare the purpose of these tools before choosing.

  • PX to REM Converter →

    Convert CSS pixels to rem using a configurable root font size. Copy the CSS value.

  • PX to VW Converter · You are here

    Convert CSS pixels to viewport width units using a chosen viewport width.

  • VW to PX Converter →

    Convert viewport width units to CSS pixels for a chosen viewport width.

WHEN IT HELPS

Common uses

  • Check the example and compare inputs before using the result.

IN PRACTICE

Example

At a viewport width of 1440 CSS pixels, 24 px = 1.666667 vw.

GOOD TO KNOW

What assumptions should I check?

vw = px ÷ viewport width × 100. CSS pixels are not physical screen pixels. The result depends on the reference viewport; negative values are supported.