A video that fills your television leaves black bars on a different screen. A photo that looks right on your phone comes out stretched when you force it into the wrong frame. Both problems come down to one pair of numbers: the aspect ratio, the relationship between how wide an image is and how tall it is.

This guide explains what an aspect ratio is, how a pair of pixel dimensions is reduced to its simplest ratio, and how the free Aspect Ratio Calculator on Ovatly works out the matching dimension when you resize, so the picture keeps its shape.

Contents

  • Quick answer
  • What an aspect ratio actually is
  • How a ratio is simplified
  • The decimal form
  • The common ratios
  • How to find a ratio and resize, step by step
  • Worked example: 1920 x 1080, resized to 720 high
  • Why near-misses are not the same ratio
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

An aspect ratio is a width and a height compared as two numbers, such as 16:9. To find it, divide both dimensions by their greatest common divisor: 1920 x 1080 divides by 120 to give 16:9. To resize without distortion, pick the one new dimension you know and calculate the other from the ratio, rather than choosing both. The Aspect Ratio Calculator does both jobs: enter a width and height to read the simplified ratio and its decimal form, then enter a new width or height in the resize box to get the matching other dimension.

What an aspect ratio actually is

An aspect ratio is not a size. It is a proportion. A 16:9 frame is 16 units wide for every 9 units tall, whether the frame is a phone screen or a cinema screen. Two images can share a ratio and be different sizes, and two images can share a pixel width and have different ratios because their heights differ.

This is why ratio, not resolution, decides whether an image fits a screen cleanly. When the ratio of the image matches the ratio of the space it goes into, it fills the space exactly. When the two ratios differ, something has to give: the image is cropped, padded with bars, or stretched. Video editors, designers and developers check ratios constantly, often just to confirm that footage really is the 16:9 it claims to be.

How a ratio is simplified

Any width and height can be written as a ratio in its raw form: 1920 x 1080 is 1920:1080. That is correct but unreadable, so the convention is to reduce it to the smallest whole numbers that keep the same proportion. The reduction uses the greatest common divisor, the largest number that divides both sides evenly.

For 1920 and 1080 the greatest common divisor is 120. Divide both sides by 120 and 1920:1080 becomes 16:9. Every pair of dimensions that reduces to 16:9 has exactly the same shape: 1280 x 720, 1920 x 1080 and 3840 x 2160 are all the same proportion at different sizes.

The same method works for any dimensions. A 4032 x 3024 photo reduces to 4:3. When the dimensions are not whole numbers, the calculator works the ratio out at a precision of four decimal places before reducing.

The decimal form

A ratio can also be written as a single decimal: the width divided by the height. For 16:9 that is 1.7778 : 1, about 1.78 times as wide as it is tall. The decimal form is handy when you need to multiply: a height of 720 gives a matching width of 720 x 1.7778, which lands on exactly 1280. The calculator shows both forms, the simplified ratio and the decimal, because each is easier for different jobs.

The common ratios

Most screens, cameras and formats use a small set of standard ratios. The calculator checks your reduced ratio against this common set: 16:9, 4:3, 21:9, 1:1, 3:2 and 9:16.

16:9 is the standard video frame, the shape of 1920 x 1080 and 1280 x 720. 4:3 is the older, squarer shape, still common in photos such as 4032 x 3024. 21:9 is the ultrawide shape: at 1080 high it needs a width of 2520. 1:1 is a square. 3:2 sits between 4:3 and 16:9. 9:16 is 16:9 turned on its side, the vertical shape. Knowing which of these your dimensions reduce to tells you immediately which screens and slots the image will fit without bars or cropping.

One caution from the ultrawide world: a label is not a measurement. Many monitors sold as ultrawide are actually 3440 x 1440, which reduces to 43:18, a slightly different ratio from 21:9.

How to find a ratio and resize, step by step

  1. Open the Aspect Ratio Calculator.
  2. Enter the current width and height of your image or video.
  3. Read the simplified ratio and its decimal form. The tool also reports whether the reduced ratio exactly matches one of the common ratios listed above.
  4. In the resize box, choose which new dimension you know, a width or a height, and enter it.
  5. Read the matching other dimension, and use that pair of numbers in your editor, design tool or code.

Worked example: 1920 x 1080, resized to 720 high

Take a video frame of 1920 x 1080. The two dimensions share a greatest common divisor of 120, so the ratio reduces to 16:9, or 1.7778 : 1 in decimal form. That matches the common-ratios list, so the footage is genuinely 16:9.

Now resize it to a height of 720. The matching width is 720 x 16/9, which is exactly 1280. The result, 1280 x 720, is the familiar 720p frame: the same shape as the original, at a smaller size. Had you picked a width of 1200 to go with that height instead, the frame would no longer be 16:9 and the picture would come out visibly squeezed.

Why near-misses are not the same ratio

Close is not equal. A frame of 1920 x 1030 looks like it should be 16:9, but it reduces to a different ratio and does not match. The difference is only 50 pixels of height, yet putting that frame into a true 16:9 slot still forces the same three choices: crop, pad or stretch. This is why the calculator reports an exact match or no match against the common set, and never rounds a near-miss up to a standard ratio.

Limitations

An aspect ratio describes shape and nothing else. It tells you nothing about resolution, file size or image quality: a 160 x 90 thumbnail and a 3840 x 2160 frame are both 16:9. The calculator works with the dimensions you give it, so a wrong input dimension produces a confidently wrong ratio. For non-integer dimensions the ratio is computed at four decimal places of precision before reducing. And the calculator works out dimensions only; changing the actual pixels is a job for your image or video editor, using the numbers the calculator gives you.

Common mistakes

  • Assuming a label is the ratio. A file called "16:9" or a monitor sold as ultrawide may not reduce to that ratio. Check the real dimensions, as the 3440 x 1440 case shows.
  • Choosing both dimensions when resizing. Setting a new width and a new height independently almost always breaks the ratio and stretches the picture. Change one, calculate the other.
  • Treating a near-miss as a match. 1920 x 1030 is not 16:9. Small differences still produce bars or distortion in a fixed slot.
  • Confusing ratio with size. Upscaling a 16:9 image keeps it 16:9. The ratio cannot tell you whether the image is big enough for the slot; that is a separate question about pixel count.

FAQs

How is an aspect ratio simplified? Divide both sides by their greatest common divisor. For 1920 x 1080 the divisor is 120, giving 16:9.

What resolution is 21:9 at 1080 high? Width = 1080 x 21/9 = 2520. Note many 'ultrawide' monitors are actually 3440 x 1440, a slightly different ratio of 43:18.

Why does my photo not fill the screen? A 4:3 photo (for example 4032 x 3024) on a 16:9 screen leaves bars, because the ratios differ. Cropping or letterboxing is unavoidable without distortion.

Is 1920 x 1030 the same as 16:9? No. The calculator reports whether the reduced ratio exactly matches the common set, and near-misses like 1920 x 1030 are not 16:9 and are not claimed to be.

What happens if I set the width and height independently when resizing? The picture stretches. Resizing to the matching dimension the calculator gives you, instead of choosing both dimensions yourself, is what prevents that distortion.

Conclusion

Aspect ratio is a small idea that explains a lot of everyday annoyance: bars, crops and stretched faces all come from a mismatch between the shape of an image and the shape of the space it was put into. Reduce the dimensions to their simplest ratio, compare it with the common set, and when you resize, let one dimension follow from the other. The Aspect Ratio Calculator does that arithmetic for you in your browser. When the job is the other way round, fitting footage of one shape into a frame of another without losing any of the picture, read our companion guide, How to Resize a Video to 16:9 Without Cropping the Picture. More tools in this family live in the Calculators guides collection.