ToolsVortex
Explore tools

How to Resize an Image Without Losing Quality: A Simple Guide

How to Resize an Image Without Losing Quality: A Simple Guide
Images & PhotosUpdated November 23, 20269 min readBy ToolsVortex Editorial Team

To resize an image without losing quality, make it smaller, not bigger, lock the aspect ratio, and resize once from the original file. Use a bicubic or Lanczos filter, then save as PNG or as JPG or WebP at quality 80 to 90. Enlarging cannot add real detail, so it always softens the image.

Shrinkresizing down keeps photos sharp
2xabout the most you can enlarge before blur shows
1 resizefrom the original beats many small edits
How to Resize an Image Without Losing Quality: A Simple Guide

If you want to know how to resize an image without losing quality, start with one fact: shrinking is safe and enlarging is not. A smaller copy just throws away pixels you no longer need. A bigger copy has to invent pixels that were never captured.

This guide shows the aspect ratio math, a test we ran on real photos with four resampling filters, and the save mistakes that quietly blur your work. If you want to skip ahead, our free image resizer keeps the ratio locked for you.

How Do You Resize an Image Without Losing Quality?

Resize down from the original file in one step, keep the width and height in proportion, use a good resampling filter, and save at a high quality setting.

  1. Start from the original. Use the camera file or the first export, not a copy that was already shrunk or compressed.
  2. Lock the aspect ratio. Change only the width or only the height and let the other follow.
  3. Pick the target size once. Work out the final pixel size you need before you touch the file.
  4. Use bicubic or Lanczos. These filters keep edges cleaner than nearest neighbor or bilinear.
  5. Save carefully. PNG or lossless WebP keeps every pixel. For JPG or lossy WebP, a quality of 80 to 90 is a good start.

Follow those five steps and a resized photo will look as sharp as the original at its new size. Enlarging is the one case no tool can fully fix, as the test below shows.

Image ResizerResize images by pixels or percent with the aspect ratio locked, right in your browser.
Open tool →

How Do You Keep the Aspect Ratio When Resizing?

Keep the aspect ratio by scaling the width and height by the same factor, so new height equals new width times the original height divided by the original width.

New height = new width × original height ÷ original width
New width = new height × original width ÷ original height
Print size (inches) = pixels ÷ pixels per inch

A 12 megapixel photo is often 4032 × 3024 pixels, a 4:3 ratio. Here is what common target widths give you:

New width (px)New height (px)Share of original pixels
3000225055%
1920144023%
1600120016%
12009009%
8006004%
4003001%

Share of pixels = (new width × new height) ÷ (4032 × 3024), rounded.

If the ratio you need is different, such as a 1:1 square for a profile photo, crop first and resize second. Stretching a 4:3 photo into a square squashes faces and circles. Use the crop tool for the shape and the aspect ratio calculator for the numbers.

Why Does Enlarging an Image Make It Blurry?

Enlarging makes an image blurry because the software must guess the color of new pixels from their neighbors, and a guess cannot recreate detail the camera never recorded.

We tested this with two standard sample photos, a 600 × 400 still life and a 512 × 512 portrait. We shrank each one to half size, then blew it back up to full size with four filters and compared the result with the true original. SSIM is a similarity score where 1.0 is a perfect match. PSNR is measured in decibels, and higher is closer.

Upscale filter (2x)Still life SSIMStill life PSNRPortrait SSIMPortrait PSNR
Nearest neighbor0.86127.9 dB0.91427.8 dB
Bilinear0.85928.5 dB0.92829.4 dB
Bicubic0.88429.4 dB0.94230.6 dB
Lanczos0.89329.8 dB0.94531.0 dB
Lanczos at 4x0.75426.1 dB0.84025.9 dB

Our test with the Pillow library. Scores compare the enlarged copy with the real full size photo.

Lanczos won every round, but even the best 2x result fell well short of a perfect 1.0. At 4x the loss more than doubled. So if you need a big image, go back and find a bigger source. Treat 2x as the practical ceiling for enlarging, and expect some softness even there.

Which Resampling Method Gives the Best Quality?

For photos, Lanczos or bicubic gives the best quality; nearest neighbor is only best for pixel art and screenshots scaled by whole numbers.

  • Nearest neighbor copies the closest pixel. It is fast and keeps hard edges, so pixel art at 2x or 3x stays crisp. On photos it makes jagged steps. When we shrank our photos to one third, it scored lowest of the four filters.
  • Bilinear blends the four nearest pixels. Smooth, but a little soft.
  • Bicubic blends 16 pixels with a curve. It is a safe all round choice for photos.
  • Lanczos uses a wider window and keeps fine texture best. It can add a faint halo on very high contrast edges, such as black text on white.

If your app has a “preserve details” or “high quality” option, it is usually one of the last two. For screenshots of text, try both and look at the letters at 100% zoom.

Edge cases most guides skip

  • Transparent PNGs. Keep the file as PNG or WebP after resizing. Saving to JPG fills the clear area with a solid color.
  • Odd pixel sizes. Halving 1,001 pixels gives 500.5, so the app rounds. One pixel of rounding is invisible, but it can break a form that demands an exact size, so type the final numbers yourself.
  • Phone photos that turn sideways. Some apps read the rotation tag and some ignore it. If a resized copy comes out rotated, rotate it once and save again.

Does Saving a Resized Image Lower Its Quality?

Saving lowers quality only with lossy formats like JPG and lossy WebP, and the bigger danger is resizing the same file over and over, not saving it.

We saved our still life photo as a quality 85 JPG again and again, and separately shrank it to 90% and stretched it back, again and again. Here is how far each copy drifted from the original:

RoundsJPG resave at quality 85 (SSIM)Shrink 90% and regrow (SSIM)
10.9310.969
50.9290.913
100.9280.887
200.928not tested

Our test with the Pillow library at a fixed quality setting. Changing the quality or size between saves adds more loss.

The first JPG save did most of the damage, and later saves at the same setting barely moved the score. Repeated resizing kept getting worse each round. That is why the rule is to resize once from the original. Keep a master copy in PNG or your camera format, and export fresh copies from it.

The format matters too. JPG is lossy by design under the ITU-T T.81 standard. PNG is lossless under the W3C spec, and WebP offers both modes. Switch formats with the image converter if your resized file needs a different one.

What Size Should an Image Be for the Web or for Print?

For the web, make the image as wide in pixels as its display slot, times 2 for sharp phone and laptop screens; for print, multiply the print size in inches by the pixels per inch your printer asks for.

Print size (inches)At 150 ppiAt 200 ppiAt 300 ppi
4 × 6600 × 900800 × 12001200 × 1800
5 × 7750 × 10501000 × 14001500 × 2100
8 × 101200 × 15001600 × 20002400 × 3000
11 × 141650 × 21002200 × 28003300 × 4200

Ask your print shop which ppi it wants. A 4032 × 3024 photo prints at 13.4 × 10.1 inches at 300 ppi.

Worked example

Your blog column is 800 pixels wide and you have a 4032 × 3024 phone photo. What size should you export?

  1. Double the slot for high density screens: 800 × 2 = 1600 pixels wide.
  2. Keep the ratio: 1600 × 3024 ÷ 4032 = 1200 pixels high.
  3. Pixel count drops from 12,192,768 to 1,920,000, about 6.4 times fewer.
  4. Export once at 1600 × 1200 with Lanczos or bicubic, then save as WebP or JPG at quality 80 to 85.

The photo looks just as sharp on screen, and the file shrinks by far more than compression alone could manage.

Some forms set a file size limit in KB instead of pixels. Resize to the needed dimensions first, then use the image compressor or a preset like resize image to 100 KB. Shrinking the pixels first means you need less compression, so the result stays cleaner. Finish in the image resizer to check the final dimensions.

Quick Recap

  • Shrinking keeps quality; enlarging always adds blur.
  • Lock the aspect ratio: new height = new width × old height ÷ old width.
  • Use Lanczos or bicubic for photos, nearest neighbor for pixel art.
  • Resize once from the original instead of making many small edits.
  • For screens, export at 2x the display width; for print, inches × ppi.
How to Resize an Image Without Losing Quality: use the free image resizer on ToolsVortex

Frequently Asked Questions

Can you make an image bigger without losing quality?

Not truly. Enlarging has to invent new pixels from the old ones, so fine detail softens. In our test, a 2x Lanczos enlargement scored 0.89 to 0.95 on a similarity scale where 1.0 is perfect, and 4x scored much lower. Find a larger original when you can.

What is the best resampling method for photos?

Lanczos or bicubic. In our 2x enlargement test, Lanczos scored highest on both sample photos, with bicubic close behind. Nearest neighbor scored lowest on photos but is the best pick for pixel art scaled by whole numbers.

Does resizing an image reduce its file size?

Yes, usually a lot. File size tracks pixel count, so halving the width and height leaves one quarter of the pixels. Resizing a 4032 × 3024 photo to 1600 × 1200 removes about 84% of the pixels before any compression.

How do I resize a photo without stretching it?

Lock the aspect ratio so the width and height scale together. If you need a different shape, such as a square, crop the photo to that shape first and then resize. Stretching to a new ratio distorts faces and round objects.

What size image should I use for a website?

Match the width in pixels to the space it fills on the page, then double it for sharp high density screens. An image shown 800 pixels wide should be about 1600 pixels wide. Going far bigger only adds file weight.

Does saving a JPG many times ruin it?

Repeated saves at the same quality setting add very little extra loss after the first one, in our test. The bigger risk is changing the size or quality between saves. Keep a lossless master and export fresh copies from it.

Sources

  1. ITU-T: JPEG recommendations (T.81), JPEG is the lossy and lossless image coding standard approved in 1992
  2. W3C: Portable Network Graphics (PNG) Specification, Third Edition, PNG stores images losslessly
  3. Google for Developers: WebP, an image format for the Web, WebP offers lossy and lossless compression
  4. IETF RFC 9649: WebP Image Format (2024), lossless WebP restores pixel values exactly
TV
Written by the ToolsVortex Editorial Team

We check every number in our guides against the original source and test each example in our calculators before publishing. This guide is general information, not professional advice. Spotted an error? Tell us and we will fix it.

Keep reading