Aspect Ratio Calculator

Find the aspect ratio of any width and height, or work out the missing dimension for a ratio like 16:9 — so images and video resize without stretching.

Enter any two of the aspect ratio, width, and height. The third is calculated as you type.

Use any unit (pixels, inches, cm) as long as width and height match.

How to Use This Calculator

  1. Enter any two of the three values: the aspect ratio (for example 16 : 9), the width, or the height. You can also tap a preset such as 16:9 or 4:5.
  2. The missing value is filled in automatically and highlighted.
  3. Read the result: the simplified ratio, its decimal form (16:9 = 1.78:1), the orientation, and, when it helps, the nearest common ratio.

The field you edited longest ago is the one that gets recalculated. Type a width and height to get the ratio. Type a ratio and a width to get the height.

What Is Aspect Ratio?

Aspect ratio is the proportion between the width and the height of a rectangle, written as width : height. A 2:1 frame is twice as wide as it is tall, and a 1:1 frame is a square.

The ratio has no units. A 6 × 4 inch print, a 15 × 10 cm print, and a 1500 × 1000 pixel image all share the same 3:2 shape.

How to Calculate Aspect Ratio

Divide the width and the height by their greatest common divisor (GCD), the largest number that divides both exactly.

Example: 2560 × 1440

  • GCD(2560, 1440) = 160
  • 2560 ÷ 160 = 16 and 1440 ÷ 160 = 9
  • Aspect ratio = 16:9

Decimal sizes work the same way once you scale them to whole numbers. A US Letter sheet is 8.5 × 11 inches. Multiply by 10 to get 85 × 110. The GCD is 5, so the ratio is 17:22.

To express a ratio as a single number, divide width by height: 16 ÷ 9 ≈ 1.78, often written 1.78:1.

How to Resize Without Distortion

Keep the ratio fixed and solve for the missing side:

  • Height = width × B ÷ A
  • Width = height × A ÷ B

where the ratio is A:B.

Example: a 1600 × 1200 photo (4:3) resized to 1000 pixels wide needs a height of 1000 × 3 ÷ 4 = 750 pixels. Any other height will stretch or squash the image.

If the result isn’t a whole number (16:9 at 1000 pixels tall gives a width of 1777.78), round to the nearest pixel. The distortion is invisible.

Common Aspect Ratios and Where They’re Used

RatioDecimalTypical use
1:11.00Square social posts, profile pictures
4:50.80Tallest portrait feed post on Instagram (feed images range from 4:5 to 1.91:1)
4:31.33Most smartphone photos, classic TV, Micro Four Thirds cameras
3:21.5035 mm film and most DSLR and mirrorless cameras, 6 × 4 prints
16:91.78HD and 4K video, YouTube, presentations
9:160.56Vertical video: Stories, Reels, Shorts, TikTok
1.85:11.85”Flat” widescreen cinema
2.39:12.39”Scope” anamorphic cinema
21:92.33Marketing name for ultrawide formats (really 64:27 or 43:18)

Landscape, Portrait, and Square

  • Landscape: width is greater than height (16:9, 3:2).
  • Portrait: height is greater than width (9:16, 4:5). A portrait ratio is a landscape ratio turned on its side.
  • Square: width equals height (1:1).

Sources

Frequently Asked Questions

How do I calculate a 16:9 aspect ratio?

For a 16:9 frame, height = width × 9 ÷ 16 and width = height × 16 ÷ 9. A 1280-pixel-wide frame is 1280 × 9 ÷ 16 = 720 pixels tall, and a 1080-pixel-tall frame is 1080 × 16 ÷ 9 = 1920 pixels wide.

Is 1920 × 1080 a 16:9 aspect ratio?

Yes. The greatest common divisor of 1920 and 1080 is 120, and 1920 ÷ 120 = 16 while 1080 ÷ 120 = 9, so 1920 × 1080 simplifies exactly to 16:9.

How do I resize an image without stretching it?

Change one side and compute the other from the original ratio: new height = new width × original height ÷ original width. Shrinking a 4000 × 3000 photo to 1200 pixels wide gives 1200 × 3000 ÷ 4000 = 900 pixels tall.

Why does my ratio look strange, like 683:384?

Some sizes don't reduce to small whole numbers. 1366 × 768 only divides by 2, giving 683:384. Its value, 1.779, is within a fraction of a percent of 16:9 (1.778), so it is effectively 16:9. The calculator shows this as the nearest common ratio.

Is 21:9 really 21:9?

Not exactly. 21:9 is a marketing name for ultrawide formats. 2560 × 1080 is really 64:27 (about 2.37:1), and 3440 × 1440 is 43:18 (about 2.39:1). Both are sold as 21:9, which itself works out to 2.33:1.

Does aspect ratio depend on units?

No. A ratio compares two lengths measured in the same unit, so the unit cancels out. A 6 × 4 inch print and a 1500 × 1000 pixel image share the same 3:2 aspect ratio.