Image Resizing Calculator
On websites, frequently we include images in a smaller size than the original image.
<image> tag can be inserted in a page, without specifying its width and height.
However, good HTML coding requires the specification of these two dimensions.
This calculator provides desired width and height values for displaying an image while preserving the image's aspect ratio (W/H) to prevent image distortion.
In the form below, specify:
- The Width AND Height of the original image,
- Either the Width OR the Height of the image that will be displayed on the page.
After clicking the button, the calculated value will be shown in the input box.
Calculator for image resizing
The aspect ratio of the Original image:
The new dimensions: