Aspect Ratio Calculator

Free online calculator

Resize images and videos without changing their proportions

Calculate a simplified aspect ratio, find a missing width or height, and plan proportional dimensions for images, video projects, presentations, websites, and social content.

Instant ratio calculation Proportional resizing Works on mobile and desktop

Aspect Ratio Calculator

Enter your original dimensions, then set either a new width or a new height.

Free to use
Enter the current image or video width in pixels.
Enter the current height in pixels.
Simplified aspect ratio — Enter both original dimensions to calculate the ratio.
A preset fills the original fields with a sample ratio. Replace those values with your actual pixel dimensions when available.
Enter a width to calculate the matching height.
Or enter a height to calculate the matching width.

Enter your original dimensions and exactly one new dimension.

How to use this aspect ratio calculator

  1. Enter the original width and height of your image or video in pixels.
  2. Check the simplified ratio shown below the original dimensions. You can also choose a quick preset to start with a common ratio.
  3. Enter either the new width or the new height. Leave the other target field empty.
  4. Select Calculate dimensions to see the matching size while keeping the original proportions.
  5. Use Copy result to copy the ratio and calculated dimensions.
Important: Enter only one target dimension. The calculator uses the original width-to-height relationship to work out the missing value. It calculates dimensions only; it does not crop, stretch, compress, or edit the actual image or video file.

What is an aspect ratio?

An aspect ratio is the proportional relationship between the width and height of an image, video, screen, or design canvas. It is written as width : height. For example, a 1920 × 1080 image has a 16:9 aspect ratio because both dimensions can be divided by 120 to get 16 × 9.

Keeping the same ratio while resizing prevents a picture or video from looking wider, narrower, taller, or shorter than the original. The actual pixel dimensions can change while the shape remains consistent.

Illustration of image width, height and aspect ratio proportions
Width and height can change while the original proportions stay the same.

Aspect ratio formula

The calculator simplifies the original dimensions by dividing the width and height by their greatest common divisor (GCD). It then uses the same relationship to calculate the missing dimension.

Simplified ratioWidth ÷ GCD : Height ÷ GCD
When new width is knownNew height = New width × Original height ÷ Original width
When new height is knownNew width = New height × Original width ÷ Original height
Example1920 × 1080 → 16:9

Worked example: resize a 1920 × 1080 video

The original dimensions are 1920 pixels wide and 1080 pixels high. Dividing both values by 120 gives a ratio of 16:9. If the required new width is 1280 pixels, the matching height is 1280 × 1080 ÷ 1920 = 720 pixels. The resized dimensions are therefore 1280 × 720, with the same 16:9 shape.

Aspect Ratio Calculator visual reference
Reference image from the original calculator article.

Common aspect ratios and their uses

Different formats are useful for different kinds of content. These are common examples, not mandatory settings for every platform or device.

Aspect ratioShapeCommon use
1:1SquareSquare social graphics, profile artwork and product images
4:3LandscapeTraditional displays, presentations and some camera formats
3:2LandscapePhotography and many still-image formats
16:9WidescreenHD video, presentations and widescreen displays
9:16PortraitVertical video and mobile-first content
21:9UltrawideUltrawide monitors and cinematic-style layouts

Why keeping the correct ratio matters

  • Avoid distortion: proportional resizing prevents images and videos from becoming stretched or compressed.
  • Plan layouts: designers can calculate dimensions before exporting assets for a website, presentation, or video project.
  • Prepare responsive media: the same visual proportions can be maintained across different output sizes.
  • Reduce rework: calculating the correct dimensions before editing helps avoid repeated resizing and layout adjustments.

Remember that keeping the aspect ratio does not guarantee the same image quality. Enlarging a small image can make it look soft or pixelated, and the calculator does not increase resolution or remove compression artifacts.

Aspect ratio vs. image dimensions

Image dimensions are the actual pixel width and height, such as 1920 × 1080. The aspect ratio describes the relationship between those two numbers, such as 16:9. Several different image sizes can share the same aspect ratio: 1280 × 720, 1600 × 900, and 1920 × 1080 are all 16:9.

When a design must fit a fixed frame, proportional resizing may not be enough. You may need to crop the image or add empty space around it. Cropping changes the visible composition; letterboxing or padding keeps the full image visible inside a different-shaped frame.

Frequently asked questions

How do I calculate an aspect ratio?

Enter the width and height, then divide both numbers by their greatest common divisor to get the simplest whole-number ratio. This calculator performs that simplification for you.

How can I resize an image without stretching it?

Enter the original width and height, then specify only the new width or the new height. The calculator works out the other dimension using the original ratio, so the image shape stays consistent.

What happens if the calculated dimension is not a whole number?

The calculator displays the proportional result to two decimal places when necessary. Image and video dimensions are normally whole pixels, so use the nearest whole-pixel value when exporting. Rounding can create a very small difference from the exact mathematical ratio.

Can I use this calculator for video dimensions?

Yes. It works with any positive whole-number width and height, including video frames, image files, presentations, web graphics and display layouts.

Does this tool crop or resize my actual file?

No. It calculates dimensions only. It does not upload, store, crop, compress, or modify your image or video file.

Is the Aspect Ratio Calculator free?

Yes. You can use the calculator in your browser without creating an account or installing software.

Explore more free calculators

Continue with these tools from RankWithSeoTools:

Leave a Comment