An aspect ratio describes the shape of an image, video or screen, not its size. A small thumbnail and a huge monitor can share the same 16:9 shape. Keeping the ratio when you resize is what stops things looking stretched.
Finding the ratio
Divide the width and height by the largest number that divides both exactly, their greatest common divisor.
Divide both by 120
1,920 ÷ 120 : 1,080 ÷ 120equals16:9
As a decimal
1,920 ÷ 1,080equals1.7778
Resizing without distortion
To find the new height for a new width, multiply the new width by the original height and divide by the original width. A 1920 × 1080 image resized to 1280 wide should be 720 high.
- Portrait social post, 1080 × 1350: that is 4:5. At 1200 wide it should be 1500 high.
- Vertical phone video, 1080 × 1920: that is 9:16. At 720 wide it should be 1280 high.
Common ratios
- 16:9 for most video, TVs and monitors.
- 9:16 for vertical video on phones.
- 4:5 and 1:1 for portrait and square social posts.
- 4:3 for older screens and many tablets.
- 3:2 for many camera sensors and printed photos.
Some screen sizes do not reduce to a neat ratio. The common laptop resolution 1366 × 768 works out to 683:384. It is close to 16:9, but not exact, which is why video on those screens can show thin black bars.
In CSS
The aspect-ratio property keeps an element in shape as its width changes. Writing aspect-ratio: 16 / 9 on a video container is enough to stop layout jumps while the video loads.
Cropping vs letterboxing
When media does not match the space it has to fill, there are two options. Cropping cuts off the edges so the image fills the frame, which works for photos but can cut off important content. Letterboxing keeps the whole image and adds bars, black or blurred, to fill the gaps. In CSS these match object-fit: cover and object-fit: contain.
The safest approach for content that will appear in many places, such as a product photo or a video thumbnail, is to keep the important subject near the centre, so it survives cropping to 16:9, 1:1 or 4:5.
When the ratio is not a neat number
Dividing by the greatest common divisor gives the exact ratio, but it is not always the familiar one. 1920 × 1080 divides by 120 to give 16:9. A 1366 × 768 laptop screen only divides by 2, giving 683:384, which is 1.779 and almost identical to 16:9's 1.778, so it is marketed as 16:9. "21:9" ultrawide monitors at 2560 × 1080 are really 64:27, about 2.37. For practical work, compare the decimal ratio (width ÷ height) rather than insisting on small whole numbers.
Sizes that work on common platforms
- 16:9 landscape video, such as 1920 × 1080: YouTube, presentations and most screens.
- 9:16 vertical, 1080 × 1920: Stories, Reels, Shorts and TikTok.
- 4:5 portrait, 1080 × 1350: takes up more of the feed than a square post on Instagram.
- 1:1 square, 1080 × 1080: still accepted everywhere.
- 3:2, 6000 × 4000: the native shape of many camera sensors, and common for print.
Platforms change their preferred shapes from time to time, so check the current recommendations before a big campaign, and keep important text away from the edges, where apps may place buttons or crop.
Keeping images from stretching on the web
In CSS, set width: 100% and height: auto on images so they scale without distortion. When an image must fill a box of a different shape, such as a card thumbnail, use object-fit: cover to crop it neatly instead of squashing it, and object-position to choose which part stays visible. Setting the aspect-ratio property on the container also reserves the space before the image loads, which prevents the page from jumping.
Resizing: worked examples
- A 1920 × 1080 (16:9) image resized to 1280 wide: new height = 1280 × 1080 ÷ 1920 = 720.
- A 1080 × 1350 (4:5) portrait resized to 720 wide: height = 720 × 1350 ÷ 1080 = 900.
- A 4000 × 3000 (4:3) photo cropped to 16:9 at full width: height = 4000 × 9 ÷ 16 = 2250, so 750 pixels are cropped from the height.
Choosing a ratio before you shoot or design
Decide where the content will be used before creating it. Shooting in 16:9 and cropping to 9:16 for vertical video throws away most of the frame, so a wider framing with the subject in the centre gives you more options. For design work, set up artboards in the final ratio from the start, and keep important text inside a safe central area that survives cropping to other ratios.
Tip: When the new height comes out as a decimal, pick a width that is a multiple of the ratio's first number, such as a multiple of 16 for 16:9, to get whole pixels.
Questions people ask
- How do I find the aspect ratio of an image?
- Divide width and height by their greatest common divisor. 1920 × 1080 divided by 120 is 16:9.
- How do I resize an image without distortion?
- New height = new width × original height ÷ original width. 1920 × 1080 resized to 1280 wide should be 720 high.
- What aspect ratio should I use for social posts?
- 4:5 or 1:1 for portrait and square feed posts, and 9:16 for vertical phone video.
- Is 1366 × 768 really 16:9?
- Not exactly. It reduces to 683:384, a ratio of 1.779, which is close enough to 16:9's 1.778 that it is sold as 16:9.
- How much do I crop to turn a 4:3 photo into 16:9?
- At 4000 × 3000, a 16:9 crop at full width is 4000 × 2250, so 750 pixels of height are removed.