← All Tools

Aspect Ratio Scaler🔒 100% local

Calculate proportional dimensions. Privacy-first, no server uploads, no tracking.

Related Tools

API ClientAPI Key RedactorBrowser Storage Cleaner

Works out proportional sizes from a width and a height. Give it a pair of dimensions and it reduces them to a ratio, lists the matching height for a set of common widths and writes the CSS aspect-ratio declaration for that shape. A third number in the input is read as a width to scale to, and the arithmetic runs in the page on numbers you type.

How to use it

  1. Enter the dimensions as width, height, for example 1280, 720. Add a third number to scale to that width.
  2. Press Process to run the calculation.
  3. Read the reduced ratio, the scaled row and the width table, then use Copy Output if you want the whole block.

Worked example

1920, 1080, 800becomesOriginal: 1920 x 1080 (16:9) Ratio: 1.7778 (decimal) Scaled to width 800: 800 x 450 Common targets (matching this ratio 16:9): 1920px wide: 1920 x 1080 1280px wide: 1280 x 720 1200px wide: 1200 x 675 1080px wide: 1080 x 608 800px wide: 800 x 450 640px wide: 640 x 360 480px wide: 480 x 270 320px wide: 320 x 180 Closest standard ratios: 16:9 (matches 0.0%) 16:10 4:3 21:9 3:2 1:1 9:16 2:3 CSS preserve-aspect: aspect-ratio: 16 / 9;

The complete output for that input. Heights are rounded to whole pixels, which is why 1080 px wide at 16:9 reads 608 instead of 607.5.

1600, 900becomesOriginal: 1600 x 900 (16:9) Ratio: 1.7778 (decimal) Common targets (matching this ratio 16:9): 1920px wide: 1920 x 1080 1280px wide: 1280 x 720 1200px wide: 1200 x 675 1080px wide: 1080 x 608 800px wide: 800 x 450 640px wide: 640 x 360 480px wide: 480 x 270 320px wide: 320 x 180 Closest standard ratios: 16:9 (matches 0.0%) 16:10 4:3 21:9 3:2 1:1 9:16 2:3 CSS preserve-aspect: aspect-ratio: 16 / 9;

With no third number there is no Scaled to width row, and the ratio still reduces to 16:9 because 1600 and 900 share a factor of 100.

When to use it

What it does not do