How to calculate aspect ratio

Aspect ratio is the shape of a rectangle, written as two numbers — 16:9, 4:3, 1:1. Here is how to calculate it from any width and height, how to find a missing dimension from a ratio, and the ratios you will meet every day.

What an aspect ratio is

Width compared to height, reduced

An aspect ratio is width compared to height, reduced to the smallest whole numbers. 1920 × 1080 becomes 16:9 — divide both sides by 120 and the shape is the same. 1280 × 720 is also 16:9. The numbers describe shape, not size: a phone screen, a cinema screen and a presentation slide can all be 16:9 while differing enormously in inches.

The ratio decides whether things fit

The ratio is what decides whether two things fit. A 16:9 video in a 16:9 frame fills it exactly; the same video in a 1:1 frame loses its left and right edges. When two things share a ratio, one fits the other with no cropping and no empty space; when they differ, something has to give — a crop, a stretch, or padding.

The ratios you meet every day

1:1, 4:3, 3:2 — the common shapes

1:1 is the square: profile pictures, Instagram posts, product thumbnails. 4:3 is the classic photo and old television shape — still the default of many cameras and projectors. 3:2 is the shape of most camera sensors and printed photos. 16:9 is widescreen: modern TVs, monitors, slides and video. 21:9 is ultrawide: cinema screens and wide monitors. 9:16 is 16:9 turned on its side — vertical video, stories and reels.

Each ratio has a home

Each ratio has a home, and knowing it tells you what will happen when an image meets a frame. A 3:2 photo in a 16:9 slide leaves empty space top and bottom; a 16:9 video in a 1:1 post loses its sides. Check the ratio before uploading, and resize or crop to match — the platform's automatic crop is rarely kind.

The maths, done by hand

To find a ratio from dimensions, divide both numbers by their greatest common divisor (GCD). For 1920 × 1080, the GCD is 120: 1920 ÷ 120 is 16, 1080 ÷ 120 is 9, so the ratio is 16:9. The GCD is the largest number that divides both evenly, and finding it is the only hard part — for large numbers, a calculator or a spreadsheet does it instantly.

To find a missing dimension, use the ratio as a fraction. A 16:9 image that is 1920 wide must be 1920 × 9 ÷ 16 = 1080 tall. A 4:3 print that is 8 inches wide must be 8 × 3 ÷ 4 = 6 tall. One multiplication and one division — or the calculator below, which does it instantly, including for ratios you type in yourself.

How to calculate aspect ratio

  1. With the calculator — fastest. Use the Aspect Ratio Calculator: type a width and height to get the ratio, or pick a ratio and a known side to find the missing dimension. Drop an image to detect its ratio automatically.
  2. By hand. Find the greatest common divisor of the width and height, and divide both by it. For 1920 × 1080, the GCD is 120, giving 16:9. For awkward numbers, use the Euclidean method: divide the larger by the smaller, take the remainder, and repeat until the remainder is zero.
  3. From an image file. Find the image's dimensions first — the Image Dimension Checker shows them — then calculate the ratio from those numbers. The calculator above accepts a dropped image and does both steps at once.
  4. In a spreadsheet. In Excel or Google Sheets, with width in A1 and height in B1, use =A1/GCD(A1,B1)&":"&B1/GCD(A1,B1). The GCD function does the hard part, and the formula returns the ratio as text.

Matching ratio to destination

The point of knowing a ratio is knowing what to do next. If the ratio matches the destination — 16:9 for a slide, 1:1 for a post — resize to the destination's size and you are done. If it does not, you have three choices: crop to the ratio with the Crop Image tool, pad to it with the Square Image Maker, or stretch — and stretching distorts, so it is almost never the right choice.

When you resize, always compute the matching dimension first. Typing both dimensions by hand risks a stretched image if the numbers do not share the original ratio. The calculator gives you the pair that keeps the shape; the Resize Image tool's aspect lock does the same arithmetic as you type.

Related guides

Questions people ask

What is the aspect ratio of 1920 × 1080?

16:9 — widescreen. Divide both numbers by their greatest common divisor, 120, to get 16 and 9. It is the ratio of Full HD video, most monitors and presentation slides.

How do I find a missing dimension from a ratio?

Multiply the known side by the ratio's other number and divide by its own number: a 16:9 image 1920 wide is 1920 × 9 ÷ 16 = 1080 tall. The calculator does this instantly.

Can an aspect ratio be a decimal?

Yes — 16:9 is 1.78:1, and 21:9 is 2.33:1. The decimal form is handy for comparing shapes; the whole-number form is what people recognise and what platforms publish.