How to resize an image without distortion

Learn to calculate aspect ratio, choose between crop, fit and stretch, and see the most common image sizes for Instagram, YouTube and Facebook.

You shrink a photo to fit a post and the person in it suddenly looks squashed. Or you upload to Instagram and the app crops off exactly the part that mattered. Resizing looks trivial, but one rule prevents almost every one of these problems: respect the aspect ratio.

With one line of arithmetic and a deliberate choice about what to give up when the shapes don't match, any photo can reach the right size without warping. The examples below use real numbers; to check the math as you go, load a photo into the image resizer and follow along.

Dimensions, resolution and file size: what's the difference?

Dimensions are the width and height in pixels, such as 1080 × 1350. File size is how much space the file takes on disk, in KB or MB. They're related but not the same thing: a small image can still be heavy as a PNG, and a large one can be light as a WebP.

That "DPI" (or PPI) setting is just a label that says how large the image should print. Changing it from 72 to 300 without changing the pixels doesn't make the photo any sharper. To print a 4 × 6 inch photo at 300 PPI, for example, you need 1200 × 1800 pixels.

What is aspect ratio and how do you calculate it?

Aspect ratio is the relationship between width and height. A 4000 × 3000 photo is 4:3; a 1920 × 1080 Full HD video is 16:9. To resize without distortion, the new width and height must keep that same relationship.

The math is a simple proportion:

new height = original height × new width ÷ original width

Example: to scale a 4000 × 3000 photo down to 1080 pixels wide, the height becomes 3000 × 1080 ÷ 4000 = 810 pixels. The result, 1080 × 810, is still 4:3. With "Keep the original aspect ratio" checked, the tool does this calculation for you every time you type a number.

What if the target has a different aspect ratio?

This is the classic phone-photo problem: you shot it vertically, at 3:4, but a YouTube thumbnail is horizontal, at 16:9. There's no way to change the ratio without giving something up. You get to choose what:

A vertical 3:4 photo with a circle adapted to a 16:9 frame in three ways: cropping the top and bottom, fitting it with side bars, and stretching it, which flattens the circle into an oval.Vertical 3:4 photo → 16:9 thumbnail (1280 × 720)Cropno distortion, loses top and bottomFitwhole image, with barsStretchdistorts shapes
When the aspect ratio changes, you choose between losing part of the image (red area), adding background bars or distorting the content.

Here's the math with a 3024 × 4032 phone photo. To crop and cover 1280 × 720, the width sets the scale (1280 ÷ 3024 ≈ 0.42), so the photo becomes about 1280 × 1707. The extra 987 rows are trimmed, half from the top and half from the bottom; more than half the height disappears, so this only works when the subject is centered. To fit, the height sets the scale (720 ÷ 4032 ≈ 0.18): the photo becomes 540 × 720, leaving 740 pixels of width split into two 370-pixel side bars.

Common social media sizes

These are the resizer's built-in presets, with what to watch for in each. Platforms revise their guidance often; the notes below were checked against their help centers in November 2026.

UsePixelsRatioWatch out for
Instagram square1080 × 10801:1The profile grid shows rectangular thumbnails and may crop the sides.
Instagram portrait 4:51080 × 13504:5The safest portrait size: works in the app and in scheduling tools.
Instagram portrait 3:41080 × 14403:4The tallest ratio the feed accepts today; check that your scheduling tool supports it too.
Instagram Stories / Reels1080 × 19209:16The top and bottom sit under the profile name and reply bar: keep text and faces in the middle.
YouTube thumbnail (HD)1280 × 72016:9Light and sharp; stays under the 2 MB limit for uploads from a phone. The bottom-right corner gets the duration badge.
YouTube thumbnail (4K)3840 × 216016:9The resolution YouTube recommends today. Only worth it if your source image is large enough.
Facebook cover820 × 312≈ 2.63:1Phones show a narrower slice: keep what matters in the center.

Can you enlarge an image without losing quality?

Not really. When you upscale, the software has to invent pixels that never existed by averaging their neighbors. The result is bigger but softer, with no new detail. Small enlargements usually go unnoticed; doubling the size makes the blur obvious. Whenever possible, start from a larger original.

Downscaling is the safe direction, but a big reduction in one step can produce jagged edges. That's why the resizer scales down in stages, with high-quality smoothing, until it reaches the final size.

A quick checklist

  1. Find the target size (the table above, or the slot on your website).
  2. If the ratio is the same, just type the width with the ratio locked.
  3. If it differs, choose crop (posts and covers) or fit (logos, documents, images with text near the edges).
  4. Pick the output format (the PNG vs JPG vs WebP guide helps) and, if you need an even smaller file, follow the image compression guide.

Resize your image now

In the image resizer you see the original dimensions as soon as the photo loads, type new measurements or pick a preset, decide how to handle a ratio change and check the preview before downloading as JPEG, PNG or WebP. Processing happens in your browser; the image is never uploaded to a server.

Frequently asked questions

Why does Instagram crop my photo?

The feed only accepts a range of aspect ratios, from wide landscape to portrait, and Instagram has changed that limit more than once. Outside the range, the app crops the photo for you. The profile grid also applies its own crop to thumbnails. Check the current recommendation in the help center before exporting.

Does changing the DPI improve image quality?

No. DPI is just print information stored in the file; the pixels stay the same. An image 1000 pixels wide has the same amount of detail at 72 or 300 DPI. To print larger and still look sharp, you need more pixels, which means starting from a higher-resolution original.

What width should I use for website images?

Use the width at which the image is actually displayed, doubled for high-density screens such as phones and Retina laptops. An image shown 800 pixels wide looks crisp at 1600 pixels. Going beyond that only adds page weight without any visible improvement for your visitors.

Why do some photos end up sideways after resizing?

Many cameras always store the image in the same orientation and simply note in the EXIF data that it should be rotated. Software that ignores that note shows the photo sideways. The resizer applies the rotation before changing the size, so the final file is already upright and doesn't depend on the note.

References