Audio File Formats Explained: MP3, AAC, WAV, FLAC, OGG and More
A clear guide to audio formats: lossy vs lossless, how MP3, AAC, WAV, FLAC, OGG, Opus and M4A compare, and which to choose for listening, editing and sharing.
Audio formats fall into two families. Lossless formats such as WAV, AIFF, FLAC and ALAC keep every detail of the recording. Lossy formats such as MP3, AAC, Ogg Vorbis and Opus throw away detail most people can't hear, to make files far smaller. Choosing between them comes down to what you're doing: record and edit in lossless, share and listen in lossy.
Containers and codecs
Two terms are worth separating:
- A codec is how the audio is encoded: MP3, AAC, FLAC, Opus, PCM.
- A container is the file that holds it, along with metadata: WAV, M4A, OGG, MKA, MP4.
Sometimes they share a name (MP3, FLAC). Sometimes they don't: an .m4a file usually contains AAC, but can contain Apple Lossless; an .ogg file can contain Vorbis or Opus.
Uncompressed: WAV and AIFF
WAV (Windows) and AIFF (Apple) usually store raw PCM audio with no compression. CD quality (44.1 kHz, 16-bit stereo) takes about 10 MB per minute. They're the standard for recording, editing and exchanging audio between programs.
Lossless compressed: FLAC and ALAC
FLAC and Apple Lossless (ALAC) shrink audio to roughly half the size of WAV with no loss at all: decode them and you get back exactly the original. They're ideal for archiving and high-quality listening.
Lossy: MP3, AAC, Vorbis and Opus
- MP3: the universal format. Very good at 192 to 320 kbps; plays everywhere.
- AAC: MP3's more efficient successor, used by Apple, YouTube and most streaming. Better than MP3 at the same bitrate.
- Ogg Vorbis: an open format used by some games and streaming services.
- Opus: a modern open codec that's excellent at low bitrates, used for calls, voice notes and WebM video.
Quick comparison
| Format | Type | Typical size per minute | Best for |
|---|---|---|---|
| WAV / AIFF | Uncompressed | About 10 MB | Recording, editing |
| FLAC / ALAC | Lossless | About 5 to 7 MB | Archiving, hi-fi listening |
| MP3 (320 kbps) | Lossy | 2.4 MB | Universal sharing |
| AAC (256 kbps) | Lossy | 1.9 MB | Apple devices, streaming |
| Opus (96 kbps) | Lossy | 0.7 MB | Voice, calls, web |
What the numbers mean
- Sample rate (44.1 kHz, 48 kHz) is how often the sound is measured each second.
- Bit depth (16-bit, 24-bit) is how precisely each measurement is stored.
- Bitrate (128 kbps, 320 kbps) is how much data a compressed format uses per second; higher means better quality and bigger files.
Which format should you use?
- Recording and editing: WAV, 48 or 44.1 kHz, 24-bit.
- Keeping masters and collections: FLAC.
- Listening and sharing music: AAC or MP3 at 256 to 320 kbps.
- Podcasts: MP3 at 128 kbps stereo or 64 to 96 kbps mono.
- Voice notes and calls: Opus or AAC at low bitrates.
One rule to remember
Converting a lossy file to a lossless format makes it bigger but doesn't bring back lost detail. Keep your best original, and make every compressed copy from it.
Our blog goes deeper on each of these, from bitrates and loudness targets to recording tips.