Image Resize Calculator

Enter the original width and height, then set one new size to get the other, with the aspect ratio kept. Pixels are whole numbers, so the result is rounded; the tool shows how much the ratio changes.

px
px
What do you want to set?
Rounding when the size is not a whole number (pixels are whole numbers)
This applies to the side you did not set (or, for a scale, to both the width and the height). The default is to round to the nearest pixel.
New size (width × height) —
Scale (compared with the original)—
Aspect ratio change—
The number copied is the new width and height joined by "x" (for example, 1600x1200).

How the new size is calculated

The new size keeps the aspect ratio (width ÷ height) of the original.

Pixels are whole numbers, so a result with a fraction is rounded the way you choose (to nearest, down or up). The side you set stays exactly as entered; with a scale, both sides are rounded.

Why the aspect ratio can change slightly

Rounding to whole pixels can make the new aspect ratio differ a little from the original. The tool shows this as a percentage: how much larger (+) or smaller (−) the new width ÷ height is than the original width ÷ height. A change of 0.00% means the ratio is exactly the same.

For example, resizing 1,000 × 333 pixels to a width of 100 gives a height of 33.3, which is rounded to 33. The new 100 × 33 image is about 0.91% wider than the original. The difference matters less the larger the image is.

Examples

Notes

Frequently asked questions

How do I resize an image without stretching it?

Set one new size and work out the other from the original ratio. This tool does that when you set the width, height, long side, short side or a scale.

Why is the ratio slightly off?

Pixels must be whole numbers, so the calculated size is rounded. The difference gets smaller as the image gets larger.

When should I use the long side?

When you have a mix of portrait and landscape pictures and want the longer side of each to match a size. For a portrait picture, the long side is the height.