Networking & Technology · Formula v1.0

Aspect Ratio Calculator

Reduce a width and height to their aspect ratio and find the height at a new width.

LAST REVIEWEDSeptember 24, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Ratio width part16
Ratio height part9
Height at the new width720
Sensitivity check

What if width (pixels) changes?

-10% input8
0% input16
+10% input88

Answer first

What this calculator tells you

Reduce a width and height to their aspect ratio and find the height at a new width. Resize an image, a video or a window without stretching it. Formula: Divide width and height by their greatest common divisor; new height = new width × height ÷ width. At the worked-example inputs, the ratio width part is 16. Holding every other input steady, moving width (pixels) from 1,536 to 2,304 moves the result from 8 to 88.

FreeNo sign-upInputs stay in-browserCSV exportReviewed September 24, 2026

Transparent method

The formula

Divide width and height by their greatest common divisor; new height = new width × height ÷ widthAt the worked-example inputs the ratio width part is 16. It rises with width (pixels); height (pixels) and new width (pixels) do not move it.

Resize an image, a video or a window without stretching it.

Worked example

Ratio width part16
Ratio height part9
Height at the new width720

Example inputs

Width (pixels)1,920
Height (pixels)1,080
New width (pixels)1,280

How to interpret the result

An aspect ratio is width and height reduced to their smallest whole numbers. A 1920 by 1080 image divides by 120 on both sides to give 16 by 9, the shape of most screens and video. Once you know the ratio, any new width fixes the height: scale to 1280 wide and the matching height is 720, with no stretching or cropping.

At the worked-example inputs the ratio width part is 16. It rises with width (pixels); height (pixels) and new width (pixels) do not move it.

Interpretation boundary

Password crack-time figures assume one specific guessing speed and no other weakness such as reuse, a data breach or a guessable personal pattern; a real attacker's actual speed and method can differ substantially. Subnet, transfer-time and storage figures are exact defined arithmetic, but a device, ISP or operating system may report a size or speed using a different unit convention (decimal or binary) than the one selected here.

Before you rely on it

What to check

Enter the full pixel dimensions of the original, not a rounded version. A width off by a few pixels produces an ugly ratio instead of a clean one.

The common error

Where people go wrong with aspect ratio calculator

Setting both the new width and the new height by hand. Only one of them is free, and choosing both distorts the picture.

Sensitivity evidence

How width (pixels) changes the ratio width part

Holding every other input at the worked-example value, moving width (pixels) from 1,536 to 2,304 moves the ratio width part from 8 to 88: a spread of 80, or 500% of the worked-example result.

Aspect Ratio Calculator: ratio width part and ratio height part and height at the new width across a range of width (pixels), every other input held at the worked-example value.
Width (pixels)Ratio width partRatio height partHeight at the new width
1,5366445900
1,72885800
1,920worked example169720
2,1128845654.5
2,3043215600

Every input, tested

Which input moves the ratio width part most

Of the 3 inputs, only width (pixels) moves the ratio width part: moving width (pixels) from 1,728 to 2,112 takes the ratio width part from 8 to 88, a swing of 500% of the worked-example figure. Height (pixels) and new width (pixels) do not change it at all.

Aspect Ratio Calculator: ratio width part with each input moved on its own, every other input held at the worked-example value.
InputTested fromToRatio width part at each endSwing
Width (pixels)1,7282,1128 to 8880 (500%)
Height (pixels)9721,188160 to 160none
New width (pixels)1,1521,40816 to 16none

Two variables at once

Ratio width part by width (pixels) and height (pixels)

Across the grid the ratio width part runs from 2 to 88. Moving width (pixels) from 1,536 to 2,304 shifts it by 32 at the middle column, and moving height (pixels) from 864 to 1,296 shifts it by 20 at the middle row, so width (pixels) is the bigger lever here.

Aspect Ratio Calculator: ratio width part at each combination of width (pixels) (rows) and height (pixels) (columns).
Width (pixels) \ Height (pixels)8641,0801,296
1,536166432
1,728284
1,920201640
2,112228844
2,30483216

The highlighted cell is the worked example: 16.

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the aspect ratio calculator.
InputValue usedWhat it means
Width (pixels)1,920Enter the width (pixels) used in this calculation.
Height (pixels)1,080Enter the height (pixels) used in this calculation.
New width (pixels)1,280The width you want to scale to. The height that keeps the ratio is calculated for you.
Ratio width part16
Ratio height part9
Height at the new width720

Inputs, definitions and assumptions

Width (pixels)

Enter the width (pixels) used in this calculation. The prefilled worked-example value is 1,920.

Height (pixels)

Enter the height (pixels) used in this calculation. The prefilled worked-example value is 1,080.

New width (pixels)

The width you want to scale to. The height that keeps the ratio is calculated for you. The prefilled worked-example value is 1,280.

How to use this calculator

  1. 1Verify the inputs. Gather width (pixels), height (pixels) and new width (pixels) from your own documents; the prefilled values are examples.
  2. 2Save a baseline. The worked example puts the ratio width part at 16. Store your own version of it as Scenario A.
  3. 3Test one change. Start with width (pixels), the input with the biggest effect here: moving width (pixels) from 1,728 to 2,112 takes the ratio width part from 8 to 88, a swing of 500% of the worked-example figure.
  4. 4Check the extremes. At half the example width (pixels) (960) the ratio width part is 8; at double (3,840) it is 32.

People also ask

Frequently asked questions

How do you calculate aspect ratio?

Divide width and height by their greatest common divisor; new height = new width × height ÷ width. At the worked-example inputs the ratio width part is 16.

What does the aspect ratio result mean?

Resize an image, a video or a window without stretching it. At the worked-example inputs the ratio width part is 16. It rises with width (pixels); height (pixels) and new width (pixels) do not move it.

How much does width (pixels) change the ratio width part?

Holding every other input at the worked-example value, moving width (pixels) from 1,536 to 2,304 moves the ratio width part from 8 to 88, a spread of 80.

What are the limits of this aspect ratio calculator?

Password crack-time figures assume one specific guessing speed and no other weakness such as reuse, a data breach or a guessable personal pattern; a real attacker's actual speed and method can differ substantially. Subnet, transfer-time and storage figures are exact defined arithmetic, but a device, ISP or operating system may report a size or speed using a different unit convention (decimal or binary) than the one selected here. The tables on this page test width (pixels) only from 1,536 to 2,304; a value outside that range is not tabulated here.

If I double width (pixels) in the aspect ratio calculator, does the ratio width part double?

Doubling it from 1,920 to 3,840 takes the ratio width part from 16 to 32, which is 2.00 times the worked-example figure. So the result scales almost exactly in proportion. Halving it to 960 gives 8.

How much does height (pixels) matter in the aspect ratio calculator?

The worked example uses 1,080. The ratio width part does not depend on height (pixels); it moves the ratio height part from 81 to 99 instead when height (pixels) goes from 972 to 1,188.

How much does new width (pixels) matter in the aspect ratio calculator?

The worked example uses 1,280. The ratio width part does not depend on new width (pixels); it moves the height at the new width from 648 to 792 instead when new width (pixels) goes from 1,152 to 1,408.

Which inputs change the ratio height part in the aspect ratio calculator?

At the worked-example inputs it is 9. Width (pixels) takes it from 5 to 45 and height (pixels) takes it from 81 to 99.

Which inputs change the height at the new width in the aspect ratio calculator?

At the worked-example inputs it is 720. Width (pixels) takes it from 800 to 654.5, height (pixels) takes it from 648 to 792 and new width (pixels) takes it from 648 to 792.

Why does my hard drive show less capacity than what I paid for?

Manufacturers advertise storage using decimal gigabytes (10⁹ bytes), the SI-standard definition, while most operating systems report capacity in binary gibibytes (2³⁰ bytes) but label them "GB." A drive advertised as 1,000 GB shows as roughly 931 GiB once formatted, a real unit-definition gap , not missing storage.

What's the difference between a subnet mask and a wildcard mask?

A subnet mask marks the network portion of an address with 1 bits and the host portion with 0 bits; a wildcard mask is its exact bitwise inverse, used by some routing and access-control configurations instead of a subnet mask. Both describe the same /prefix, just inverted.

Does a bigger character pool always increase entropy more than adding length?

Not necessarily: going from a 62-character pool to a 94-character pool (adding symbols) raises entropy per character by less than one extra character of length does at most common pool sizes, because entropy scales with the logarithm of pool size but linearly with length.

All networking & technology questions answered

Sources and evidence

Free Calculators Online is independent and is not affiliated with or endorsed by the source organizations. Educational estimates only.

Background reading

Guides that use this calculator

Definitions

Terms used on this page

CIDR notation : glossary term
The slash-prefix shorthand (e.g. /24) that states how many leading bits of an IP address are the fixed network portion. A smaller number after the slash means a larger network with more usable addresses.
Password entropy : glossary term
A measure, in bits, of how unpredictable a password is: the base-2 logarithm of how many equally likely passwords share the same length and character pool. Higher entropy means an exhaustive guessing attack takes longer on average.
Subnet mask : glossary term
A 32-bit value that marks which bits of an IP address are the network portion versus the host portion. A wildcard mask is its exact bitwise inverse.