Free Online SEO Advice

Aspect Ratio Calculator

Enter the original width and height, then enter either a new width or a new height. The other dimension updates automatically while keeping the same proportions.

Original dimensions
New dimensions

Both new dimensions are editable. Type a height to calculate width, or type a width to calculate height.

Your aspect ratio is 16 : 9.

Visual preview

Example

How the calculation works

For a 1600 × 1200 image, entering a new width of 400 calculates a height of 300. Entering a new height of 300 calculates a width of 400.

New height = original height ÷ original width × new width
New width = original width ÷ original height × new height

This calculator determines dimensions; it does not resize or crop your actual image file. Read the image optimization guide for help preparing the final file.