What Is Lossy Audio Compression?
Lossy compression makes audio files small by throwing away data. The trick: it only throws away sounds you probably cannot hear. MP3, AAC, and OGG are all lossy. Understanding how this works helps you make better format choices.
How Lossy Compression Works
Lossy codecs use psychoacoustic models — algorithms based on how human hearing works. Your ears have limitations. A loud sound masks a quiet sound at a similar frequency. You cannot hear frequencies above roughly 20 kHz. Very quiet sounds below a certain threshold are inaudible. The encoder analyzes the audio, identifies these inaudible or masked components, and removes them. What remains is a smaller representation that sounds nearly identical to the original.
Common Lossy Formats
MP3: The original mainstream lossy codec. Released 1993. Universal compatibility. Decent quality at 192+ kbps. AAC: MP3's successor. Better quality per bitrate. Used by Apple, YouTube, and most streaming services. OGG Vorbis: Open-source alternative. Better than MP3 at equivalent bitrates. Popular in gaming. Opus: The newest and best lossy codec. Excellent at all bitrates. Growing browser support. WMA: Microsoft's codec. Largely obsolete. Each generation of codec improves the psychoacoustic model and achieves better quality at lower bitrates.
Quality Trade-offs
Higher bitrate means less data is discarded and quality is better. Lower bitrate means more aggressive pruning and audible artifacts. Common artifacts include pre-echo (smearing before transients), birdy noise (warbling on sustained tones), and bandwidth limiting (high frequencies chopped off). The goal is to find the bitrate where artifacts are inaudible to you in your listening environment. Studio monitors reveal more than earbuds. Quiet rooms reveal more than noisy commutes.
When to Use Lossy Formats
Streaming music to listeners. Podcasts. Web audio. Mobile listening. Email attachments. Any situation where file size matters and the listener will not be analyzing the audio with studio equipment. Lossy is the right choice for distribution to end users in most cases. The vast majority of music consumed globally is in lossy format. It works.
When to Avoid Lossy Formats
Archival. Once you discard data, it is gone forever. Never transcode from one lossy format to another if you can avoid it — each generation loses more data. Do not use lossy for masters, stems, or any audio that will be further processed. Editing lossy audio and re-encoding it degrades quality. Keep lossless originals and only convert to lossy as the final step in your workflow.