ToolPick

Aspect ratio calculator

Reduce a width and height to a simplified aspect ratio such as 16:9, or enter a ratio and one side to find the other side. Presets for 16:9, 4:3, 1:1, 9:16 and 21:9.

Find or use a ratio

Whole number from 1 to 100,000 (pixels, or any unit).

Whole number from 1 to 100,000.

Simplified ratio

Ratio for this width and height
Aspect ratio16:9
Decimal (width ÷ height)1.7778
Divided by120

Find the other side

Ratio

Above 0, for example 16.

Above 0, for example 9.

The side you already have, above 0 up to 1,000,000.

The missing side for this ratio
Height720
Nearest whole number720
Size1,280 × 720

How it is calculated

  • Simplified ratio: divide width and height by their greatest common divisor. 1920 and 1080 share a divisor of 120, so 1920 ÷ 120 : 1080 ÷ 120 = 16:9.
  • Missing height = width × ratio height ÷ ratio width. Missing width = height × ratio width ÷ ratio height.
  • The decimal ratio is width ÷ height (16:9 = 1.7778). The nearest whole number is shown because pixel sizes must be whole.

Worked example: 1920 × 1080 reduces to 16:9. A 16:9 image that is 1280 wide is 1280 × 9 ÷ 16 = 720 high. A 9:16 portrait video that is 1920 high is 1920 × 9 ÷ 16 = 1080 wide. Some sizes do not reduce to a familiar ratio: 1366 × 768 reduces to 683:384 (1.7786), which is close to 16:9 (1.7778) but not equal, so scaling it to exactly 16:9 means cropping or adding a thin border. When a ratio does not divide into a whole number of pixels, round to the nearest pixel and accept a tiny distortion, or crop.

Questions

What is an aspect ratio?

It is the proportion of width to height, written as two numbers: 16:9 means the image is 16 units wide for every 9 units high. It does not depend on the size, so 1280 × 720 and 3840 × 2160 are both 16:9. Wide formats like 21:9 have a larger first number; portrait formats like 9:16 have a larger second number.

How do I resize an image without stretching it?

Keep the ratio: choose the new width, then multiply by the original height and divide by the original width to get the new height. For a 1920 × 1080 image resized to 1280 wide, the height is 1280 × 1080 ÷ 1920 = 720. If the result is not a whole number, round to the nearest pixel. If you need a different ratio, crop the image rather than stretching it.

Which aspect ratio should I use?

Use what the destination expects. 16:9 is the common landscape format for video and monitors, 4:3 is the older television and many tablet shape, 1:1 is square, 9:16 is the vertical format of phone-first short video, and 21:9 is an ultrawide format. Check the destination's current upload specification, because platforms change their recommended sizes.