What an aspect ratio is
An aspect ratio is written as width:height, such as 16:9. It describes the shape, not the size. A 1920×1080 image and a 1280×720 image are different sizes with the same shape, so both are 16:9.
The ratio stays the same if you multiply or divide both sides by the same number. That is why a screen and its downscaled preview can have the same shape despite different pixel counts.
Calculating the ratio from pixels
Divide both numbers by their greatest common divisor (GCD). For 1920×1080, the GCD is 120, so the ratio is 16:9. For 1600×1200 the GCD is 400, which gives 4:3. For 1080×1350 the GCD is 270, which gives 4:5. A square, such as 1080×1080, is 1:1.
If you do not want to work out the GCD, divide the width by the height. 1920 ÷ 1080 = 1.777…, which is 16 ÷ 9. Comparing that decimal with a known ratio also works.
| Resolution | Ratio | Typical use |
|---|---|---|
| 1920 × 1080 | 16:9 | Full HD video and monitors |
| 3840 × 2160 | 16:9 | 4K UHD video |
| 1600 × 1200 | 4:3 | Older monitors, many compact cameras and tablets |
| 1080 × 1080 | 1:1 | Square posts |
| 1080 × 1350 | 4:5 | Portrait posts on many social platforms |
| 1080 × 1920 | 9:16 | Vertical stories and short videos |
Finding the missing dimension
To keep the shape when you change the width, use height = width × (ratio height ÷ ratio width). At a width of 1,200 pixels, a 16:9 image needs a height of 1,200 × 9 ÷ 16 = 675 pixels. A 4:5 image that is 1,080 pixels wide needs to be 1,080 × 5 ÷ 4 = 1,350 pixels tall, and a 9:16 image 1,080 wide needs 1,920 tall.
Always round to a whole number of pixels, and if the result is fractional, check whether the tool you use is happy with it. Some video formats also need even dimensions.
When the image does not match the target
- Crop: cut away part of the image so it fits the ratio. You lose edges but keep the proportions. Choose the crop so the subject stays inside.
- Pad (letterbox): keep the whole image and add bars or a background colour to fill the extra space. Nothing is lost, but the bars may look dated.
- Stretch: change the width and height independently. This distorts faces and circles, so avoid it.
- Plan ahead: when taking photos for a specific shape, leave space around the subject so you can crop to several ratios later.
Lock the aspect ratio when resizing. Changing only one dimension and letting the other follow keeps the picture undistorted.
Aspect ratio on the web
In CSS, the aspect-ratio property keeps a box in proportion, for example aspect-ratio: 16 / 9. It prevents layout shifts as images and videos load. Also set width and height attributes on images so the browser reserves the right space before the file arrives.
Provide images at several sizes with the same ratio, and let the browser choose, so mobile users do not download a huge file.
Frequently asked questions
What is the aspect ratio of 1920×1080?
16:9. Divide both numbers by 120, their greatest common divisor, to get 16 and 9.
How do I resize an image without stretching it?
Change width and height by the same proportion, which most tools do when "lock aspect ratio" is on. Or crop the image to the target ratio first.
What is the difference between 4:3 and 16:9?
4:3 is nearly square and was common for older screens. 16:9 is a wider rectangle and is now standard for video and most monitors.
Does the aspect ratio change the quality?
The ratio itself does not. Quality depends on resolution and compression. Cropping or upscaling a small image can reduce apparent quality.
Try these tools
Aspect Ratio Calculator
Find the simplified aspect ratio of any width and height, then scale to a new width or height while keeping proportions. Includes 16:9, 4:3 and 21:9 presets.
Open toolImage Resizer
Resize JPG, PNG and WebP to exact pixels, a percentage, or a ready-made size — Instagram, YouTube, 1920×1080, passport and more. Free, private, no upload.
Open toolCrop Image
Crop any photo online with a drag box and ratio presets: 1:1, 4:5 and 9:16 for Instagram, 16:9, 4:3, 3:2 and more. Runs in your browser, never uploaded.
Open toolPX to REM Converter
Convert pixels to rem and em, and back, with a custom root font size. Includes a table of common sizes from 8px to 64px and a copy-ready CSS declaration.
Open toolImage Compressor
Reduce image file size up to 90%, or compress an image to a target size like 100 KB. JPG, PNG and WebP, in your browser. Free, private, no upload.
Open toolKeep reading
Percentage calculations made simple, with everyday examples
Learn the five percentage calculations you use every day: percent of a number, percentage change, reverse percentages and successive discounts, with worked examples.
Read guideHow to convert currency offline when travelling abroad
No signal abroad? Learn how to convert currencies offline, what the mid-market rate is, how to spot a bad exchange deal and how to check prices before you pay.
Read guideHow to make a shopping list that saves time and money
A better shopping list means fewer forgotten items, less impulse buying and a faster shop. Learn how to organise, share and reuse your grocery list, with a simple routine.
Read guide