The Difference Between MP3, AAC, FLAC and Other Audio Formats

The Difference Between MP3, AAC, FLAC and Other Audio Formats Featured Image

With the “death” of MP3 greatly exaggerated, many folks have been wondering what the apparently superior format, AAC, is all about. But AAC isn’t the only format out there; there are plenty of other audio compression formats that are widely available.

Is MP3 Dead?

MP3 is the most popular audio format in the world. It’s hard to nail down exact statistics, but there’s a good chance that more devices support MP3 than any other audio format. The standard is far from dead. Rather, the patent on the technology has recently expired. Fraunhofer Institute for Integrated Circuits, the firm that managed licensing the patent for MP3, recently announced it would discontinue its patent licensing program and recommended users move to AAC. Some outlets took that to mean the MP3 was “dead.” In fact, the opposite is true: the MP3 format is now freely available to all.

How Does MP3 Work?

mp3_logo

MP3, or MPEG-2 Audio Layer III, is a compression standard for encoding digital audio. It uses lossy data compression techniques that discard non-essential data to shrink the size of an audio file. When compared to audio files taken from a CD, an MP3 can shrink file sizes by as much as 95%, which is important for both bandwidth cost and storage considerations. The standard focuses on removing audio that’s outside the range of human hearing and implements principles of human sound perception, or “psychoacoustics,” to identify and discard sounds that the human ear won’t miss.

What About AAC?

mp3-aac-flac-audio-aac

AAC stands for Advanced Audio Coding. It’s a proprietary audio compression scheme with a lot in common with MP3. In fact, it was specifically designed to be the successor to the MP3 format, offering better sound quality than MP3 at the same bit rate. This means that AAC results in smaller file sizes while maintaining the same audio quality. It uses the same principles as MP3 for compression, discarding inaudible sounds and eliminating audio based on the psychoacoustic model.

Today, AACs are found as the audio component of the popular MPEG-4 video container. It’s also the default audio format for services like YouTube and widely supported by Apple and Sony. In contrast to MP3, however, the format is under patent and must be licensed to use legally.

How Do Lossless and Uncompressed Formats Fit In?

audio-compression-hero

MP3 and AAC are both lossy formats, throwing away non-essential data to help reduce file size. Not all formats follow this principle, however. Lossless formats like FLAC or Windows Media Audio (WMA) compress audio using fully-reversible compression techniques shared with the ZIP algorithm. This shrinks file size while maintaining maximum quality. However, these formats are not as widely supported as lossy formats.

Audio doesn’t have to be compressed, however. Uncompressed formats like WAV and AIFF use pulse code modulation (PCM) to store data without alteration. Files encoded this way are larger but offer perfect reproduction and the greatest flexibility.

Are There Other Lossy Formats?

mp3-aac-flac-audio-comparision

A wide variety of different lossy formats exist, with varying degrees of popularity. Open-source formats like “Opus” use specialized techniques to offer superior quality when compared to AAC, but support is comparatively limited. Televisions and DVD players frequently use the Dolby AC-3 format for their audio. A wide variety of highly-compressed telephony formats like BroadVoice exist to support digital phone calls and voice-over-IP (VoIP) communications. A few dozen other formats exist to fullfill specific niche uses. But MP3 is more common than all these other formats combined.

Conclusion

AAC offers a better quality-to-compression ratio than MP3, but a lack of ubiquitous support has held it back. And now that MP3 is free for public use, it’s likely to maintain its position as the dominant lossy audio format in the years to come.

Image credit: Opus quality comparison colorblind compatible

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Alexander Fox Avatar

Read next

Tristan Harris, Google’s former design ethicist, told the US Senate that the pull-to-refresh gesture on nearly every app works like the lever of a Las Vegas slot machine, and he has long warned that we now reach for our phones around 150 times a day without ever calling it gambling
In 1969, László Bélády and two IBM colleagues published a paging-machine anomaly showing FIFO could make four memory frames suffer ten page faults after three frames suffered nine, leaving generations of operating-systems students staring at the moment more memory became the wrong answer
When Bell Labs engineer Karl Jansky pointed a rotating antenna at the sky in 1932 looking for sources of transatlantic radio static, he kept picking up a faint hiss that peaked every 23 hours and 56 minutes, and he eventually realized he had become the first human to hear the center of the Milky Way.
The colour magenta does not exist anywhere in the spectrum of visible light, and your brain manufactures it on the spot whenever red and blue cones fire together, inventing a hue to fill a gap that physics never bothered to provide.
On 28 May 2009, Google demoed a product called Wave on stage at I/O for 80 minutes and got a standing ovation from developers who had no idea what they had just watched, and 15 months later the company quietly shut it down because almost nobody could explain to a friend what it was actually for
When Clair Patterson set out in 1948 to measure the age of the Earth using lead in meteorites, his samples kept coming back contaminated, and the seven-year detour he took to find the source ended with him almost single-handedly forcing leaded gasoline out of American cars by 1986.
The IBM 305 RAMAC stayed in production until 1961, weighed more than a ton, stored five million characters on fifty spinning platters, and still drew customers because the alternative was a room full of punched cards
In 1977, Ann Druyan recorded an hour of her brainwaves and heartbeat two days after she and Carl Sagan agreed to marry, and NASA pressed the compressed minute onto Voyager’s Golden Record as a private love signal now more than 25 billion kilometres from Earth