Aspect Ratio Calculator

Find a proportional height from width and an aspect ratio.

Reset

Understanding aspect ratio

Every screen, photograph and video frame has a shape, and that shape is its aspect ratio: the width compared with the height, written as two numbers with a colon between them. A 16:9 television is sixteen units wide for every nine high, a square post is 1:1, and a phone story is 9:16 — tall rather than wide. The ratio is the shape itself, and it stays the same no matter how large or small the picture is: a 1920-pixel wide image at 16:9 is 1,080 pixels high, and a 3840-pixel wide one at the same ratio is 2,160 high, because both are sixteen ninths as wide as they are tall.

Formula and method

Height = target width × ratio height ÷ ratio width

Proportional height: Target width — the width the finished image or frame should have, in pixels or any other unit. Ratio width — the first number of the aspect ratio, the width side of the proportion. Ratio height — the second number of the aspect ratio, the height side of the proportion. Height — the matching height at the target width, in the same unit as the target width. Why multiply, then divide. The ratio says that width and height stand in a fixed proportion: width ÷ height always equals ratio width ÷ ratio height. To find the height for a new width, the width is scaled by the ratio height over the ratio width — the fraction that turns a width into its matching height. For a target width of 1920 at 16:9, that fraction is 9 ÷ 16, and 1920 × 9 ÷ 16 = 1,080. Why the ratio numbers can be any size. Only their proportion matters: 16:9, 32:18 and 160:90 are the same shape, because 9 ÷ 16 = 18 ÷ 32 = 90 ÷ 160. Why the unit follows the width. The ratio itself has no unit, so the answer comes out in whatever unit the target width was entered in: pixels in, pixels out. The ratio width must not be zero, since dividing by zero has no meaning, and both ratio numbers should be positive.

Worked example

Example 1 — Width 1920 at 16:9 (the live-page example) A target width of 1920, with an aspect ratio of 16:9. Ratio fraction: 9 ÷ 16 = 0.5625 Height: 1920 × 9 ÷ 16 = 1920 × 0.5625 = 1,080 Result: 1,080 This is the stored example on the live page, and the arithmetic above reproduces it. A 1920-by-1080 frame is the familiar Full HD size: 1920 is sixteen ninths of 1080, so a 16:9 picture at that width is exactly 1080 high, with no rounding and no cropping. The same ratio at half the width, 960, would give a height of 540 — the shape is identical, only the size changes.