Aspect Ratio Calculator
Use the form below to calculate the missing value for a particular aspect ratio. This is useful, for example, when resizing photos or video.
Instructions
- Enter the values for the original width (W1) & original height (H1) on the left.
- Enter either a new width (W2) or new height (H2) on the right to calculate the remaining value.
- Change any of the values at any time, or reset them to the starting values.
Formula
Say you have a photo that is 1600 x 1200 pixels, but your blog only has space for a photo 400 pixels wide. To find the new height of your photo—while preserving the aspect ratio—you would need to do the following calculation:
(original height / original width) x new width = new height
(1200 / 1600) x 400 = 300