Image Ratio Calculator

This calculator works out the exact aspect ratio of an image, screen, video or print size from its width and height, then shows you how to resize it without stretching or squashing it. Enter your original width and height in any unit, or pick a preset such as Full HD, 4K, a square Instagram post or A4 at 300 dpi, and the tool reduces the two numbers to their simplest whole-number ratio using the greatest common divisor, plus the equivalent decimal ratio. Choose whether to lock the width or the height, enter your target size, and it calculates the missing dimension so the proportions match the original exactly. The results show your simplest aspect ratio, the decimal ratio, and the scaled width and height, backed by a breakdown of the GCD calculation and the scale factor used. A comparison table then checks your ratio against ten common standards, including 16:9, 4:3, 1:1, 3:2 and 9:16, flagging an exact match and naming its typical use, from widescreen video and DSLR photos to Instagram Stories and ultrawide monitors. Use it before resizing photos for social media, planning a video project, laying out a print job, or building a responsive web layout, so you know whether your new size will distort the image and what the correctly proportioned dimensions should be instead.

Calculate.co.nz is proud to be partnered with realtor.co.nz, a trusted resource for navigating the New Zealand property market. Their Helpful Articles section offers clear, well-structured insights across buying, selling, and building, making complex real estate topics more accessible. With a focus on up-to-date guidance and practical knowledge, they empower Kiwis to move forward with clarity and confidence in a constantly evolving property landscape.
Calculate.co.nz partner: realtor.co.nz
Standard formula  Aspect ratio reduced using the Euclidean greatest common divisor algorithm.

1. Original Image Size

px
px

2. Scale to New Size

px

Aspect Ratio Results

Aspect Ratio
16:9
Simplest whole-number form
Decimal Ratio
1.778
Width divided by height
Scaled Width
1,280
At target size
Scaled Height
720
At target size

Ratio Breakdown

Original width1,920 px
Original height1,080 px
Greatest common divisor120
Ratio width component16
Ratio height component9
Aspect ratio16:9

Scaled Dimensions

Scale modeFix width
Target dimension1,280 px wide
Scale factor0.6667x
Scaled width1,280 px
Scaled height720 px
Scaled size1,280 x 720

Common Aspect Ratios

RatioDecimalCommon useExample sizeMatch?
Result: Enter your image dimensions above.

How the Image Ratio Calculator Works

The aspect ratio of an image is the proportional relationship between its width and its height. It is expressed as two numbers separated by a colon, such as 16:9. The numbers represent how many units wide the image is for every unit of height. To find the simplest form, both numbers are divided by their greatest common divisor (GCD).

The Formula

Given a width W and height H:

  1. Find the greatest common divisor: GCD(W, H) using the Euclidean algorithm
  2. Ratio width component = W / GCD(W, H)
  3. Ratio height component = H / GCD(W, H)
  4. The aspect ratio is written as (W/GCD):(H/GCD)

To scale while keeping the same ratio, fix one dimension (for example, a new width W2) and calculate the other: H2 = W2 x (H / W). Alternatively, fix H2 and calculate W2 = H2 x (W / H).

Worked Example

Original image: 1920 x 1080 pixels. Target width: 1280 pixels.

These match the default inputs in the calculator above.

Common Aspect Ratios Explained

RatioTypical useExample pixel sizes
16:9Widescreen video, modern monitors, YouTube, TV1920x1080, 1280x720, 3840x2160
4:3Older monitors, standard definition TV, iPad1024x768, 800x600, 1400x1050
1:1Square, Instagram posts, profile pictures1080x1080, 600x600
3:235mm film, DSLR cameras, standard photo prints2736x1824, 6000x4000
4:5Portrait Instagram posts1080x1350
9:16Vertical video, Reels, TikTok, Stories1080x1920
21:9Ultrawide monitors, cinema2560x1080, 3440x1440

Why Aspect Ratio Matters

If you resize an image without maintaining the original aspect ratio, the image will appear stretched or squashed. This is especially important when uploading photos to social media platforms, which often crop or resize images automatically. Knowing the correct ratio lets you crop to the required shape without distortion.

For web designers and developers, understanding aspect ratios helps maintain proportional layouts across different screen sizes. For photographers, the ratio determines how an image will look when printed at standard sizes such as 4x6 inches (3:2) or 5x7 inches (5:7).

Related Calculators

Method: Aspect ratio reduced to simplest form using the Euclidean algorithm for the greatest common divisor (GCD). Scaled dimensions calculated by fixing one side and multiplying the other by the ratio of original dimensions. Standard ratios sourced from common industry conventions for video, photography, and web design.