W1


H1

=

W2


H2

Your aspect ratio is: 16 : 9

Example

Instructions

  1. Enter the values for the original width (W1) & original height (H1) on the left.
  2. Enter either a new width (W2) or new height (H2) on the right to calculate the remaining value.
  3. 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