Does a higher PNG compression level make a smaller file?

Choosing a PNG compression level? More effort can shrink the file without changing the picture, though a higher setting doesn't always make it smaller.

What does a PNG compression level change?

Think of packing a suitcase: spending longer folding the clothes can leave more room without taking anything out. PNG compression works the same way: Fast spends less effort looking for ways to pack the picture's data; Maximum spends more, with Balanced in between.

Two suitcases contain the same four colored shirts, loosely spaced on the left and neatly packed on the right.
A compression level changes packing effort, not picture quality. How we reviewed

Color mode and resizing can change the picture. Leave those choices alone when you compare compression levels.

Does a higher PNG compression level make a smaller file?

It can. Maximum made the smallest PNG for both images here. The photo came out about 2.4% smaller than at Fast; on the flat graphic, Balanced was about 0.8% larger than Fast. A higher level asks for more searching, not a particular file size.

Here's a Dream Lake photograph that started as a JPG, with the same patch before and after saving at Maximum. The three sizes belong to complete PNG copies of that photo.

Matching forest and rock crops from the source JPG and Maximum PNG, above exact PNG file sizes for Fast, Balanced and Maximum.
Maximum saves a little space without changing the pictured detail. · Photo: John Marino / NPS Photo, National Park Service, Public domain in the United States: National Park Service employee work produced in official duties, via Wikimedia Commons.

This flat interface graphic was already a PNG. Its middle setting produced the largest copy, so you can't assume each step up will save space.

Matching interface panel crops from the source PNG and Maximum PNG, above exact file sizes for Fast, Balanced and Maximum.
For the graphic, Maximum is smallest and Balanced is largest.

Wondering why a PNG made from a JPG can be much larger? Why image files get larger explains that separate format choice.

How much longer does PNG compression take?

Maximum took longest in all four image-and-browser pairs. The extra wait bought a modest saving on the photo, and the waiting time varied with both the image and browser.

Photo - Chrome

Common time scale: 1,345 ms

Fast
854 ms
Balanced
862 ms
Maximum
1,050 ms

Photo - Firefox

Common time scale: 1,345 ms

Fast
904 ms
Balanced
1,126 ms
Maximum
1,345 ms

Graphic - Chrome

Common time scale: 1,345 ms

Fast
461 ms
Balanced
457 ms
Maximum
466 ms

Graphic - Firefox

Common time scale: 1,345 ms

Fast
487 ms
Balanced
500 ms
Maximum
718 ms
Median time from clicking Convert to completion, including the page's work; shorter bars mean less waiting.

There isn't one best tradeoff for every job. If you're making a single copy, a little extra waiting may be fine. If you're processing a folder, a small saving on each image may matter less than finishing sooner.

Doing it in FluffyBench: choosing a PNG compression level

FluffyBench's PNG converter lets you compare the levels on your own picture. Keep your original; the walkthrough makes separate PNG copies, starting with Fast.

Make the Fast copy first. The color, sample depth, interlace and Size choices stay unchanged for the comparison.

  1. PNG converter with Choose images, PNG output and Settings.
    PNG converter with Choose images, PNG output and Settings.
    Step 1. Choose your image and leave To on PNG. Open Settings.
    1. Choose images opens your file picker.
    2. To is already PNG.
    3. Open Settings for the PNG controls.
  2. More options with Advanced local encoder, RGBA, 8-bit, Fast and interlace off.
    More options with Advanced local encoder, RGBA, 8-bit, Fast and interlace off.
    Step 2. Open More options and choose Advanced local encoder. Choose Fast; leave RGBA, 8-bit and interlace off as shown.
    1. More options reveals the PNG choices.
    2. Advanced local encoder makes compression levels available.
    3. Use Fast first. RGBA keeps color and alpha; 8-bit sets sample depth; interlace changes loading order.
  3. Size set to Original.
    Size set to Original.
    Step 3. Keep Size on Original so both copies have the same dimensions.
    1. Original keeps the pixel dimensions.
  4. Settings gear while the panel is open.
    Settings gear while the panel is open.
    Step 4. Close Settings with the gear button.
    1. Press the gear again to close Settings.
  5. Convert button ready for the Fast PNG.
    Convert button ready for the Fast PNG.
    Step 5. Press Convert 1 to PNG to make the Fast copy.
    1. Convert 1 to PNG creates the copy at Fast.

Now compare Maximum on the same image. Keep the copy whose size is worth the wait for your job.

  1. Completed Fast PNG, file size, Download and Settings.
    Completed Fast PNG, file size, Download and Settings.
    Step 1. Read the Fast output size and Download this copy. Reopen Settings for the comparison.
    1. Read the output size on the second size line.
    2. Download saves the Fast PNG to your device.
    3. Open Settings to change the compression level.
  2. PNG compression set to Maximum.
    PNG compression set to Maximum.
    Step 2. Change PNG compression to Maximum. Leave the other choices as they were.
    1. Choose Maximum for the second copy.
  3. Settings gear with the Maximum setting chosen.
    Settings gear with the Maximum setting chosen.
    Step 3. Close Settings with the gear button.
    1. Press the gear again to return to the image.
  4. Reconvert button ready for Maximum PNG.
    Reconvert button ready for Maximum PNG.
    Step 4. Press Reconvert 1 to PNG to replace the displayed result with the Maximum copy.
    1. Reconvert 1 to PNG makes the second copy at Maximum.
  5. The completed Maximum PNG output dimensions and file size.
    The completed Maximum PNG output dimensions and file size.
    Step 5. Compare the Maximum PNG size with the Fast copy you saved.
    1. Read the output size on the second size line.

For the other controls, which PNG settings are worth changing explains when color mode, sample depth and interlace help. For a smaller photo copy where exact pixels don't matter, FluffyBench's JPG converter gives you a quality setting to trade some picture detail for space.

Compare compression levels on your own image with FluffyBench's PNG converter.

How we reviewed PNG compression levels

These are the complete median waiting times behind the timing chart.

SettingPhoto · ChromePhoto · FirefoxMock · ChromeMock · Firefox
Fast (level 1)854 ms904 ms461 ms487 ms
Balanced (level 6)862 ms1,126 ms457 ms500 ms
Maximum (level 9)1,050 ms1,345 ms466 ms718 ms
Read down a column to compare levels for one image and browser.
Search FluffyBench