One Click Answers

How to resize an image without stretching it

An image looks stretched or squashed when its width and height are changed by different amounts. To avoid that, keep the aspect ratio: change one side, and work out the other so the proportions stay the same.

The formula

  • New height = original height × new width ÷ original width
  • New width = original width × new height ÷ original height

Worked examples

Resizing two images

A 4000 × 3000 photo made 800 wide: 3000 × 800 ÷ 4000 = 600 tall

A 1920 × 1080 video frame made 720 tall: 1920 × 720 ÷ 1080 = 1280 wide

When it does not come out whole

Pixels are whole numbers, but the sum sometimes is not. A 1000 × 667 image made 500 wide gives 333.5 tall. Round to 334, or 333, and accept that the shape changes by a tiny amount, far too small to see.

Cropping instead of resizing

If you need a different shape, such as turning a landscape photo into a square, resizing alone will not do. Crop first to the new ratio, then resize. Squashing the picture to fit a box is what gives people odd-looking faces.

Check before you export

  • Lock the aspect ratio in your editor when it offers the option.
  • Scale down rather than up when you can. Enlarging a small image makes it soft.
  • Keep the original file in case you need another size later.

Aspect Ratio Calculator: Enter the original size and one new side to get the other, with a note when it does not come out whole.

Published by OneClickAnswers.

You might also wonder...

Try it yourself

← All articles

Got another question?

Free, no account. Answers show how they were worked out.