How to use the aspect ratio calculator
- 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.
- To find a missing side, type the ratio into Ratio width and Ratio height under Find the missing side.
- Set I know the to width or height, and type that side into Value.
- 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
- A 16:9 frame 1280 px wide needs a height of 1280 × 9 ÷ 16 = 720 px.
- A 4:5 portrait 1080 px wide is 1080 × 5 ÷ 4 = 1350 px tall.
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.