How to Resize an Image Without Losing Quality: Pixel Guide
How to resize an image to exact pixel dimensions, keep the aspect ratio, and avoid blur. Covers pixels vs file size, upscaling limits and common sizes.
Updated
To resize an image, change its pixel dimensions: set a new width, keep the aspect ratio locked so the height follows, and export. Making an image smaller keeps it looking sharp, while making it larger cannot add detail that was never captured. The Image Resizer does this with exact pixel values and shows the result and its file size before you download.
Pixels, file size and DPI are three different things
People say "size" and mean one of three numbers:
- Pixel dimensions: width and height, for example
4032 x 3024. This is what resizing changes. - File size: how many bytes the file takes, for example
3.2 MB. It depends on the pixel count, the format and the compression quality. - DPI or PPI: a note in the file that tells a printer how many pixels to place per inch. It does not change how the image looks on a screen.
Pixel count grows with area, not width. A 2000 x 1500 image has 3 million pixels. Halve both sides to 1000 x 750 and you have 750,000 pixels, a quarter of the data. That is why resizing is the fastest way to shrink a file, and why a photo that is "only" twice as wide can be four times as heavy.
If you need a smaller file but the same dimensions, that is compression, not resizing. See how to compress images without losing quality.
Resize an image step by step
- Open the Image Resizer and drop an image onto the upload area, or click it to browse. PNG, JPEG, WebP and GIF files are supported.
- Under Dimensions, type the new Width or Height in pixels. The aspect ratio lock is on by default, so the other side updates to match and nothing gets stretched.
- Or use a quick preset: Original, ½ size, 800px or 512px. The last two set the width and work out the height from the aspect ratio.
- Choose an Output Format: PNG, JPEG or WebP.
- For JPEG and WebP, set the Quality slider. It starts at 85 percent. For PNG the slider is disabled, because PNG is lossless.
- Check the preview, which shows the resized image and its new file size, then click Download.
The file is saved as the original name plus the operation and the new dimensions, for example beach-resized-1200x900.jpg, so you can tell versions apart later.
If you need a specific width and height that do not match the photo's shape, such as a square from a landscape photo, do not unlock the ratio and squash it. Crop to the right shape first with the Image Cropper, then resize the crop.
How to keep quality when resizing
- Start from the original. Every lossy save removes a little detail, so resize the camera file, not a copy that has already been through a chat app.
- Resize once. Going from
4000to2000to1000in separate saves is worse than going straight from4000to1000. - Keep the aspect ratio locked. Stretching is the most visible kind of damage.
- Pick the format for the content. Use PNG for screenshots, logos and anything with sharp text. Use JPEG or WebP for photos.
- Keep quality between 80 and 90 for photos. Higher values mostly add bytes. Lower values start to show blocky artifacts.
- Allow for high-density screens. If an image is displayed
600pixels wide on a website, export it1200wide so it stays crisp on 2x displays.
The limits of making an image bigger
Downscaling throws away pixels. Upscaling has to invent them. When you enlarge a 500 x 500 picture to 1500 x 1500, each original pixel is spread over nine, and the software fills the gaps by blending neighbors. Edges soften, fine texture turns smooth, and any compression artifacts in the source grow with it.
The resizer accepts values up to 8000 pixels per side and will enlarge if you ask it to, but treat that as a last resort:
- A small enlargement is usually acceptable, especially for images seen from a distance.
- Doubling a photo or more is where softness becomes obvious.
- Line art and screenshots suffer most, because sharp edges turn fuzzy.
The better fix is nearly always to find a larger source: the original camera file, a vector version of the logo, or a new screenshot at a higher zoom level.
Common sizes for the web
| Use | Pixels | Aspect ratio |
|---|---|---|
| Instagram square post | 1080 x 1080 | 1:1 |
| Instagram portrait post | 1080 x 1350 | 4:5 |
| Stories, Reels, TikTok | 1080 x 1920 | 9:16 |
| YouTube thumbnail | 1280 x 720 | 16:9 |
| Link preview (Open Graph) | 1200 x 630 | about 1.91:1 |
| Full HD screen or slide | 1920 x 1080 | 16:9 |
Platforms revise their recommendations from time to time, so check the current guidance if a post has to be pixel exact.
Sizes for printing
Print needs far more pixels than a screen. The formula is simple: pixels equal inches multiplied by pixels per inch. 300 pixels per inch is the usual target for prints held in the hand.
| Print size | Pixels at 300 per inch |
|---|---|
| 4 x 6 in | 1200 x 1800 |
| 5 x 7 in | 1500 x 2100 |
| 8 x 10 in | 2400 x 3000 |
| A4 (210 x 297 mm) | 2480 x 3508 |
Work it backwards to see how large a photo can print. A 3000 x 2000 image divided by 300 gives a 10 x 6.7 inch print at full quality. Posters viewed from across a room can use far fewer pixels per inch.
Resize or compress first?
Resize first, then compress. Setting the dimensions removes most of the weight, and the quality setting is then applied to the pixels you are actually keeping. The resizer's own Quality slider is enough for one image. For a whole folder, run the resized files through the Image Compressor.
Try it
Drop a photo into the Image Resizer, type a width, leave the ratio locked, and watch the preview and file size update. Pick JPEG or WebP for photos, PNG for graphics, and download the resized copy.