Aspect Ratio Calculator

Enter a width and height to see its simplified ratio, then pick a target ratio to get the height for your width or the width for your height. Use it to resize covers, thumbnails and clips without stretching them.

How to use the Aspect Ratio Calculator

  1. Enter the width and height of your image or video.
  2. Read the simplified ratio of that size.
  3. Pick a target ratio from the list, or choose Custom and type one like 5:4.
  4. Use the height for your width, or the width for your height, as the new size.

How the ratio is found

The ratio of a size is its width and height divided by their greatest common divisor. For 1920 by 1080 the divisor is 120, so the ratio is 16:9.

To resize, new height = width x ratio height / ratio width. Worked example: a 1280 pixel wide 16:9 image needs 1280 x 9 / 16 = 720 pixels in height. A 1080 pixel tall 9:16 image needs 1080 x 9 / 16 = 607.5 for width, shown as 608 pixels after rounding.

Rounding and platforms

Pixels are whole numbers, so a result with a fraction is rounded and the real ratio is then off by a tiny amount. Many video encoders prefer even numbers, so pick the nearest even size if yours complains. The tool does not know the size rules of any platform; check the platform spec before you export.

Frequently asked questions

Why is my result rounded?

Pixels are whole numbers. When the exact result has a fraction, the tool rounds it and says so.

Does the size need to be whole numbers?

To simplify the ratio, yes. Resizing still works with other values, but the ratio line stays empty.

Can I type a ratio as a decimal?

Yes. A custom value like 1.78 is read as 1.78:1.

What is the ratio for a YouTube thumbnail?

The YouTube Help Center asks for 16:9. The Thumbnail Checker on this site tests that.