Reducing Image File Size: Resolution, Quality and Format
Image size depends on pixel count, format and quality. Why shrinking dimensions helps most, choosing JPEG, PNG or WebP, and meeting upload limits.
📚 Free Web Tools · 23/52·⏱ About 5min read·Information updated 2026-11-03
📋 Key facts5
Size factors
Pixel count (width × height), format, quality
Half the size
Halving width and height leaves 1/4 of the pixels
Photos
Lossy JPEG or WebP is usually smaller
PNG
Lossless, no quality setting, large for photos
Enlarging
Making it bigger than the original adds no detail
Three things decide the size
The size of an image file is decided mainly by three things: the total number of pixels (width times height), the format such as JPEG, PNG or WebP, and the quality you choose for lossy formats. If you hit an upload limit, decide which of these three to change. This site's image resizer lets you change the width and height in pixels, the format and the quality while showing the original and resulting file sizes and the percentage saved, and it processes photos only inside your browser.
Shrinking the dimensions helps most
Pixel count is width times height, so halving both the width and the height leaves a quarter of the pixels. For example (hypothetical), a 4000 × 3000 photo has 12 million pixels, but at 2000 × 1500 it has 3 million. The actual file size depends on the picture and will not be exactly a quarter, but it drops sharply. Photos for a forum, a messenger or a document rarely need more pixels than they are shown at, so first resizing to the width where the image will be used is the most effective step.
Half the width and height → 1/4 of the pixels
Keep the aspect ratio switched on so the photo is not distorted
Pixels beyond the display width are mostly wasted
Choosing a format
For images with complex colours such as photos, lossy compression like JPEG or WebP is far smaller at the same visual quality. PNG is lossless, so quality is unchanged, but photos come out large and there is no quality setting (in this tool too, the quality slider has no effect when PNG is selected). Screenshots full of text, logos and flat-colour graphics, on the other hand, often come out sharper and smaller as PNG. WebP is a relatively new format supporting both lossy and lossless compression; as of November 2026 the major browsers support it, but check in advance that the place you are uploading to accepts it.
How low should the quality go?
Lowering the quality value for JPEG and WebP reduces the file size, but going too low causes smudges around edges and visible banding in smooth areas such as skies. The right value differs from photo to photo, so there is no fixed answer. A practical approach is to lower the quality step by step, view the result at full size, and stop just before the difference becomes noticeable. Re-saving the same file with lossy compression again and again keeps lowering the quality, so whenever possible make the final file from the original in one step.
Order of steps for an upload limit
When there is a limit such as 5 MB or a maximum width of 1000 pixels, following an order cuts down on trial and error. First, if a pixel size is required, match it; if not, shrink to a size sufficient for where the image will be shown. Next, for a photo, choose JPEG or WebP. Finally, adjust the quality to hit the file size. For ID photos or official submissions with set specifications, check the pixel size and format requirements in the organisation's instructions first.
Watch out for enlarging and transparency
Resizing to larger than the original only adds pixels, not detail, so the image gets blurrier and the file bigger. JPEG also cannot hold a transparent background, so converting a transparent PNG to JPEG fills the transparent areas with a colour (this tool fills them with white). Save images that need a transparent background, such as logos or stickers, as PNG or WebP.
Think about the information inside photos
Smartphone photos may contain metadata such as the location where they were taken and the device used. Tools that redraw the image on a browser canvas and save it, as this site's tool does, do not carry the original metadata over to the resulting file. Still, if removing metadata is your goal, checking the resulting file yourself is the sure way.
Summary
Working through the biggest savings first keeps quality loss to a minimum.
First shrink the dimensions to fit where it will be used