Saved

Press the star next to a tool's name to save it.

All my tools

Aspect Ratio Calculator

Enter a width and height to find the aspect ratio. Add a new width or height to see the other side, so the picture won’t stretch.

Restored your last values ·

Use the same unit for both sides, such as pixels. Your result opens on the next page.

Aspect ratio

16:9

Enter a width and height to see the ratio.

See full result

How to calculate an aspect ratio

Divide the width and height by the largest number that goes into both. What’s left is the ratio.

Aspect ratio = width ÷ common factor : height ÷ common factor

New height = new width × height ÷ width

Worked example

For 1920 × 1080, the largest common factor is 120. 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, so the ratio is 16:9. To resize to a width of 1280 without stretching, the height is 1280 × 1080 ÷ 1920 = 720.

Common aspect ratios

RatioExample sizeOften used for
1:11080 × 1080Square social posts and profile pictures
4:31600 × 1200Many phone cameras and older screens
3:21800 × 1200Many cameras and 4 × 6 inch prints
16:91920 × 1080Video, TVs and most monitors
21:92560 × 1080Ultrawide monitors
9:161080 × 1920Vertical stories and short videos
4:51080 × 1350Tall social posts

Close isn’t always exact

A size like 1366 × 768 simplifies to 683:384, but it’s usually described as 16:9 because it’s very close. When your size isn’t an exact common ratio, the calculator also shows the closest one.

Changing an image’s aspect ratio

This tool works out numbers, and it doesn’t change your file. To change an image’s shape, crop it with our image cropper. To change its size, use our image resizer.

How to use the aspect ratio calculator

  1. Enter the Width and Height. Use the same unit for both, such as pixels, inches or centimeters. Decimals like 8.5 are fine.
  2. Add a new size if you want one. Type a value in New width (optional) or New height (optional). Typing in one clears the other, because the ratio decides the missing side.
  3. Press Calculate. Your result opens on its own page.

The result shows the aspect ratio in lowest terms, such as 16:9. Below it you may see up to three rows: New size, when you entered a new width or height; As a decimal, which is the width divided by the height; and Closest common ratio, when your size is near a well-known shape but not exactly on it. Use Copy result or Share to pass the answer on.

Worked example: a phone photo for a 1080 pixel tall slot

A phone photo measures 4032 × 3024 pixels. You need a version 1080 pixels tall for a slideshow.

  • The largest number that divides both sides is 1008, so the ratio is 4032 ÷ 1008 : 3024 ÷ 1008 = 4:3.
  • As a decimal: 4032 ÷ 3024 = 1.3333:1.
  • Enter 1080 as the new height. The new width is 1080 × 4032 ÷ 3024 = 1,440, so the new size is 1,440 × 1,080.

If the slot is 1920 × 1080, a 4:3 picture won’t fill it. Either leave bars on the sides or crop the photo to 16:9 with the image cropper.

Example: a tall social post in a vertical video frame

A post is 1080 × 1350, which the calculator shows as 4:5, or 0.8:1. To fit a story frame 1920 pixels tall, enter 1920 as the new height. The new size is 1,536 × 1,920. A 9:16 frame that is 1920 pixels tall is only 1080 wide, so the post would be wider than the frame. The shapes are different (4:5 against 9:16), and no resize fixes that. You need to crop or add a border.

Finding the largest common factor by hand

The calculator finds the largest number that divides both sides with the remainder method. Divide the bigger side by the smaller one and keep only the remainder. Then divide the smaller side by that remainder, and repeat until nothing is left. The last number you divided by is the largest common factor.

For 4032 × 3024: 4032 ÷ 3024 leaves a remainder of 1008, and 3024 ÷ 1008 leaves nothing. So the factor is 1008, and the ratio is 4:3. The method works for any pair of whole numbers, however large, which is why the calculator can simplify sizes like 3440 × 1440 in one step.

Reading the decimal row

The decimal is the width divided by the height. A value above 1 means a wide shape, exactly 1 means a square, and below 1 means a tall shape. Decimals make shapes easy to compare. A 3:2 photo is 1.5:1 and a 4:3 photo is 1.3333:1, so 3:2 is the wider of the two, even though the ratios look alike at a glance.

Sizes that don’t simplify neatly

The calculator always gives the exact ratio in lowest terms. That isn’t always the name the size is sold under.

SizeExact ratioAs a decimalClosest common ratio
1366 × 768683:3841.7786:116:9
1440 × 9008:51.6:116:10
2560 × 108064:272.3704:1None shown
3440 × 144043:182.3889:1None shown
8.5 × 1117:220.7727:1None shown

A common ratio is only shown when your size is within 1.5% of it. 1440 × 900 is the same shape as 16:10, since 8:5 doubled is 16:10. Ultrawide screens are often called 21:9, but 2560 × 1080 and 3440 × 1440 are more than 1.5% away from 21:9, so no closest ratio appears. For decimals such as 8.5 × 11 inches, the tool first scales both sides to whole numbers, here 85 × 110, and then simplifies.

Using an aspect ratio in CSS

Web pages can set a box’s shape directly. MDN says the CSS aspect-ratio property allows you to define the desired width-to-height ratio of an element’s box.[1] The value is written as width / height, and if the height and the slash are left out, the height defaults to 1.[1] So the 16:9 result from this calculator becomes aspect-ratio: 16 / 9, and the decimal row can be used on its own, such as 1.7778. A value of 0.5 makes a box twice as tall as it is wide.

Common mistakes

  • Swapping width and height. 1080 × 1920 is 9:16, a tall frame, while 1920 × 1080 is 16:9. Always enter the width first.
  • Mixing units. Don’t enter one side in inches and the other in centimeters. Convert first.
  • Using the new size with decimals as it is. The new size shows up to two decimals. Round to whole pixels when you resize an image.
  • Expecting a resize to change the shape. Resizing keeps the ratio. To change it, crop with the image cropper, then set the size with the image resizer.

What next

Use this often? Add Aspect Ratio to your Home screen.

Frequently asked questions

How do I find an aspect ratio?

Divide the width and height by the largest number that goes into both. For example, 1920 × 1080 is 16:9.

How do I resize an image without stretching it?

Keep the same aspect ratio. Multiply the new width by the height, then divide by the old width. Entering a new width here does this for you.

How do I change an image’s aspect ratio?

Crop it to the new shape. Our image cropper has shapes such as 1:1, 4:3 and 16:9. Changing the shape without cropping would stretch the picture.

What aspect ratio is 2560 × 1080?

Exactly 64:27, or 2.3704:1. Screens of this size are often sold as 21:9, but they are more than 1.5% away from it, so the calculator doesn’t list 21:9 as the closest ratio.

Can the aspect ratio calculator use inches or decimals?

Yes. Use the same unit for both sides. Decimals are scaled up to whole numbers before simplifying, so 8.5 × 11 inches gives 17:22.

How do I use the ratio in CSS?

Write it as width / height in the aspect-ratio property, such as 16 / 9. You can also use the decimal shown in the result.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Image Tools