Aspect Ratio Calculator Guide: Resize Images and Video Without Distortion

Stretch a photo to fit a frame and faces widen, circles become ovals, and the whole image feels wrong. The cause is a changed aspect ratio: the relationship between width and height. The Aspect Ratio Calculator finds that relationship for any dimensions, and works out the missing width or height when you know the ratio and one side. It is a small calculation that prevents one of the most visible design mistakes.

Aspect ratio is written as width to height, such as 16:9. It describes shape, not size: a phone screen, a cinema screen and a small video thumbnail can all be 16:9 while differing hugely in pixels. The ratio comes from dividing both dimensions by their greatest common divisor, the largest number that divides both exactly. A 1920 by 1080 image divides by 120 to give 16 by 9, because 1920 divided by 120 is 16 and 1080 divided by 120 is 9. A 1200 by 800 image divides by 400 to give 3 by 2. The calculator performs that simplification instantly, including for odd dimensions where the divisor is not obvious.

Common ratios cluster around familiar uses. Television, video and most modern screens use 16:9. Older television and some tablets use 4:3. Many cameras produce 3:2 stills, a legacy of 35mm film. Square social posts use 1:1. Vertical video and stories use 9:16, which is 16:9 turned on its side. Portrait prints often use 4:5 or 5:7. Knowing the ratio of your source and your destination tells you immediately whether a resize is safe: same ratio means a clean scale, different ratio means you must crop, pad or accept distortion, and distortion is almost never the right choice.

To use the calculator, enter the width and height you have to get the ratio, or enter the ratio and one dimension to get the other. For the second mode, the arithmetic is proportional: new height equals new width divided by the ratio's width, multiplied by the ratio's height. If you know a video must be 1280 pixels wide at 16:9, the height is 1280 divided by 16, which is 80, multiplied by 9, which is 720. That is why 720p video is 1280 by 720. Keep units consistent: pixels with pixels, centimetres with centimetres, and never mix the two in one calculation.

A worked example you can follow

Take a photograph measuring 1920 by 1080 pixels. Find the greatest common divisor: both numbers divide by 120, giving 16 and 9, and 16 and 9 share no larger common divisor, so the ratio is 16:9. Now resize it to a width of 800 pixels at the same ratio. Divide 800 by 16 to get 50, then multiply by 9 to get 450, so the new height is 450 pixels, and the resized image is 800 by 450. Check the reverse: 800 divided by 450 simplifies by dividing both by 50, giving 16 and 9 again, confirming the ratio survived. A second example: a 1200 by 800 image divides by 400 to give 3 by 2. Resizing it to a height of 600 pixels gives a width of 600 divided by 2, which is 300, multiplied by 3, which is 900, so the result is 900 by 600, still 3:2.

Try the failure case to see why the check matters. Forcing the 1920 by 1080 image into a 1000 by 1000 square would change the ratio from 16:9 to 1:1, squeezing the width far more than the height. Faces would narrow, circles would become tall ovals, and the distortion would be obvious. The correct approaches are to crop the sides to a square section, which keeps proportions but loses content, or to letterbox with padding, which keeps the whole image but adds bars. The calculator's ratio output tells you which situation you are in before you commit to either.

Common mistakes to avoid

The most common mistake is resizing by dragging a corner without locking proportions, which changes the ratio silently. A second mistake is confusing ratio with resolution: a 16:9 image can be tiny or huge, and enlarging it does not add detail. A third mistake is mixing orientations: 16:9 landscape and 9:16 portrait are different ratios, and swapping them rotates the problem rather than solving it. A fourth mistake is rounding carelessly: a height of 449.5 pixels must become a whole number, and rounding one side without checking can shift the ratio slightly, which matters for video encoding where exact dimensions are often required to be even numbers.

Aspect ratio thinking helps beyond images. Slide decks, video exports, print layouts and responsive web design all depend on it. When a layout breaks on a narrow screen, the cause is often a fixed-ratio element meeting a container of a different ratio, and the fix is cropping, reflowing or choosing a ratio that fits the container. For related sizing work, the Zoom Lens Crop Factor Calculator covers camera framing, and the Percentage Calculator helps with scale percentages.

Frequently asked questions

What is the difference between aspect ratio and resolution? Ratio describes shape, the relationship of width to height. Resolution describes size, the number of pixels. Two images can share a ratio at very different resolutions.

How do I convert a landscape ratio to portrait? Swap the numbers: 16:9 landscape becomes 9:16 portrait. The shape rotates, and content framed for one orientation rarely fits the other without cropping.

Why do videos need even dimensions? Many video codecs process pixels in blocks of two, so odd widths or heights can cause encoding errors or extra padding. When a calculator returns an odd number, round to the nearest even value and recheck the ratio.

For image handling background, see Image Format Guide. Aspect ratio is a habit more than a formula: check the shape before you resize, and your images will stop stretching, squashing and surprising you.