Why Your Website Images Are Too Big
Published 2026-10-22 · Updated 2026-11-28 · By Tech Seekers
Photos straight from a phone are often 4000 pixels wide and several megabytes. For the web, that size is almost never needed, and it costs loading time.
A phone photo at full size is a heavy file. That is one photo, 4032 pixels wide, saved at JPEG quality 95, and it is a different photo from the one measured in the image compression guide. Shown in an 800 pixel blog column, it still weighs the same, because the browser downloads the whole file and shows it small. That gap between the size you send and the size people see is where most slow pages come from.
The rule is simple: an image displayed at 800 pixels wide does not need to be 4000 pixels wide. Resizing to the display size is the single biggest win for page speed, and it costs nothing in visible quality. A photo shown at 800 pixels looks the same at normal viewing distance whether the file behind it is 800 pixels or 4000 pixels wide. Zoom in, or view it on a high-density screen, and the bigger file shows more detail. The difference is only in the download.
Here is what that same test photo showed. Resized to 800 pixels wide and saved at JPEG quality 75, it came out far smaller than the original. At quality 85 it was a little bigger, and at quality 60 a little smaller still. At 1200 pixels wide and quality 80, it came out bigger than any of the 800 pixel versions. The lesson is in the order: resize first, then compress. Compressing a huge image still leaves a huge image. Doing both, in that order, is how a multi-megabyte photo becomes a small file.
Format matters as much as size. I saved a 1200 by 800 photo four ways. As JPEG at quality 85 it sat in the middle. As PNG it was the biggest by far, because PNG stores photos inefficiently. As WebP at quality 80 it was the smallest by far. As JPEG at quality 60 it was smaller than the quality 85 JPEG. For photos, WebP wins on size, JPEG is the safe default that opens everywhere, and PNG is the wrong pick.
Screenshots flip the answer. A 1920 by 1080 dashboard screenshot with flat colors and text came out smallest as WebP, next as PNG, and biggest as JPEG at quality 85. For flat graphics, PNG beats JPEG by a wide margin, because PNG compresses solid colors well and JPEG smears sharp edges. So the rule is: photos go to JPEG or WebP, flat graphics go to PNG or WebP, and WebP is smallest in both tests. If the site or tool you are sending to does not accept WebP, JPEG for photos and PNG for graphics is the fallback that always works.
The steps follow the numbers. Step one, find the display size. If the image shows at 800 pixels wide, that is your target width. Step two, resize to that width, with the aspect lock on so nothing stretches. Step three, pick the format: JPG for photos, PNG for graphics with sharp edges or transparency, WebP for either when your audience uses modern browsers. Step four, compress at a middle quality and download. Step five, open the result at the size it will actually display and compare it with the original. If you cannot see the difference at display size, the smaller file wins.
If the result looks blurry, the usual cause is upsizing. A small photo blown up past its original size will always look soft, because no new detail can be created. Resize from the original, not from an already resized copy. If a PNG photo is enormous, that is the format, not the tool. Convert it to JPG or WebP and watch the size drop. If the file is still big after compressing, check the dimensions. Compression on its own only shrinks the file, not the pixels, so a 4000 pixel photo stays 4000 pixels wide until you resize it. The Image Compress tool on this site is the exception: it also caps the longest side, at 1600 pixels on Low, 2200 on Medium, and 3200 on High, so a big photo does come back smaller in pixels too.
One more trap: transparency. JPG has no transparency, so transparent pixels become white in the output. A logo with a transparent background comes out with a white box behind it. If the background must stay transparent, stay with PNG or use WebP. And keep the original file. Compress a copy, check the result, and only replace the original once you are happy with how it looks.
Two references sit behind the format advice here. Google's guide to choosing image formats walks through the same trade offs with its own examples, and the MDN page on image file types lists what each format does and where it fits. Both agree with the measurements above: there is no single best format, only the right format for the picture in front of you.