VW and VH Units Calculator
Convert px from a design file into vw, vh, vmin and vmax.
Loading tool...
Runs in your browser. Nothing is sent anywhere.
When to use it
Use this when you want headings or spacing on a landing page to scale in proportion to the desktop design, such as 48px text on a 1440px frame.
Text sized purely in vw can get too small on phones, so combine it with clamp() to set a minimum and maximum.
How to use
- Enter a number or choose an option.
- Read the result and the preview.
- Click copy.
Frequently asked questions
Is the data I enter sent anywhere?
No. All calculations and processing run in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.
Related tools
More Design tools
8px Grid RounderRound spacing and sizes to multiples of 8 (or 4) for an even interface.Golden Ratio CalculatorSplit sizes by the golden ratio 1.618 for layouts, logos and content columns.SVG Structure InspectorCount the tags, list the colors, and check the viewBox, scripts and external resources in an SVG.Spacing Scale GeneratorCreate an even set of spacing values for a design system and export CSS variables.SVG to PNG ConverterConvert SVG to a sharp PNG image at 1×, 2×, 4× or 8× size, keeping a transparent background.Fluid Font Size clamp() GeneratorCreate a font-size clamp() that scales smoothly between phones and large screens.
See all design tools