Will It Upload

File Size

Why Is My Image File So Large?

Image size comes from pixel count and how much detail each pixel carries. A 12-megapixel photo starts at about 36 MB uncompressed, and compression only gets it down to a few MB.

By WillItUpload · Updated 12 Oct 2026

Start with the pixels

A digital picture is a grid of pixels, and each pixel is stored as three colour values, usually one byte each. Before any compression, the size is simply pixels × 3 bytes:

Image Pixels Uncompressed
200 × 230 46,000 about 138 KB
1080 × 1350 1,458,000 about 4.4 MB
4000 × 3000 (12 MP phone photo) 12,000,000 about 36 MB

Even a tiny 200 × 230 image is about 138 KB raw. That’s why a “20 to 50 KB” limit needs real compression, not just a small canvas.

What compression does

A JPEG stores each small block of the picture as a pattern of waves and throws away the waves your eye is least likely to miss. That is lossy, and it is why JPEG files are often an order of magnitude smaller than the raw pixels. How much it saves depends on the picture:

  • Smooth areas (sky, a plain wall) compress very well.
  • Fine detail and noise (foliage, grain from a dim room) compress badly. A photo taken in low light can be noticeably larger than the same scene in daylight.
  • Quality setting. A higher setting keeps more detail and costs more bytes.

Why some images are far bigger

  • PNG. PNG is lossless, so it keeps every pixel. That is excellent for screenshots and logos with flat colour, and poor for photos, which can be several times bigger as PNG than as JPG. See PNG vs JPG for online forms.
  • High pixel counts. Newer phones take photos of many megapixels. A form that wants a passport-style picture has no use for them.
  • HEIC. iPhones can save photos as HEIC, which is efficient but not accepted by many portals. Converting to JPG makes it widely accepted, and the JPG may be larger.
  • Re-saving. Saving a JPEG again re-compresses it. It doesn’t undo earlier loss, and it doesn’t guarantee a smaller file.

What actually makes it smaller

  1. Fewer pixels. The biggest lever, and usually harmless. See image dimensions vs file size.
  2. A lower quality setting, but only as far as needed.
  3. The right format for the content.

Compress Image combines these: give it a target size and it keeps the highest quality that fits, shrinking pixels only if it has to. For the practical steps by limit, see image too large to upload.