What is an aspect ratio?
The aspect ratio of an image is the shape of its rectangle, written as width to height. A 1920 by 1080 photo has a ratio of 16 to 9. A 1000 by 1000 photo has a ratio of 1 to 1. The numbers in pixels can be huge, but the ratio is always small and simple.
The ratio matters because every screen, frame and print size expects a certain shape. When the ratio is wrong, the image gets cropped or stretched. A face that should be round becomes an oval. Knowing the ratio before you resize, crop or print saves you from that.
How to use the calculator
Type the width and height of your image in pixels into the two boxes. Press the button and the tool shows the ratio in its simplest form, like 16:9 or 4:3, and places it on a bar from portrait to widescreen.
If you also want a new size, type the new width into the third box. The tool works out the height that keeps the same ratio. For example, a 1920 by 1080 image at 1280 wide needs a height of 720 pixels. Change any number and the result updates at once.
Worked example: 1920 by 1080
A photo is 1920 pixels wide and 1080 pixels tall. The greatest common divisor of 1920 and 1080 is 120. Divide both sides by 120 and you get 16 and 9, so the ratio is 16:9.
Now shrink it to 1280 wide. The height is 1280 times 1080 divided by 1920, which is 720. The new size is 1280 by 720, still 16:9. A square version would need a crop, because no square size keeps the 16:9 shape. The calculator shows this in seconds, with no maths by hand.
Common ratios and where they fit
The ratio 16:9 is the standard for video, YouTube, TVs and most laptop screens. The ratio 4:3 is the classic photo and old TV shape, still common in cameras. The ratio 1:1 is a square, used for profile pictures and Instagram posts.
Phones use tall ratios like 9:16 for vertical video and stories. Print sizes have their own ratios too: an A4 page is about 1 to 1.41. When a site asks for a banner of 1500 by 500, that is a 3 to 1 ratio, and your image must be cropped to that shape or it will not fit.
Limits of this calculator
The tool works with numbers you type, so it is only as good as those numbers. If you guess the size, the ratio will be wrong too. Check the real size in your file manager or photo app first.
The calculator also cannot fix a photo that is already stretched. It can only tell you the right size. To fix a stretched image you must go back to the original file and resize it with the ratio locked. Cropping always loses part of the picture, so frame your shot with the final ratio in mind when you can.
Frequently asked questions
What does 16:9 mean? It means the image is 16 units wide for every 9 units tall. Any size with that shape, from 160 by 90 to 3840 by 2160, has the same ratio.
How do I keep the ratio when resizing? Change one side and let the other side follow the ratio. This calculator gives you the exact other side.
Why does my image look stretched? Because the width and height were changed by different amounts. The ratio changed, so circles became ovals.
Can I turn a landscape photo into a square? Only by cropping the sides or adding borders. A square and a landscape photo have different ratios, so one must give way.
También disponible en español: Calculadora de Proporción para Imágenes.
