Need to know whether 2560 × 1080 is 21:9, or what height keeps a 1920 × 1080 video in proportion at 1280 pixels wide? This aspect ratio calculator reduces any width and height to its simplest ratio, shows the closest standard format and calculates the missing dimension when you resize, so images and videos never look stretched.
Formula
Ratio = width ÷ GCD : height ÷ GCD (GCD = greatest common divisor). New height = new width × height ÷ width. New width = new height × width ÷ height.
How it works
The calculator divides width and height by their greatest common divisor to get the simplest ratio, shows the closest common format (16:9, 4:3, 21:9, 9:16...) and applies a rule of three to the new width or height so the picture keeps its shape.
How to calculate an aspect ratio
Step 1: find the greatest common divisor (GCD) of the width and the height. Step 2: divide both by it. For 1920 × 1080 the GCD is 120, so the ratio is 16:9. Step 3: for the decimal form, divide width by height: 1920 ÷ 1080 = 1.7778.
Some resolutions do not reduce to a neat ratio: 2560 × 1080 is exactly 64:27 (2.37), which is marketed as 21:9 (2.33). 1366 × 768 reduces to 683:384, close to 16:9. That is why the calculator also shows the nearest standard ratio.
Resizing while keeping the proportion
To keep the shape, the new height is the new width × original height ÷ original width; the new width is the new height × original width ÷ original height. It is a rule of three.
Example: shrinking 1920 × 1080 to 1280 wide gives a height of 1280 × 1080 ÷ 1920 = 720, so 1280 × 720 (720p). If you need a height of 480, the width is 480 × 1920 ÷ 1080 = 853.33, usually rounded to 854 pixels.
Common aspect ratios and where they are used
16:9 is the standard for HD and 4K TVs, YouTube and most monitors (1280 × 720, 1920 × 1080, 3840 × 2160). 4:3 is classic TV, iPads and many presentations. 3:2 is the native ratio of most DSLR and mirrorless camera sensors. 21:9 is ultrawide monitors and cinema. 1:1 is square posts, 4:5 is the tallest Instagram feed photo (1080 × 1350) and 9:16 is vertical video for Reels, TikTok and Shorts (1080 × 1920).
To resize photos for social networks directly in your browser, try the social image resizer, and to make files lighter after resizing, the image compressor.
Tips
Video encoders often require even numbers, so round 853.33 to 854, not 853. If you change the ratio, for example from 16:9 to 9:16, you must crop or add bars; resizing alone will distort the picture.
For the math behind the GCD, the LCM and GCD calculator shows the steps.
Frequently Asked Questions
- What aspect ratio is 1920 x 1080?
- 16:9. The greatest common divisor of 1920 and 1080 is 120, and 1920 ÷ 120 = 16, 1080 ÷ 120 = 9.
- What aspect ratio is 1080 x 1350?
- 4:5. The GCD is 270, and 1080 ÷ 270 = 4, 1350 ÷ 270 = 5. It is the tallest portrait ratio Instagram shows in the feed.
- What is the resolution of 16:9 at 1080p?
- 1920 × 1080. Other 16:9 sizes are 1280 × 720, 2560 × 1440 and 3840 × 2160.
- Is 21:9 the same as 64:27?
- Not exactly. 2560 × 1080 is 64:27 (2.37:1), while true 21:9 is 2.33:1. Monitors are sold as 21:9 for simplicity.
- How do I resize an image without distorting it?
- Change only one dimension and let the other follow the ratio: new height = new width × height ÷ width.