How to Reduce Image Size in Pixels and KB (Without Visible Quality Loss)
“Make this image smaller” can mean two different things. You might want fewer pixels, such as 1200 × 800 instead of 4000 × 3000. Or you might want fewer kilobytes, such as 150 KB instead of 4 MB. The two are related but not the same, and knowing which one you need saves a lot of trial and error. This guide answers the most common questions about both.
Pixel size vs file size: what is the difference?
- Pixel size (dimensions) is the width and height of the image in pixels. It decides how big the picture appears and how sharp it looks.
- File size (KB or MB) is how much storage the file takes. It decides how long it takes to upload, send or load.
Reducing the pixel size almost always reduces the file size too, because there is less picture to store. Compressing the file reduces the file size but usually leaves the pixel size alone. For the best result, change pixels first, then compress.
How do I reduce the pixel size of a photo?
You do this with any program that can resize an image:
- Windows: open the photo in Paint, choose Resize, switch to Pixels, keep Maintain aspect ratio ticked, enter a new width and save a copy.
- Mac: open the photo in Preview and choose Tools → Adjust Size. Set the unit to pixels and enter the new width.
- Any photo editor: look for Resize, Image Size or Scale.
- Our image compressor: tick the optional resize box, enter a new width or height, and compress in the same step.
- Cropping also reduces pixels, because you remove part of the picture.
Keep the aspect ratio locked so the photo is not stretched, and avoid making an image larger than the original, which only makes it blurry. Menu names vary between versions, but the options are usually easy to find.
| Where the image will be used | Suggested width |
|---|---|
| Viewing on screens, email or social media | About 1,200–2,000 px |
| Blog or website content | About 800–1,200 px |
| Thumbnails and cards | About 300–600 px |
| A form that gives exact dimensions | Exactly what the form asks for |
These are starting points. For websites in particular, our guide to the ideal image size for a website goes into more detail.
How can I resize an image online in pixels and KB?
You can do both in our image compressor, in one go:
- Choose your photo.
- Tick Resize the image in pixels before compressing. Enter a new width or height, or use a quick size such as 50%. The aspect ratio stays locked by default so the photo is not stretched, and images are never enlarged.
- Set the quality slider and click Compress.
- Check the new dimensions and file size in the result, then download the file.
The main tool uses a quality slider rather than a size target. If you need an exact limit in kilobytes, resize the photo there first, then use a size page such as compress to 100KB to reach your limit. Everything runs in your browser, and nothing is uploaded. For a folder of photos, the bulk compressor can scale down every image wider than a maximum width you choose, up to 20 at a time. For forms with strict rules, this guide explains how to meet both size and format requirements.
How do I reduce image size on a Google Pixel phone?
You have a few options, and they combine well:
- Compress it in your browser. Open our compressor in Chrome on your phone, choose the photo from your gallery or Files, compress it and download the smaller copy. This reduces the KB.
- Crop it in Google Photos. Open the photo, tap Edit, then Crop, and save a copy. Cropping reduces the pixels, and your original stays untouched.
- Check your camera settings. Some Pixel models let you choose the resolution of photos in the camera settings. Options differ by model, so look for a resolution or photo-size setting on yours.
Google Photos also has a backup setting called Storage saver, which reduces the size of copies stored in your account. That helps your storage space, but it does not make the file you send to someone smaller. If your phone is full, this guide covers freeing up space.
How do I reduce file size without losing quality?
Strictly speaking, JPG and WebP compression always removes some detail, so the honest goal is to lose nothing you can see. These steps get you there:
- Resize first. Removing pixels you would never see is the biggest saving, and it costs no visible quality at the size you display.
- Use a moderate quality setting. Around 70–85% usually gives a much smaller file with a difference that is hard to notice on a screen.
- Choose the right format. JPG suits photos, and PNG suits graphics with transparency or sharp edges.
- Compress once, from the original. Repeated compression removes more detail each time.
- Compare before you save. Look at the before and after, and raise the quality if the result looks soft. This guide covers the common causes of blur.
Our PNG option at 100% quality keeps the PNG lossless, so it is a way to shrink a PNG without removing visible detail, though the saving is smaller. For more on photos in particular, see our JPG compression guide.
Frequently Asked Questions
Does reducing pixel size reduce file size?
Almost always. Fewer pixels means less data to store, so a smaller image is usually a smaller file.
Does compressing an image change its pixel size?
Usually not. Compression reduces the file size while keeping the same width and height, unless you choose to resize. The exception is a PNG that cannot reach the target on an exact-size page, which our tool scales down slightly.
What is a good pixel size for a photo to share online?
A width of about 1,200 to 2,000 pixels is plenty for most screens. Use smaller sizes for thumbnails and larger ones only if you plan to print.
Can I resize an image to exact pixels and an exact KB?
Yes, in two steps. First resize to the exact pixels, which our main compressor can do, then compress to the KB limit with a size tool. Do the pixels first, because resizing after compressing changes the file size again.
