You have a good photo and a slot it does not fit. The upload form wants a specific size, Instagram shows it cropped in a way you did not choose, or the file is so large that email refuses it. The instinct is to reach for whatever editor is nearest and drag a corner until it looks about right. That is how pictures end up stretched, blurry or missing their edges.
Resizing is a precise job with a precise answer: a target width and height in pixels. This guide explains what resizing actually changes, how it differs from cropping and compressing, and how to do it with the free Image Resizer on Ovatly, which works in your browser and never uploads your image.
Contents
- Quick answer
- What resizing actually changes
- Resize, crop and compress are three different jobs
- Aspect ratio: the setting that prevents stretching
- Which size do you actually need?
- How to resize an image, step by step
- Worked example: halving a camera photo
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
To resize an image online without cropping it badly: work out the pixel dimensions the slot needs, resize with the aspect ratio locked so the shape cannot distort, and never force an image into a target with a different shape, because resizing does not crop, it stretches. On Ovatly, open the Image Resizer, add your image, choose exact pixels, a percentage, or a social preset such as an Instagram post or YouTube thumbnail, pick PNG, JPEG or WebP as the output, and download the result. If the image still weighs too much afterwards, compress it as a separate step.
What resizing actually changes
Resizing changes the pixel dimensions of an image: how many pixels wide and tall it is. A 4000 by 3000 photo holds 12 million pixels. Halve both dimensions and you get 2000 by 1500, which is 3 million pixels, one quarter as many. Fewer pixels means less information to store, so the file usually shrinks several times over, and the image loads faster and fits the slot it was made for.
Nothing about the picture itself changes: the same scene and framing, sampled onto a smaller or larger grid. Resizing cannot fix a badly framed photo, and enlarging cannot invent detail, a point the limitations section below is blunt about.
Resize, crop and compress are three different jobs
These three words get used as if they were interchangeable, and most bad results come from picking the wrong one.
Resize changes the dimensions of the whole picture. Everything in the frame survives, scaled. Crop changes the shape of the picture by cutting away edges; it is the right tool when the image is the wrong shape for the slot, or when you want to remove part of the scene. Compress changes how efficiently the same pixels are stored, which changes the file size without changing the dimensions at all.
The order matters when you need more than one. Crop first if the shape is wrong, then resize to the target dimensions, then compress to bring the file weight down. Our guide to compressing images without visible quality loss covers that last step in full.
Aspect ratio: the setting that prevents stretching
Aspect ratio is the relationship between width and height: a 4000 by 3000 photo has a ratio of 4 to 3. Resizing stretches or shrinks the picture to the exact target you set, and it never crops. So if you resize that 4:3 photo into a wide 16:9 banner shape, the tool will obey you, and faces will come out wide and flat.
The defence is the aspect ratio lock. With the lock on, you type one dimension and the other follows in proportion, so distortion is impossible. Turn the lock off only when a form demands an exact size and you have already cropped the image to that shape yourself.
Which size do you actually need?
Start from where the image will be seen, not from the size it happens to be. For a website hero image, match the widest the image will ever display, commonly 1600 to 1920 px wide; anything larger is weight nobody sees. For social posts, the Resizer carries ready-made presets, including an Instagram post and a YouTube thumbnail, so you do not have to memorise each platform's numbers. For email, smaller is kinder: an image a few hundred pixels wide displays perfectly in an inbox and will not trip attachment limits.
If a form states a required size, that number wins over every rule of thumb. Match it exactly, and keep your original file untouched: you can always resize down again from it, but you cannot recover pixels you threw away.
How to resize an image, step by step
- Open the Image Resizer and choose your image. The tool shows its current dimensions and file size, so you can see what you are starting from.
- Pick how to resize: exact pixels (with the aspect-ratio lock on, unless you have a reason to turn it off), a percentage scale, or a social preset.
- Choose the output format: PNG, JPEG or WebP. If you are unsure which, our comparison of PNG vs JPG vs WebP explains the tradeoffs.
- Check the target size, click Resize image, preview the result and download it. Look at the preview at the size it will actually be used before you accept it.
Worked example: halving a camera photo
Take a typical camera photo at 4000 by 3000 px. Resized by percentage at 50 percent, it comes out at exactly 2000 by 1500 px: one quarter of the pixels, which usually means a file several times smaller, with nothing cropped and nothing stretched.
Now suppose a website slot wants it 1200 px wide. With the aspect lock on, typing a width of 1200 sets the height to 900 automatically, because 1200 by 900 keeps the same 4:3 shape. That one automatic step is the whole difference between a resized photo and a distorted one.
Limitations and honest tradeoffs
Enlarging beyond the original size is allowed, but it cannot add detail that was never captured. An image resized up will look soft at its new size, because the tool is spreading existing information over more pixels, not finding new information.
Animated GIFs are resized using their first frame only, so the output of an animated file is a still image. Resizing also re-encodes the file, which is why the download size can change even when you did not touch any quality setting. And resizing never solves a weight problem on its own if the dimensions were already right: when the pixel size is correct but the file is heavy, compression is the tool for the job, not another resize.
Common mistakes
- Resizing with the lock off into a different shape. The picture stretches to obey you. Lock the ratio, or crop to the shape first.
- Enlarging a small image and expecting sharpness. Upscaling spreads detail thinner; it never creates it.
- Resizing when you meant to crop. If the edges need to go, resizing keeps them and distorts the picture instead.
- Overwriting your only copy. Keep the original. Every future size should start from it, not from an already resized version.
- Skipping the compression step. A correctly sized photo can still be several megabytes. Resize for dimensions, then compress for weight.
FAQs
What is the difference between resize and crop? Resize scales the whole picture to new dimensions and keeps everything in the frame. Crop cuts away edges and keeps the middle at full resolution. Crop first when the shape of the image has to change, then resize the result.
Which size should I use for a website hero image? Match the widest the image will ever display, commonly 1600 to 1920 px wide. Then run the Image Compressor afterwards to shrink the file without changing the dimensions again.
Is my image uploaded to a server? No. The resize happens on a canvas inside your browser, and the file never leaves your device. You can disconnect from the internet after the page loads and the tool still works.
Why does the file size change when I resize? Fewer pixels hold less information, so the encoded file shrinks too. JPEG and WebP also re-encode at the quality the browser applies, which can change the size further in either direction.
Can I resize a small image to make it bigger? The tool allows enlarging, but it cannot add detail that was never captured. An enlarged image shown at its new size will look soft, so only enlarge when a form demands a minimum size and a soft result is acceptable.
Conclusion
Good resizing is mostly one decision made early: the exact dimensions the slot needs, with the aspect ratio locked so the picture keeps its shape. The Image Resizer handles the rest in your browser, by pixels, percentage or preset, and your original stays untouched for the next job. For more guides in this series, see our Image Tools guides, which pair each technique with the free tool that performs it.
References
- web.dev (Google), on serving responsive images at the sizes displays actually need: https://web.dev/articles/serve-responsive-images
- MDN Web Docs, on image file types and the formats browsers support: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types