📐 Aspect Ratio Calculator

Scale a width or height to match a target aspect ratio, and see the simplified ratio (like 16:9) for any pair of dimensions.

How the ratio and the scaled size are worked out

The original width and height become a single decimal ratio, and everything else is built from that one number:

ratio = origWidth / origHeight
simplified = (origWidth / g) : (origHeight / g)   where g = gcd(origWidth, origHeight)
solvedHeight = newWidth / ratio
solvedWidth  = newHeight × ratio

With the defaults, 1920 / 1080 gives a ratio of 1.7778, and the greatest common divisor of 1920 and 1080 is 120, so the simplified ratio is 16:9. Ask for a new width of 1280 and the height comes back as 1280 / 1.7778 = 720.0. Fill in both new boxes instead and the tool compares newWidth / newHeight against the original ratio, calling it a match when the two differ by less than 0.001.

Filling the boxes

The simplified ratio rounds your originals to whole numbers before taking the divisor. 1920.5 × 1080 rounds to 1921 × 1080, which share no factor, so you get 1921:1080 rather than something near 16:9.

Frequently asked questions

What is 1920x1080 as an aspect ratio?

16:9. Both numbers divide by 120, leaving 16 and 9, which is 1.7778 as a decimal.

What height do I need for a 1280 pixel wide 16:9 image?

720 pixels. Divide 1280 by 1.7778. The same ratio gives 1080 for a 1920 width and 360 for a 640 width.

Why is my ratio shown as something like 683:384 instead of 16:9?

Your two numbers have no large common factor. 1366 × 768 laptop screens do this - they are close to 16:9 at 1.7786, but not exactly, so the reduced form stays ugly.