Aspect Ratio Calculator

Dimension to calculate

Enter whole-number source width and height. Select the dimension to calculate and enter the other target dimension. The result preserves the original proportion; fractional pixels may need rounding.

Results

Enter your values and select Calculate.

w1h1=w2h2\frac{w_1}{h_1}=\frac{w_2}{h_2}

About this tool

This calculator reduces a width and height to their simplest aspect ratio and finds the missing side when you resize while keeping the same proportions. Designers, video editors and developers use it to scale images, screens and video frames without stretching. An aspect ratio is the proportional relationship between width and height, written as width:height, such as 16:9 for most HD video.

How it works

Type the source width and height as whole numbers, usually in pixels. The calculator divides both by their greatest common divisor to show the simplest ratio, so 1920 × 1080 becomes 16:9 and 1366 × 768 becomes 683:384.

To resize, choose whether you want the new width or the new height, then enter the dimension you already know. The tool multiplies that target by the original proportion, which is the cross-multiplication shown in the formula below. Round the answer to a whole pixel yourself, and pick an even number if your video encoder expects even dimensions.

w1h1=w2h2\frac{w_1}{h_1}=\frac{w_2}{h_2}

Example

Start with a 1920 × 1080 source. The greatest common divisor of 1920 and 1080 is 120, so the ratio simplifies to 16:9. To find the width that matches a target height of 720, keep the proportion w2=720×1920/1080w_2 = 720 \times 1920 / 1080, which gives a width of 1280. The resized frame is 1280 × 720, still 16:9.

Assumptions and limits

Source width and height must be positive whole numbers; the target dimension can be any positive value. The calculated dimension is not rounded, so a result with a fractional pixel needs rounding before use, which can shift the ratio slightly. The tool does not account for non-square pixels, cropping or letterboxing.

Frequently asked questions

What aspect ratio is 1920 × 1080?

1920 × 1080 is 16:9. Other common 16:9 sizes include 1280 × 720, 2560 × 1440 and 3840 × 2160. 1920 and 1080 both divide by 120, which leaves 16 and 9. All of these sizes describe the same shape at different resolutions.

How do I calculate a new height from a width while keeping the ratio?

Multiply the new width by the original height and divide by the original width: h2=w2h1/w1h_2 = w_2 h_1 / w_1. Select height as the dimension to calculate and enter the new width. For a 1920 × 1080 image resized to 1600 pixels wide, the new height is 1600×1080/1920=9001600 \times 1080 / 1920 = 900.

What is the difference between 16:9 and 4:3?

16:9 is the widescreen format used by most modern TVs, monitors and online video. 4:3 is the squarer format of older television and many tablet and camera sensors. Showing 4:3 content on a 16:9 screen without stretching leaves black bars on the left and right, known as pillarboxing.

What aspect ratio is vertical video?

Vertical video for phones is commonly 9:16, which is 16:9 turned on its side, for example 1080 × 1920. A 720 × 1280 export also reduces to 9:16. Swap width and height when you need the landscape version of the same frame.

Why does my screen resolution reduce to an odd ratio like 683:384?

The calculator reports the exact ratio, and some resolutions sold as 16:9 are only close to it. 1366 × 768 divides by 2 to give 683:384, about 1.779:1, while true 16:9 is about 1.778:1. In the same way, 2560 × 1080 monitors marketed as 21:9 reduce exactly to 64:27.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
widthWidthwhole number; allowed > 0required
heightHeightwhole number; allowed > 0required
new_widthKnown target dimensionnumber; allowed > 0required
new_heightKnown target dimensionnumber; allowed > 0required

Examples

  • ?width=1920&height=1080&new_width=1280
  • ?width=4&height=3&new_height=900

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="aspect_ratio_calculator"]