This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8989/. Also, please do not modify any references to the original work (if any) contained in this content.
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: