Back to home

Aspect Ratio Calculator

Enter a width and a height to see the simplified ratio, then type a new width or height to get the other side while keeping the same proportions.

  1. Enter the width and height
  2. Read the aspect ratio
  3. Enter a new width or height to scale
Loading the tool...

Your files never leave your device

How to use the calculator

Type a width and a height and the tool shows the simplified ratio, the decimal ratio, the orientation and, when it matches, the name of a common ratio. To resize while keeping the same proportions, enter a new width and the matching height appears, or the other way round. A swap button exchanges width and height.

A worked example

A screen of 1920 by 1080 has a greatest common divisor of 120, so dividing both numbers gives 16:9, a decimal ratio of about 1.78. If you want a thumbnail 1280 pixels wide, enter 1280 as the new width: 1280 times 9 divided by 16 is 720, so the height is 720 pixels.

A photo of 1000 by 750 simplifies to 4:3, and an image of 1080 by 1350 simplifies to 4:5. For a 16:9 banner that must be 800 pixels wide, the height is 450.

Limits and good practice

Decimal values are accepted, but sizes in pixels should be whole numbers, so round the result and accept a difference of one pixel. If the result is not a nice ratio, the image may have been cropped or resized unevenly, and the decimal ratio is a better guide than the simplified one.

When you need an exact new shape, such as a square or a story format, crop the image instead of resizing it. Resizing to a different ratio stretches the picture, and a crop tool keeps the proportions of the content.

Frequently asked questions

What is an aspect ratio?

It is the proportion between the width and the height of an image or screen, written as W:H, for example 16:9.

How is the ratio simplified?

Both numbers are divided by their greatest common divisor, so 1920 by 1080 becomes 16:9.

How do I resize without distortion?

Enter a new width and the matching height is calculated for you, or enter a new height to get the width.

Does it show common names?

Yes. Common ratios such as 16:9 or 4:3 are recognized and shown.

Can I use decimals?

Yes. Decimal values are accepted. Round the pixel results to whole numbers when you use them.

Is anything uploaded?

No. The calculation runs on your device.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D