Guide · Resize Image

How to reduce pixel size of image files on Windows, Mac or online

How to reduce pixel size of image files in Paint, Preview or your browser, how to pick the right width, and why fewer pixels won’t always mean fewer KB.

By Kola Oguntade · Updated November 2026 · 5 min read
4000 → 1200 px

To reduce the pixel size of an image, open it in a resizer, keep the aspect ratio locked, type a smaller width and save a copy. Paint on Windows, Preview on a Mac and the Lokafile image resizer all work this way. First, though, check what limit you’re trying to meet. If it’s in pixels (say 1200 × 800), resizing is the answer. If it’s in kilobytes (say under 200 KB), resizing helps, but it’s only half the job.

Pixel size, file size and DPI are three different things

A lot of searches mix these up, so it’s worth separating them before you change anything:

TermWhat it measuresLooks likeWhat changes it
Pixel size (dimensions)How many pixels wide and tall the picture is4000 × 3000Resizing or cropping
File sizeHow much storage the file takes2.4 MB, 180 KBResizing, compression, file format
Resolution (DPI or PPI)How many pixels go into each printed inch72, 300A setting in the file; it leaves the pixel count alone unless you resample

There’s no formula that turns kilobytes into pixels. A 1000 × 1000 PNG of a flat logo can be tiny, while a 1000 × 1000 JPG of a busy street scene is much bigger. What pixel size does set is how much there is to store. Halve the width and the height and you keep a quarter of the pixels: 4000 × 3000 is 12 million pixels, 2000 × 1500 is 3 million.

Work out the width you need before you resize

The saving comes from matching the picture to the space it will fill. MDN’s guide to responsive images gives a worked example: the same photo is 128 KB at 800 pixels wide and 63 KB at 480 pixels wide. It also explains why you shouldn’t go too small. A raster image has a fixed number of pixels, so it starts to look grainy when it’s shown larger than its real size.

  • A form or website states a maximum: use that exact number for the longer side.
  • A picture on your own web page: use the width of the column it sits in. MDN’s example shows a 320 pixel image loading a 640 pixel file on screens with two device pixels per CSS pixel, so for a 600 pixel column a 1200 pixel copy keeps it sharp on those displays.
  • A profile photo, banner or thumbnail: each platform has its own slot. The image sizes guide lists the common ones.

Only ever go down. Shrinking throws pixels away, and enlarging the copy later can’t bring them back, so keep the original somewhere safe.

How to reduce pixel size of an image online

This is the quickest route if you’re on a phone or a computer where you can’t install anything.

  1. Open Resize Image and drop in a JPG, PNG or WebP.
  2. The width and height boxes start at the picture’s current size. Leave Lock ratio ticked so it doesn’t stretch.
  3. Type the new width. The height changes with it to keep the proportions.
  4. Check the line below the Download button. It shows the new size next to the old one, for example New size 1200×900 px (from 4000×3000).
  5. Download. The copy keeps its name with -resized added on the end.

Everything happens in your browser, so the photo never leaves your device. A PNG comes back as a PNG. Other formats are saved as a JPG at 92% quality and any transparent areas turn white, so start from a PNG if you need a see-through background. Width and height can go up to 20,000 pixels each.

How to make an image smaller in pixels with Paint on Windows

Paint comes with Windows and has a pixel setting in its resize box. Rutgers University’s IT guide to editing images in Paint sets out the steps:

  1. Open Paint, go to File, then Open, and pick the picture.
  2. If part of the picture is selected, click Brushes first so the resize applies to the whole image.
  3. Click Resize to open the Resize and Skew window.
  4. Choose Pixels rather than Percentage.
  5. Make sure Maintain aspect ratio is ticked, lower the Horizontal or Vertical value, and click OK.
  6. Go to File, then Save as, and give the file a new name so the original stays intact.

Percentage is handy when you don’t have a target: 50% gives you half the width and half the height, which is a quarter of the pixels.

How to reduce pixel size in Preview on a Mac

Preview does the same job and can resize a batch at once. These steps are based on Apple’s Preview guide to cropping, resizing and rotating:

  1. Open the image in Preview.
  2. Show the Markup toolbar if it’s hidden, then click Adjust Size. Tools > Adjust Size opens the same window.
  3. Select Scale proportionally, so changing the width changes the height too.
  4. Type a new width or height, or pick a size from the Fit into menu.
  5. Keep Resample image ticked, then click OK and save the file.

That last tick matters. Apple’s guide says unticking Resample image makes the dimensions smaller without losing any detail. Keeping every bit of detail means keeping every pixel, so that option only changes how big the picture prints. For fewer pixels, leave it ticked. To do several photos together, open them in one Preview window, select them in the sidebar and choose Tools > Adjust Size.

When the pixel size is right but the file is still too big

Resizing usually cuts the kilobytes a lot, but a form with a hard limit, such as 100 KB, may still turn the file down. That’s the point to compress rather than shrink further. Resize first, then:

Our guide to reducing image file size covers the quality settings in more detail. If the subject only fills a small part of the frame, crop the image before resizing. That keeps more detail on the subject once you resize.

Questions people ask

How do I resize an image to exact pixels?

Open it in a resizer that takes pixel values, such as Paint (choose Pixels in Resize and Skew), Preview (Tools > Adjust Size) or Lokafile’s Resize Image tool. Type the width you need. If the height must also be exact and the shape differs, crop to the right proportions first, then resize.

Does reducing pixel size lower the quality?

It removes detail you can’t get back, so keep the original. At the size the picture will be shown, a well-resized copy looks the same or very close, because the screen or page couldn’t display the extra pixels anyway. Enlarging it again later is what looks soft.

How do I convert KB to pixels?

You can’t, because there’s no fixed conversion. Two images with identical pixel dimensions can have very different file sizes depending on the format and how much detail they contain. If a form asks for a KB limit, resize to a sensible width first, then compress to the target.

What is the difference between pixels and resolution?

Pixel size is how many pixels wide and tall the image is, for example 1200 × 800. Resolution in DPI or PPI says how many of those pixels are printed per inch. Changing DPI on its own alters the print size, not the pixel count.

Can I reduce the pixel size of a photo on my phone?

Yes. Lokafile’s Resize Image tool runs in a phone browser the same way it does on a computer, and the photo isn’t uploaded. Pick the photo, type a smaller width with Lock ratio ticked, then download the resized copy.

More guides