Aspect ratio calculator

Type a width and height to see their ratio, or give a ratio and one side to get the matching other side. The answers update as you type.

Calculator

Find the ratio of a size

Ratio: 16:9 (1.7778 : 1)

Find the missing side

Height: 720

How to use the aspect ratio calculator

  1. To simplify a size, type it into Width and Height under Find the ratio of a size. The ratio appears below, with its decimal value.
  2. To find a missing side, type the ratio into Ratio width and Ratio height under Find the missing side.
  3. Set I know the to width or height, and type that side into Value.
  4. Read the answer below. If it is not a whole number, the rounded value is shown too.

What each setting does

Width and Height
The size to simplify, usually in pixels. Decimals are rounded to whole numbers first.
Ratio width and Ratio height
The two parts of the ratio you want. Decimals such as 2.39 and 1 are allowed.
I know the
Whether the number in Value is the width or the height.
Value
The side you already have. The answer comes back in the same unit, so pixels, centimetres and inches all work.

How a size is reduced to a ratio

The calculator divides both sides by their greatest common divisor, the largest whole number that goes into both. 1920 and 1080 share 120, which leaves 16:9. A size of 1366 × 768 only shares 2, so it reduces to 683:384. The decimal next to it shows that this is 1.7786 : 1, against 1.7778 : 1 for 16:9, so the two shapes are almost the same.

Worked examples

Once you know the size, cut the picture to that shape with the image cropper, or set exact pixels with the image resizer.

Limits

  • This is a calculator only; it does not open an image. To read a file’s size, use the image size checker.
  • A rounded answer can change the shape very slightly, by less than one pixel.

Questions

How do I calculate an aspect ratio?

Divide the width and height by the largest number that goes into both. The calculator also shows width ÷ height as a decimal.

What is the aspect ratio of 1920 × 1080?

16:9, or 1.7778 : 1. The same ratio covers 1280 × 720 and 3840 × 2160.

How do I find the height for a given width?

Height = width × ratio height ÷ ratio width. Choose width under I know the and type it into Value.

Can I use it for print sizes in centimetres or inches?

Yes. A 6 × 4 inch print gives 3:2, and so does 15 × 10 cm.