ZIP compression can shrink files by 0% to 95%+, with text shrinking far more than photos, video, or encrypted data.
A ZIP file does not have one fixed shrink rate. The result comes from the type of files inside, how much repetition they contain, and which compression method your app uses. A folder full of logs, CSV files, code, and plain documents can shrink a lot. A folder full of JPG photos, MP4 videos, MP3 audio, and encrypted files may barely shrink at all.
A fair daily range is 20% to 60% smaller for mixed work folders. Text-heavy folders can drop by 70% to 95% or more. Media-heavy folders may save less than 5%, and in rare cases a ZIP can become slightly larger because the archive needs headers, file names, and directory records.
Why ZIP Size Changes So Much
ZIP compression is lossless. That means the archive must recreate the original files exactly when opened. It can’t throw away detail the way JPEG, MP3, or MP4 compression can. It saves space by finding repeated byte patterns and writing them in a shorter form.
That is why a boring file can compress so well. A plain-text log with repeated dates, labels, spaces, and messages gives the compressor plenty to reuse. A camera photo already stores image data in a compressed form, so ZIP has little room left to work.
The Main Rule: Repetition Shrinks
Files with repeated words, repeated columns, repeated tags, or repeated empty space shrink best. That includes TXT, CSV, JSON, XML, HTML, CSS, JavaScript, SQL dumps, and many database exports. The more patterns the compressor can reuse, the smaller the final archive gets.
Files with random-looking bytes shrink poorly. Encrypted files, already-zipped downloads, photos, videos, music, and many app installers have already been packed by another method. Running ZIP on them again is like folding a shirt that is already folded tight.
The ZIP Method Also Matters
Many ZIP tools use DEFLATE, a lossless method based on LZ77 matching and Huffman coding, described in RFC 1951. Some newer tools offer other ZIP methods, but the file type still sets the ceiling. A stronger method may help a text archive, while a JPEG folder may stay the same size.
The ZIP container also has structure. The official PKWARE ZIP Application Note lists records, headers, and compression methods used by compatible ZIP readers. Those records are tiny for a large folder, but they can matter when you zip thousands of tiny files.
What Counts As A Good ZIP Result
A good ZIP result is measured against the file type, not against a fixed number. A 90% cut on a log folder is normal. A 2% cut on a video folder is also normal. The second archive is not broken; the source files had little waste left to remove.
Compression level changes speed and effort, but source material does most of the work. If two tools both use DEFLATE, the size gap may be small. If one tool offers a newer ZIP method, text and raw data may shrink more, while photos and videos may still refuse to budge.
The Library of Congress ZIP file format profile notes that ZIP is widely used as a compressed archive format. That broad use is handy, but it also means ZIP has to balance size, compatibility, and easy sharing instead of chasing the smallest file every time.
| File Type | Typical ZIP Savings | Why It Behaves That Way |
|---|---|---|
| TXT, CSV, LOG | 70% to 95%+ | Repeated words, rows, spaces, and markers compress well. |
| HTML, CSS, JS, JSON, XML | 60% to 90% | Tags, braces, names, and spacing repeat across the file. |
| DOCX, XLSX, PPTX | 0% to 25% | Modern Office files are already ZIP-based packages. |
| 0% to 30% | Text PDFs shrink more; image-heavy PDFs shrink less. | |
| JPG, PNG, GIF | 0% to 5% | Image formats already remove or pack redundant data. |
| MP3, AAC, MP4, MOV | 0% to 3% | Audio and video codecs already do heavy compression. |
| BMP, WAV, raw TIFF | 30% to 90% | Uncompressed media can contain long repeated patterns. |
| Encrypted files | 0%, or slight growth | Encryption makes data look random to the compressor. |
| Installers and app packages | 0% to 15% | Many packages already contain compressed parts. |
How Much ZIP Files Compress With Smarter Grouping
Grouping changes the result. If you zip a folder that mixes text files with photos, the photos pull down the average savings. The ZIP did not fail; the easy files shrank and the packed files stayed close to their starting size.
When size matters, split the folder by file type before zipping. Put text, exports, and code in one archive. Put photos and videos in another only if you need one neat bundle. That way the archive name tells you what kind of savings to expect.
A Simple Test Before You Send
Check your real shrink rate in less than a minute:
- Copy the folder so you are not testing on your only copy.
- Check the original size in bytes or megabytes.
- Create a ZIP with your normal tool.
- Check the archive size.
- Use this formula: savings percent = (original size – ZIP size) ÷ original size × 100.
Say a 500 MB folder becomes a 300 MB ZIP. The savings are 40%. If a 500 MB photo folder becomes 490 MB, the savings are 2%. Both results are normal.
Built-In ZIP Tools Are Fine For Routine Work
Operating system ZIP tools are fine for sharing folders, email attachments, and basic backups. They bundle many files into one archive and keep the opening process easy for the person receiving it.
For large archives, a dedicated compression app may give more control over compression level, encryption, split volumes, and test checks. The gain may be small for media files, but it can be worth trying for code, logs, raw data, and old document folders.
| Choice | Best Use | Trade-Off |
|---|---|---|
| Normal DEFLATE level | Daily sharing and storage | Good balance of size and speed. |
| Highest compression level | Text-heavy folders | Smaller output, slower creation. |
| Store with no compression | Already packed media | No size gain, but files stay bundled. |
| Separate archives by type | Mixed folders | Cleaner size estimates, more files to manage. |
| Split ZIP volumes | Upload limits or removable drives | Easier transfer, but all parts are needed to open. |
| Test archive after creation | Backups and client delivery | Adds a step, catches bad archives early. |
When A ZIP File Gets Larger
A ZIP can grow when the original file is already packed or tiny. Each archived item needs metadata, such as its name, time fields, and directory records. A single 1 KB file might become a 1.2 KB ZIP. Thousands of tiny files can carry enough overhead to make the result less neat than expected.
Password-protected archives add another wrinkle. If you compress before encrypting, ZIP can still shrink the data. If the files are already encrypted before you zip them, the compressor sees random-looking bytes and gains almost nothing.
Why Office Files Often Shrink Less Than Expected
DOCX, XLSX, and PPTX files can surprise people. They look like normal documents, but they already contain compressed parts. A 20 MB presentation with many images may become 19 MB or stay near 20 MB after zipping.
Older DOC, XLS, and PPT files may shrink more because they are not built the same way. The same goes for exported CSV files from a spreadsheet: the CSV may be much larger at first, then shrink sharply inside a ZIP.
Practical Size Rules Before You Zip
Use these rules when you need a realistic estimate before sending, uploading, or storing a folder:
- Text, code, logs, and CSV exports are the best ZIP candidates.
- Photos, music, and video should be zipped mainly for bundling, not size cuts.
- Already compressed archives rarely shrink again.
- Many tiny files may gain overhead, so test before sending.
- Split mixed folders when you want a clearer size result.
- Use the highest level only when the smaller file is worth the extra wait.
The honest answer is that ZIP compression is a range, not a promise. For a mixed folder, expect a useful cut, not magic. For text-heavy data, expect big gains. For media-heavy folders, treat ZIP as a tidy wrapper that may save only a little space.
References & Sources
- RFC Editor.“DEFLATE Compressed Data Format Specification version 1.3.”Defines the DEFLATE method commonly used in ZIP compression.
- PKWARE.“ZIP File Format Specification.”Lists ZIP container records, fields, and compression methods.
- Library of Congress.“ZIP File Format.”Describes ZIP as a widely used compressed archive format.
