Image Aspect Ratio Calculator

Find the aspect ratio of any size in pixels, calculate a missing width or height, or drop an image to read its ratio.

Ratio of a size

—Aspect ratio
—Decimal
—Closest standard

Resize keeping the ratio

Change either value — the other one follows the ratio above.

Common ratios

Or drop an image to read its dimensions

● This calculator runs entirely in your browser. Dropped images are read locally and never uploaded.

How to use the aspect ratio calculator

  1. Find a ratio: type a width and a height in pixels (or inches, centimeters — any unit works). You get the simplified ratio, like 1920 × 1080 → 16:9, and the closest standard ratio when the numbers don't divide exactly.
  2. Find a missing dimension: in “Resize keeping the ratio”, type the new width and the matching height is calculated (or the other way round) — useful before resizing an image or a video.
  3. From an image: drop a photo or screenshot to read its size and ratio. The image stays on your device.

The formula

The aspect ratio is width : height, divided by their greatest common divisor. For 1920 × 1080, the greatest common divisor is 120, so 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9: the ratio is 16:9 (or 1.78 as a decimal).

To keep a ratio when resizing: new height = new width × height ÷ width. A 16:9 image 1600 pixels wide must be 1600 × 9 ÷ 16 = 900 pixels high.

Common aspect ratios

RatioTypical sizesUsed for
16:91920 × 1080, 1280 × 720, 3840 × 2160TV, YouTube, monitors, presentations
9:161080 × 1920Stories, Reels, TikTok, Shorts
4:31024 × 768, 1600 × 1200Older screens, iPad, many compact cameras
3:26000 × 4000DSLR and mirrorless photos, 6 × 4 in prints
1:11080 × 1080Square posts, profile pictures
4:51080 × 1350Instagram portrait posts
16:102560 × 1600, 1920 × 1200Laptops and MacBooks
“21:9”2560 × 1080 (64:27), 3440 × 1440 (43:18)Ultrawide monitors, cinema
1.91:11200 × 630Link previews (Facebook, LinkedIn, X)

Screen size from the diagonal

Screens are sold by their diagonal. With the ratio you can get the real width and height: width = diagonal × w ÷ √(w² + h²). A 27-inch 16:9 monitor is about 23.5 × 13.2 inches; a 24-inch 16:10 monitor about 20.4 × 12.7 inches; a 55-inch 16:9 TV about 47.9 × 27.0 inches.

Changing an image's ratio

An image can't change ratio without a compromise: either you crop part of it (use the Image Cropper), or you stretch it (rarely a good idea), or you add bars around it. To change the size while keeping the ratio, use the Image Resizer; for social networks, the Instagram Image Resizer fits the right format automatically.

FAQ

What's the ratio of 1080 × 1350?

4:5 — the Instagram portrait format, which takes more space in the feed than a square post.

Is 1366 × 768 really 16:9?

Almost. The exact ratio is 683:384 (1.779), within 0.1% of 16:9 (1.778), so it's sold as 16:9.

Is 21:9 an exact ratio?

No, it's a marketing name. 2560 × 1080 is 64:27 (2.37) and 3440 × 1440 is 43:18 (2.39) — both are close to 21:9 (2.33).

Does the unit matter?

No. The ratio is the same in pixels, inches or centimeters, as long as width and height use the same unit.

What ratio should I use for a website banner?

It depends on the theme, but wide ratios like 3:1 or 4:1 (for example 1500 × 500) are common for headers, and 1.91:1 (1200 × 630) for social sharing images.