ZYSNOR

Glossary · Photo, video and media

What is Aspect Ratio? Meaning, Formula and Example (16:9, 4:3, 1:1)

By , Founder of ZYSNOR · Updated · Checked · 5 min read

In simple words

Aspect ratio is the relationship between the width and the height of an image, screen or video, written as two numbers such as 16:9 or 1:1. It describes the shape, not the size: a small and a large 16:9 image have the same shape.

Aspect ratio is written width first, then height. A ratio larger than 1 (such as 16:9) is landscape, smaller than 1 (such as 9:16) is portrait, and exactly 1 (1:1) is square.

Formula

Aspect ratio = width ÷ height. To keep the shape when resizing, new height = new width × (original height ÷ original width).

Common ratios

Table of 16:9, 9:16, 4:3, 3:2 and 1:1 with decimal values and uses
Same ratio, same shape: 1280 × 720 and 3840 × 2160 are both 16:9.

Worked example: resizing without stretching

A Full HD video frame is 1920 × 1080 pixels.

  • Ratio: 1920 ÷ 1080 = 1.777…, which is 16:9 (both numbers divide by 120: 1920 / 120 = 16 and 1080 / 120 = 9).
  • Resize to 1280 px wide: 1280 × 1080 / 1920 = 720 px high, giving 1280 × 720.
  • Resize to 640 px wide: 640 × 1080 / 1920 = 360 px high.
Bar chart of new heights 2160, 1080, 720 and 360 px for widths 3840, 1920, 1280 and 640
Keep the ratio and every new size has the same shape.

When the ratios do not match

Showing a picture of one ratio on a screen of another leaves three choices:

  • Fit (letterbox or pillarbox): show the whole picture with black bars top and bottom, or at the sides.
  • Fill (crop): fill the screen and cut off part of the picture.
  • Stretch: fill the screen by distorting the picture. This is almost always the wrong choice.
A 4:3 picture 1440 × 1080 on a 1920 × 1080 screen with 240-pixel bars at each side
Fitting 4:3 into 16:9 leaves two side bars of 240 px.

Check the numbers: at the full screen height of 1080 px, a 4:3 picture is 1080 × 4 / 3 = 1440 px wide. The space left is 1920 − 1440 = 480 px, split into two bars of 480 / 2 = 240 px.

On the web

In CSS, the aspect-ratio property keeps a box at a fixed shape as it resizes, and giving images width and height attributes lets the browser reserve the right space before the image loads, so the page does not jump.

Step by step: resizing an image to a required size

  1. Check the ratio of the original (width ÷ height) and the ratio required.
  2. If they match, enter one side and let the other be calculated.
  3. If they do not match, crop first to the required ratio, choosing what to keep.
  4. Then resize to the exact pixel size.
  5. Check the result at 100% zoom for stretching or soft detail.

Common mistakes

  • Typing a new width and height that do not match the original ratio, so the image stretches.
  • Confusing aspect ratio (shape) with resolution (number of pixels).
  • Cropping when you only meant to resize, or resizing when the site needs a crop.
  • Uploading landscape video where a platform shows vertical 9:16, so most of the frame is lost.

Related terms

Frequently asked questions

Is 1920 × 1080 the same ratio as 3840 × 2160?

Yes. Both are 16:9; 3840 × 2160 is exactly twice as wide and twice as tall.

Why is aspect ratio written with a colon?

It is a ratio of two numbers; 16:9 means 16 units wide for every 9 units high.

Sources

← All glossary terms