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.
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.