ZapKit

Aspect Ratio Calculator

Find the aspect ratio of any width and height, and work out the missing side when resizing an image, video or screen without distorting it.

What is an aspect ratio?

Aspect ratio is the proportional relationship between an image's width and its height. It determines the shape of photos, videos, screens and print sizes: 16:9 for YouTube and TVs, 9:16 for Reels and Shorts, 4:3 for older screens and many tablets, 1:1 for square posts.

Designers, video editors, photographers and web developers need it whenever they resize, crop or embed media. This calculator simplifies any dimensions to their ratio, identifies the closest standard format, and calculates the matching width or height for a new size, along with a table of common widths.

How to use the Aspect Ratio Calculator

  1. 1.Enter the original size

    Width and height in pixels, or any unit.

  2. 2.Enter one new side

    A new width or a new height.

  3. 3.Read the other side

    Plus the simplified ratio and the closest standard one.

Example: resizing a Full HD frame

Shrinking 1920 × 1080 to 1280 pixels wide:

Aspect ratio
16:9
Decimal
1.7778 : 1
New size
1280 × 720
Megapixels
2.07

new height = new width × height ÷ width

At 1,280 pixels wide, the frame must be 720 pixels tall to stay 16:9.

Keeping proportions

An aspect ratio is width divided by height, written as two whole numbers in lowest terms: 1920 × 1080 is 16:9, 1080 × 1350 is 4:5. Scaling both sides by the same factor keeps the ratio and avoids the squashed or stretched look of a distorted image.

Some sizes don't reduce to familiar numbers; 1366 × 768 simplifies to 683:384, which is close to 16:9. The calculator flags the nearest standard ratio and lists the height for common widths, which is handy for responsive images and video embeds.

Frequently asked questions

What aspect ratio is 1920 × 1080?

16:9, the standard widescreen ratio for HD and 4K video.

What ratio is an Instagram portrait post?

4:5, for example 1080 × 1350.

How do I calculate a new height?

New height = new width × original height ÷ original width.

How do I set an aspect ratio in CSS?

Use aspect-ratio: 16 / 9; on the element.

More Developer tools

Design helpers