Glossary · Photo, video and media
What is Aspect Ratio? Meaning, Formula and Example (16:9, 4:3, 1:1)
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
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.
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.
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
- Check the ratio of the original (width ÷ height) and the ratio required.
- If they match, enter one side and let the other be calculated.
- If they do not match, crop first to the required ratio, choosing what to keep.
- Then resize to the exact pixel size.
- 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
- Photo, video and mediaGlossary term
Pixel
A pixel (short for "picture element") is the smallest dot of colour in a digital image or on a screen. Images are grids of millions of pixels; the more pixels, the more detail the image can hold.1 min read · Added 20 Nov 2026 - Photo, video and mediaGlossary term
Resolution (HD, 4K)
Resolution is the number of pixels in an image or screen, written as width × height, for example 1920 × 1080. More pixels can show more detail, but the file is also bigger.2 min read · Added 20 Nov 2026
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.