Audio File Formats

There are two kinds of audio files: the ones that throw data away to save space (lossy), and the ones that don't (lossless).

Formats 24
Most common .aac, .ac3, .aiff
About audio files

There are two kinds of audio files: the ones that throw data away to save space (lossy), and the ones that don't (lossless). Most people can't hear the difference. Audiophiles will tell you otherwise, at length. The real question isn't quality — it's what your device, your app, and the person you're sending it to can actually open.

MP3 is universal. AAC is better but less recognisable. FLAC is lossless but bigger. WAV is uncompressed but enormous. OGG is technically superior but nobody's phone plays it. The format landscape for audio is simpler than video — there are fewer containers to worry about — but the lossy-vs-lossless decision matters more because audio enthusiasts have strong opinions and recording engineers have legitimate needs.

For music distribution, MP3 at 320 kbps or AAC at 256 kbps is transparent for most listeners. For archiving, FLAC preserves everything. For recording and editing, WAV is the working format. For voice memos and podcasts, AAC in an M4A container is the modern default.

All audio formats
.aac AAC is a lossy audio codec that replaced MP3 in most modern ... .ac3 AC3 is the Dolby Digital surround sound format used in DVDs,... .aiff AIFF is Apple's uncompressed audio format — equivalent to WA... .alac ALAC is Apple Lossless Audio — like FLAC but for the Apple e... .amr AMR is a compressed speech codec used for mobile phone voice... .ape APE is a lossless audio compression format offering very hig... .au AU is a legacy audio format from Sun Microsystems, historica... .caf CAF is Apple's unrestricted audio container — it can hold an... .dff DFF is an alternative DSD container format used alongside DS... .dsf DSF is an ultra-high-resolution audio format using 1-bit DSD... .dts DTS is a surround sound audio format competing with Dolby Di... .flac FLAC is lossless audio compression — bit-perfect reproductio... .m4a M4A is Apple's audio container — technically an MP4 file hol... .mid MID is the short extension for MIDI — identical to .midi, co... .midi MIDI files contain musical instructions, not audio — note da... .mka MKA is the audio-only variant of the Matroska container — li... .mp2 MP2 is MP3's older sibling — still used in broadcast televis... .mp3 MP3 is a lossy audio format that compresses music by discard... .ogg Ogg Vorbis is a free, open-source lossy audio format — paten... .opus Opus is a modern, royalty-free audio codec — excellent quali... .spx Speex is an open-source speech codec now largely replaced by... .wav WAV is uncompressed audio — raw waveform data exactly as cap... .wma WMA is Microsoft's proprietary audio format — common in the ... .wv WavPack is a hybrid audio format that can store both lossles...
Format comparison
FormatTypeQualityFile sizeBest for
.mp3LossyGood (320 kbps)~1 MB/minUniversal sharing
.aacLossyBetter than MP3~1 MB/minStreaming, Apple
.oggLossyBetter than MP3~1 MB/minOpen source, games
.flacLosslessPerfect~5 MB/minArchiving, audiophiles
.wavUncompressedPerfect~10 MB/minRecording, editing
.m4aLossy/LosslessVaries~1-5 MB/minApple ecosystem
FAQ
What's the difference between MP3 and FLAC?
MP3 is lossy — it permanently discards audio data to achieve small files. FLAC is lossless — it compresses audio without losing any data, producing a bit-perfect copy on decompression. FLAC files are 3-5x larger than MP3 at equivalent content.
What audio format has the best quality?
WAV and AIFF are uncompressed (maximum quality, maximum size). FLAC and ALAC are lossless compressed (same quality, smaller). For lossy formats, AAC at 256 kbps and MP3 at 320 kbps are both effectively transparent for most listeners.
Which audio format is smallest?
At equivalent quality, Opus is the most efficient codec, followed by AAC, then MP3. For speech, Opus at 64 kbps is remarkably good. For music, AAC at 128 kbps is roughly equivalent to MP3 at 192 kbps.
Related categories