🗜️ File Compression

5th Grade 💻 Computers & the Internet

Compression is a way to save the same information in fewer bytes. Lossless compression brings the information back exactly; lossy compression gives up details people barely notice.

Free · US Letter · no sign-up
Google Classroom Save to Pinterest Email me

Lossless compression looks for repeats: instead of writing “aaaaaaaaaa,” you can write “10 times a.” Text files and programs need this kind of compression, because not a single letter may change. That’s how zip files work: you put lots of files into one, it gets smaller, and when you open it, everything comes back exactly as it was.

Lossy compression takes advantage of the fact that our eyes and ears don’t notice everything: nearly identical shades are merged, and quiet sounds hidden behind loud ones are dropped. That way a photo, song or video can get ten times smaller or more. The price: every extra round of compression loses more details, which is why a picture that has been passed around many phones looks blurry and “blocky.” It’s smart to keep the original at full quality.

For example

  • To send his teacher 30 files, Ethan put them all into one smaller zip file.
  • The memes passed around in Zoe’s class group chat get blurrier with every share — lossy compression again and again.

📌 Remember: Lossless = comes back exactly (zip). Lossy = much smaller, drops details (photos, songs).

Quick quiz

  1. How does lossless compression work?

  2. Which kind of file is usually compressed with loss?

  3. Why does a picture that was shared many times look blurry?

🔎 Ask Thinkapedia another question