Aspect Ratio Calculator

Calculate new image dimensions without changing the original proportions. Enter the original width and height, then choose the new width or height.

This free tool requires JavaScript. Enable it in your browser and reload this page.

How to calculate a matching image size

  1. Enter the original width and height in pixels.
  2. Select whether you know the new width or the new height.
  3. Enter that value and click Calculate.
  4. Use the suggested size in the image resizer.

What is an aspect ratio?

An aspect ratio describes the relationship between width and height. For example, 1080 × 1920 and 720 × 1280 both reduce to 9:16. A ratio is not a resolution; two images can have the same ratio but different pixel counts.

RatioExample dimensions
1:11080 × 1080
4:51080 × 1350
9:161080 × 1920
16:91920 × 1080

Worked example

A 1600 × 900 landscape image needs a width of 800 pixels. Multiply 900 by 800 and divide by 1600. The matching height is 450 pixels, so the new size is 800 × 450.

Frequently asked questions

Why is the calculated size rounded?

Raster images need whole pixels. The calculator rounds the unknown dimension to the nearest whole pixel (at least one pixel). This can create a very small difference in the ratio.

Can I change a landscape image into a portrait using this calculator?

It preserves the source proportions. To change the shape, crop or pad the original using the image resizer.