Sometimes you need to resize a picture or video, keeping the original proportions. In most resizing tools you need to enter only one new dimension and they do the math to calculate the other one proportionally. But some tools require you to enter both dimensions by yourself. The calculator below does the math to get the second dimension value from the first, saving the proportion. Formulas are simple and derived from the next proportion:
w0 - current width in pixels,
h0 - current height in pixels,
w1 - new width in pixels,
h1 - new height in pixels.
formula for the new width if you enter your new desired height is:
formula for the new height if you enter your new desired width is: