How to use this aspect ratio calculator
- Enter the original width and height of your image, or pick a common ratio preset.
- Type the new width you want and leave the height blank to have it solved for you.
- Read the proportional height, which keeps the image undistorted at that width.
- Check the simplified ratio to see what shape you are actually working with.
- Take those numbers to the image resizer and apply them.
What this calculator gives you
- Solves for whichever dimension you leave blank, in either direction.
- Reduces the ratio to its simplest whole-number form using the greatest common divisor.
- Shows the decimal ratio as well, which is what design software usually wants.
- Presets for 16:9, 4:3, 1:1, 3:2, 4:5 and 21:9 to save typing.
- Recalculates as you type, with no submit button anywhere.
- Warns when a requested pair of dimensions would distort the image.
What an aspect ratio describes
The aspect ratio is the relationship between an image's width and its height, expressed as two numbers with a colon between them. A 1920 by 1080 image is 16:9, because both dimensions divide cleanly by 120 to give 16 and 9. The ratio says nothing about how big the image is. A 3840 by 2160 image is also 16:9, and so is a 640 by 360 thumbnail.
That independence from size is exactly why the ratio matters. Change the size while keeping the ratio and the picture looks identical, just larger or smaller. Change the ratio and everything in the frame stretches or squashes, which is immediately obvious to any viewer and almost never what anyone intended.
Ratios you will meet regularly
- 16:9: video, presentation slides, most monitors and page-width banners.
- 4:3: older displays, many tablets and a great deal of archive photography.
- 3:2: the classic 35mm frame, still standard on most cameras, and 6×4 inch prints.
- 1:1: profile pictures, marketplace thumbnails and grid layouts.
- 4:5: the tallest portrait shape most social feeds display without cropping it themselves.
- 21:9: ultrawide monitors and cinematic video framing.
The arithmetic behind it
Finding a proportional dimension is a single division. Divide the original width by the original height to get the ratio as a decimal, then multiply your new height by that number to get the matching width, or divide your new width by it to get the matching height. A 1920 by 1080 image has a decimal ratio of 1.7778, so at 1200 pixels wide the correct height is 1200 ÷ 1.7778, which is 675.
Simplifying to whole numbers uses the greatest common divisor. For 1920 and 1080 that divisor is 120, giving 16:9. This calculator does both at once, which saves reaching for a calculator app and getting the division the wrong way round.
What to do when the ratio has to change
Sometimes a destination demands a shape your image is not. A landscape photograph will not become a square without something being lost, and stretching is not the answer. There are three honest options.
Crop it, keeping the part that matters and discarding the rest, usually the best result, and the image cropper has ratio presets that snap to the shape you need. Pad it, placing the whole image inside a frame of solid colour, which is common for product photography on marketplaces. Or fit the image inside the target box and accept the empty space. What you should not do is untick the aspect ratio lock in the image resizer and stretch, because everybody can see it.
Ratios in layout work
Aspect ratios matter beyond individual images. Reserving space for an image using its ratio, rather than letting the browser discover the height once the file loads, prevents the page jumping as content arrives, which is what the cumulative layout shift metric measures. Knowing the ratio in advance is the whole trick, and this calculator gives it to you in one step. For print work, pair it with the DPI calculator to check the image has enough pixels for the physical size as well as the right shape.