Aspect Ratio Calculator

Enter a width and height to get the simplified aspect ratio, then work out the missing side for any new size or preset ratio.

What an aspect ratio is

The aspect ratio of an image, screen or video frame is the relationship between its width and its height, written as two numbers separated by a colon. A 16:9 frame is 16 units wide for every 9 units tall, whatever its actual size: a phone video at 1280 × 720 and a 4K television at 3840 × 2160 share the same 16:9 shape.

Ratios are also written as a single decimal, width ÷ height. 16:9 is 1.78:1, the classic cinema "scope" format is about 2.39:1, and a square is 1:1. Ratios below 1 describe portrait (taller than wide) formats such as 9:16 vertical video or 4:5 social media posts.

How the ratio is simplified

To reduce width × height to its simplest form, divide both by their greatest common divisor (GCD), found with Euclid's algorithm:

ratio = (W ÷ GCD(W, H)) : (H ÷ GCD(W, H))

For 1920 × 1080 the GCD is 120, so the ratio is 1920 ÷ 120 : 1080 ÷ 120 = 16:9. Some popular resolutions do not reduce neatly. The laptop resolution 1366 × 768 is exactly 683:384, which is within 0.05% of 16:9 and is sold as 16:9. Likewise, "21:9" ultrawide monitors are really 64:27 (2560 × 1080) or 43:18 (3440 × 1440). When the exact ratio has large numbers, the calculator also names the nearest common ratio.

Resizing without distortion

To change the size of an image while keeping its shape, fix one side and calculate the other from the ratio:

new height = new width × H ÷ W, new width = new height × W ÷ H

Example (the defaults): a 1920 × 1080 image scaled to a width of 1280 px needs a height of 1280 × 9 ÷ 16 = 720 px, a scale factor of 66.67%. If the result is not a whole number, round it — a difference of less than one pixel is invisible — or choose a width that is a multiple of the ratio's first number (for 16:9, multiples of 16) to get exact integers.

You can also pick a preset target ratio. Cropping a 16:9 photo to a 4:5 portrait post with a width of 1080 px, for example, needs a height of 1080 × 5 ÷ 4 = 1350 px.

Common ratios and where they are used

RatioDecimalTypical use
1:11.00square social posts, album art
4:31.33older TVs and monitors, many tablets
3:21.5035 mm film and most camera sensors
16:101.60laptops and productivity monitors
16:91.78HD and 4K video, TVs, most monitors
21:9 (≈2.37)2.33–2.39ultrawide monitors, cinema
9:160.56vertical phone video and stories
4:50.80portrait photo posts

When a video's ratio does not match the screen, players add black bars (letterboxing top and bottom, pillarboxing left and right) instead of stretching the picture.

Frequently asked questions

Is 1920 × 1080 the same as 16:9?

Yes. Both numbers divide by 120, giving exactly 16:9. So do 1280 × 720, 2560 × 1440 and 3840 × 2160.

Is 21:9 really 21:9?

Not exactly. It is a marketing name. 2560 × 1080 is 64:27 (2.37:1) and 3440 × 1440 is 43:18 (2.39:1); true 21:9 would be 2.33:1.

Can I use decimals?

Yes. Decimal sizes such as 2.35 × 1 are scaled up before simplifying, so 2.35:1 becomes 47:20.

Does the ratio change the image quality?

No. Quality depends on the number of pixels. The ratio only describes the shape, which is why a 720p and a 4K video can both be 16:9.

Last reviewed: