How to resize an image without stretching or distorting it
Keep the aspect ratio when you scale, and choose between cropping and adding borders when the new size is a different shape. With diagrams and worked numbers.
A stretched photo is easy to spot: faces look wider, circles turn into ovals, text leans. It happens for one reason only: the new width and height do not have the same proportions as the original. Once you know whether your new size has the same shape or a different one, the fix is simple.
Why images get distorted
Every image has an aspect ratio: its width divided by its height. A photo of 3000 × 2000 pixels has a ratio of 3:2. If you resize it to 1500 × 1000, the ratio is still 3:2 and nothing is distorted. If you resize it to 1500 × 1500, you are asking a 3:2 picture to fill a 1:1 square, and something has to give: either the picture is squeezed, or part of it is cut off, or empty space is added.
Those three answers have standard names on the web. The CSS property object-fit, documented on MDN, calls them fill (stretch to the box), cover (fill the box and clip the overflow) and contain (fit inside and leave bands). The diagram shows what each does to the same picture.
Same shape: scale with the ratio locked
When you only need a smaller or larger version of the same picture, keep the ratio locked and type one side. The other side follows. To work it out yourself:
new height = new width × original height ÷ original width
For a 3200 × 2000 screenshot at 1600 pixels wide: 1600 × 2000 ÷ 3200 = 1000, so 1600 × 1000. When the result is not a whole number, round it; a difference of one pixel is invisible. The Aspect Ratio Calculator does this and reduces any size to its ratio, and the aspect ratio guide explains the maths.
Open the Image ResizerType a width or pick a preset; the height follows.Different shape: crop, fit or stretch
Profile pictures, product grids and social posts often need an exact shape. Here is what each choice does with a 600 × 400 photo made into a 1080 × 1080 square (the numbers come from the same calculation the Image Resizer uses):
| Choice | What happens | Use it for |
|---|---|---|
| Crop to fill | The centre 400 × 400 pixels of the photo are kept and enlarged to fill the square; 100 pixels are cut from the left and from the right. | Photos where the subject is in the middle: portraits, products, thumbnails. |
| Fit inside | The whole photo becomes 1080 × 720 pixels, with bands of 180 pixels above and below. | Images where nothing may be lost: documents, charts, artwork, logos. |
| Stretch | The photo is squeezed to 1080 × 1080. Everything stays in, but shapes are distorted. | Almost never. Only for patterns or textures where distortion does not show. |
Another common case: a phone photo of 4032 × 3024 pixels (4:3) for a 1080 × 1350 portrait post (4:5). Cropping to fill keeps the centre 2419 × 3024 pixels, so 806 pixels are cut from each side. If the subject is not in the centre, use the Image Cropper instead, where you drag the crop area to the part you want to keep, then resize.
Step by step
Same shape
- Open the Image Resizer and add your image. Its current size is shown.
- Leave Lock aspect ratio ticked and type the new width, or pick one of the common widths.
- Choose the format and quality, select Resize image and check the preview.
- Download, or continue straight to the Image Compressor.
Different shape
- Untick Lock aspect ratio and type both the width and the height you need.
- The resizer notices that the shape has changed and asks how to fit the image: Crop to fill, Fit inside and add borders, or Stretch. It tells you exactly how many pixels will be cut or added.
- For borders, choose a colour, or transparent borders when saving as PNG or WebP.
- Resize, check the preview and download.

Making an image larger
Enlarging an image spreads the same pixels over a larger area. The result is smoother, not more detailed: no ordinary resizer can add detail that the camera did not capture. Small enlargements, up to about 150%, are usually acceptable on screen. For print or large enlargements, go back to a larger original if you have one.
Common mistakes
- Typing both sides with the ratio locked off, without noticing. Always compare the shape: if the original is 3:2 and the target is 1:1, decide between cropping and borders on purpose.
- Resizing a screenshot of text by an odd amount. Halving (50%) usually keeps text crisper than an uneven step such as 63%. If text must stay readable, resize as little as possible and save as PNG.
- Resizing an already small image up for a large banner. It will look soft. Use a larger original.
- Cropping off the subject. Automatic centre cropping does not know where the face is. Check the preview, and crop by hand when the subject is near an edge.
Questions and answers
How do I make a rectangular photo square without stretching it?
Choose a square size such as 1080 × 1080, then either crop to fill, which keeps the centre and cuts the sides, or fit inside, which keeps the whole photo and adds bands of colour. In the Image Resizer, untick Lock aspect ratio, type both sides and pick one of the two.
How do I work out the new height myself?
Multiply the new width by the original height and divide by the original width. For a 3200 × 2000 image at 1600 pixels wide: 1600 × 2000 ÷ 3200 = 1000. The Aspect Ratio Calculator does this for you.
Does resizing reduce quality?
Making an image smaller keeps it sharp when it is done in good steps, as the Image Resizer does. Making it larger cannot add detail that was never captured, so it looks softer the more you enlarge.
What is the difference between resizing and cropping?
Resizing changes how many pixels the whole picture has. Cropping cuts away part of the picture. To change the shape without distortion you need a crop, or borders, as well as a resize.
Sources
- object-fit, MDN Web Docs
- Serve images with correct dimensions, web.dev (Google)