Why Is My JPEG So Large? Megapixels and Quality, Measured

Bar chart of the median JPEG file size of 10 photos (12 at 2 megapixels), resized and saved with libvips 8.18.4 on 23 Nov 2026: 2.50 MB at 12 megapixels and quality 90, 1.45 MB at 12 megapixels and quality 80, 0.34 MB at 2 megapixels and quality 80.

A JPEG is large because it holds many pixels saved at a high quality level; in twelve test photos metadata stayed under 4 %. At quality 80 on the JPEG compressor, a 2.96 MB iPhone photo came out at 1.55 MB with every pixel kept.

Checked on 2026-11-23 on the JPG / JPEG Compressor with three phone photos of 2.96 to 3.92 MB. Not tested: a camera above 24 megapixels, a file over 5 MB on the tool. Sources at the end.

Find your symptom

A JPG file that is too large shows one of these symptoms. The first four are ordered by the bytes each cause moved in most of our twelve test photos. We have not counted how often readers meet each.

SymptomCauseFix
Every photo from the phone or camera is several MBMany pixels at a high quality level (cause 1)Lower the quality level, the pixel count, or both
One photo is twice the size of the nextA different scene (cause 2)None needed
It grew after an editSaved again at a higher setting (cause 3)Export once, at a lower level
It is heavier than its pixels explainA second picture or metadata inside (cause 4)Remove them with ExifTool
It is a screenshot or a drawingNot tested hereSee why a PNG file is so big

Cause 1: megapixels and the quality level

Megapixels are width times height, divided by a million: 4032 x 3024 pixels are 12.2.

Twelve photos as their phone or camera wrote them, read on 23 November 2026, at a quality level of 92 to 98 by ImageMagick’s estimate:

Photos, as shotMegapixelsSize in MB
iPhone 12 Pro Max, Pixel 7 (2 photos)12.2 to 12.52.86 to 3.74
Galaxy S2312.08.21 (cause 4)
Galaxy A54 5G9.43.77
iPhone 15 Pro (2 photos)24.53.92 and 4.52
iPhone 14 Pro; Pixel 8 Pro48.8; 50.115.72; 5.84
Canon EOS 80D (2 photos), Nikon D530024.06.68 to 10.36

The same twelve, resized to each pixel count below their own and saved again on 23 November 2026. Median size in MB:

MegapixelsPhotosQuality 100Quality 90Quality 80Quality 60
48230.339.175.323.45
24413.103.511.881.13
12108.762.501.450.88
8126.161.781.020.64
2121.890.580.340.23
1121.050.330.200.14

Saved with libvips 8.18.4 on our test machine, with the settings our compressor’s code sends. At quality 80 the compressor returned two of three photos byte for byte as saved here, and a Pixel 7 photo 2.7 % larger.

By the medians, quality 90 is under a third of quality 100 in every row, and quality 80 is 54 to 60 % of quality 90. A quarter of the pixels, from 8 to 2 megapixels, leaves 31 to 36 % of the bytes.

The quality level sets the encoder’s quantization tables and is not a percentage: see JPEG quality settings explained.

Confirm it. Divide the megabytes by the megapixels. As shot, eleven of the twelve photos weigh 0.12 to 0.43 MB per megapixel; the Galaxy S23 file, at 0.68, is cause 4.

Fix it. Lower the quality level and keep the pixels:

  1. On the JPG / JPEG Compressor page, click Upload and choose the photo. Its card shows the pixels and bytes, here “WxH: 4032x3024px” and “Size: 2.96 MB”.
    The page xconvert.com/compress-jpeg from its top with the 12-megapixel test photo i12.jpg loaded: under the site header and the heading JPG / JPEG Compressor, the row of the photo's card that reads "WxH: 4032x3024px", "Size: 2.96 MB" and "Est. Size: 2.37 MB" is outlined and labeled "Pixels and bytes".
    Close-up of the card in the image above, under the label "Pixels and bytes": the file name i12.jpg and the outlined row "WxH: 4032x3024px", "Size: 2.96 MB", "Est. Size: 2.37 MB".
  2. Click Image Quality (%) and set Quality Percentage, which opens at 65, to 80.
  3. Under IMAGE RESOLUTION, click Keep original. The group opens on Resolution Percentage at 80, which cuts each side by a fifth.
    The JPG / JPEG Compressor page scrolled to its options, with Image Quality (%) selected and Quality Percentage at 80: in the group IMAGE RESOLUTION the button Keep original is selected, outlined and labeled "Click Keep original".
    Close-up of the group IMAGE RESOLUTION in the image above, under the label "Click Keep original": the buttons Resolution Percentage and Keep original, which is selected and outlined, and under them Width (Keep aspect ratio) and Height (Keep aspect ratio).
  4. Click Compress. The result card gives the new size, above Download: 1.55 MB, row two of the last table.
    The Downloads page of xconvert.com with the finished card of the test photo, compressed at Image Quality (%) 80 with Keep original: the line "New size: 1.55 MB (52% of the original 2.96 MB)" stands above the Download button, which is outlined and labeled "The new size, above Download".
    Close-up of the result card in the image above, under the label "The new size, above Download": the lines "File Quality Percentage", "Compressed JPG" and "New size: 1.55 MB (52% of the original 2.96 MB)" above the outlined Download button.

Cause 2: the scene

Two iPhone 15 Pro photos of 24.5 megapixels, saved again at quality 80, weigh 1.20 and 2.40 MB: two different scenes.

In our two pairs at low and high ISO (a Pixel 7, a Canon EOS 80D), the high-ISO photo was the lighter one at quality 80 in both.

Confirm it. Compare photos of the same pixel size from one device. Ten of ours, resized to 12 megapixels at quality 80, run from 0.57 to 2.61 MB.

Fix it. Nothing is wrong with the file. If it has to fit, use the steps of cause 1.

Cause 3: it was saved again at a higher setting

Saved again at a higher quality level, the picture in a JPEG gets heavier. The iPhone photo, 2.96 MB as shot at about 94, is 3.32 MB saved again at 95 and 5.52 MB at 100.

The encoder our compressor uses stores color at full resolution from quality 90 up and at half resolution below (libvips). The one step from 90 to 89 took 9 to 26 % off each of the twelve photos.

Confirm it. Compare megabytes per megapixel with an untouched photo from the same device.

Fix it. Export the file from before the edit once, below 90. With Keep original chosen, our compressor returns the original when the result would not be smaller: at Image Quality (%) 100 the card read “we kept your original unchanged”.

Cause 4: a second picture and metadata

A JPEG file can hold metadata (the EXIF block with its thumbnail, a color profile) and further pictures stored after the first. Their share of each photo as shot, measured on 23 November 2026:

PhotosAfter the first pictureMetadata
iPhone 12 Pro Max, 14 Pro, 15 Pro (4 photos)9.2 to 14.7 %0.04 to 0.45 %
Pixel 7 (2 photos), Pixel 8 Pro1.4 to 2.7 %1.5 to 3.5 %
Galaxy S2371.4 %0.8 %
Galaxy A54 5Gunder 0.01 %2.3 %
Canon EOS 80D (2 photos)none0.3 %
Nikon D53007.5 %1.1 %

The weight is what follows the first picture: on the Galaxy S23 file 5.86 of 8.21 MB, most of it an embedded image that ExifTool names “DualShot_1”.

What the further pictures of the iPhone and Pixel photos are for was not established.

Metadata counts once the picture is small: on 1-megapixel copies at quality 80 it was 6.4 % of the iPhone 12 Pro Max photo and 29.8 % of the Galaxy S23 photo.

Confirm it. Run the command below on a copy and compare the sizes.

Fix it. ExifTool, a command-line program, removes both without re-encoding the picture: exiftool -all= photo.jpg took the Galaxy S23 photo from 8.21 to 2.29 MB. The color profile goes too, so compare the colors afterwards.

When the JPEG compressor helps and when it does not

Three phone photos at four settings on 23 November 2026. Each cell is the result as a share of the upload:

SettingiPhone 12 Pro Max, 2.96 MBPixel 7, 3.74 MBiPhone 15 Pro, 3.92 MBWidth kept
As the page opens: Target file size (%) (Best) at 8087 %73 %73 %75 to 85 %
Image Quality (%) 80, Keep original52 %55 %31 %all
Image Quality (%) 80, Resolution Percentage 8037 %38 %19 %80 %
Specific file size, 1 MB, Auto Scale left on30 %25 %13 %36 to 44 %

It helps when the file may be encoded again: quality alone left 31 to 55 % of the upload with every pixel kept, and all three photos met the 1 MB target.

It is the wrong tool, or needs care, when:

  • You count on the default. It aims for 80 % of the upload and landed at 87 % on one photo. It removes pixels; the quality level stayed within one step of the upload’s.
  • Metadata has to go. All twelve compressed results kept the EXIF block and the color profile, and the GPS position and the thumbnail where the upload had them. No option removes them.
  • A second picture has to stay. It was gone from all eight iPhone results; the four Pixel 7 results kept a smaller one.
  • Nothing may leave your computer. Files are processed on our servers, not in your browser, and deleted a few hours later. ExifTool runs on your computer. For cause 1 on a Mac, Apple’s Preview guide gives File > Export: with JPEG “you can adjust the image’s quality” (not tested).

For an exact KB cap, see compress a JPEG to 100 KB or 200 KB.

When the recipient may need the full-size original too, put it in a shared folder and send the link with the small copy. Open the link in a browser where you are not signed in before you send it.

Sources

All read on 2026-11-23. MB means 1,000,000 bytes, KB 1,000 bytes.

By James