Aspect Ratio Calculator Guide: 16:9 and New Height
Last updated: · 3 min read
When a video, image or screen is resized, the first question is how to shrink it without distorting it. The answer is the aspect ratio, which is the width divided by the height. A 1920 × 1080 screen has a 16:9 ratio, so when it is reduced to a width of 1280 pixels the height must become 720. This guide explains how the ratio is simplified with the greatest common divisor, what its decimal value means and why well-known names such as 16:9, 4:3 and 21:9 are matched only approximately. The results in the example are the real output of the Aspect Ratio Calculator.
Formula
g = GCD(width, height) Decimal ratio = width ÷ height Simplified ratio = (width ÷ g) : (height ÷ g) New height = target width × height ÷ width Rounded size = target width × new height, rounded to whole pixels
The greatest common divisor (GCD) is found with the Euclidean algorithm: divide a by b, replace a with b and b with the remainder, and repeat until the remainder is zero; the last non-zero divisor is the GCD. This writes the ratio with the smallest whole numbers. Known ratios are matched only when they are exactly equal or within a 2 percent tolerance, so results marked with “≈” are an approximate name, not an official standard.
What the inputs mean
- Width
- The width of the image or screen in pixels, which can be read from an image editor or from the video properties.
- Height
- The height of the same image in pixels.
- Target width
- The new width. If it is entered, the tool calculates the new height that keeps the ratio; if it is left empty, that calculation is skipped.
Worked example: Reducing a 1920 × 1080 image to a width of 1280
- Width 1920, height 1080. GCD(1920, 1080) = 120; the ratio is 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9, so 16:9.
- The decimal ratio is 1920 ÷ 1080 = 1.7778. The tool shows it as Decimal ratio: 1.7778.
- 16:9 matches the list of known ratios as widescreen (HD, Full HD, 4K): Known ratio: 16:9 (widescreen (HD, Full HD, 4K)).
- For a target width of 1280, the new height is 1280 × 1080 ÷ 1920 = 720.
- The result is rounded to 1280 × 720, which is the 720p resolution.
Result: Tool output: Simplified ratio: 16:9, Decimal ratio: 1.7778, height for a target width of 1,280: 720, rounded size: 1,280 × 720.
How to read the result
To keep the ratio, always calculate the new height as target width × height ÷ width; do not resize by a percentage on one side alone. Rounding can change the ratio slightly, which is why video encoders often prefer even numbers such as 1280 × 720. These figures are general information; also check the resolution rules of the platform where the image will be published.
Common mistakes
- Entering the ratio in the wrong order. 16:9 is landscape and 9:16 is portrait; swapping the values for a vertical video distorts it.
- Changing the height by the same percentage as the width without doing the proportion. The new height must always come from the ratio.
- Taking the decimal ratio for the exact ratio. 1.7778 is an approximation; 16:9 is exactly 16 ÷ 9 = 1.777…
- Confusing cropping with scaling. Scaling keeps the whole picture, while cropping removes part of it; the two results are different.
- Not checking the ratio after rounding. When the numbers do not divide exactly, the image can drift slightly from its ratio.
Frequently asked questions
What is the GCD and why is it used?
The greatest common divisor is the largest number that divides two numbers exactly. Dividing width and height by it writes the ratio with the smallest whole numbers.
Is 16:9 the same as 1.78?
Approximately. 16 ÷ 9 = 1.777…, and 1.78 is that value rounded; the decimal 1.7778 appears in the output as well.
What happens if the ratio is not in the list?
The result shows Known ratio: none. That is not an error; the simplified ratio is still correct.
Are the image sizes I enter sent anywhere?
The calculation runs in your browser on the page.
The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.