File formats
Audio Formats Compared: MP3, WAV, FLAC, AAC and Opus
Audio files come in a confusing mix of extensions, and the differences matter: some keep every detail, some trade detail for size, and some won't play everywhere. This guide explains the main formats in plain terms and helps you pick the right one for the job.
Quick answer
Use WAV (or FLAC) while recording and editing, because they're lossless. Use MP3 for sharing and playback anywhere, at about 192 kbps for music or 64–96 kbps mono for speech. AAC and Opus sound better than MP3 at the same bitrate but are less universally supported. Converting a lossy file to a lossless format never restores lost quality.
Lossy and lossless: the one distinction that matters
Every digital audio file starts as a stream of samples: measurements of the sound wave taken tens of thousands of times a second. Formats differ in how they store those samples.
- Lossless formats keep every sample exactly. Some store them raw (WAV, AIFF), others pack them more efficiently, like a ZIP file for audio (FLAC, ALAC). Either way, decoding gives back exactly what went in.
- Lossy formats (MP3, AAC, Opus, Vorbis) analyse the sound and permanently discard what listeners are least likely to notice, such as very high frequencies and quiet sounds masked by louder ones. The files are far smaller, but the discarded detail is gone for good.
That last point has a practical consequence. Converting a lossy file into a lossless one, such as MP3 to WAV, makes it bigger without making it better. Our MP3 to WAV page explains this in detail.
The formats at a glance
| Format | Type | Typical use | Compatibility |
|---|---|---|---|
| WAV (.wav) | Lossless, uncompressed | Recording, editing, CDs, sound effects | Universal, but large |
| AIFF (.aif, .aiff) | Lossless, uncompressed | Apple's equivalent of WAV | Wide, common on Macs |
| FLAC (.flac) | Lossless, compressed | Archiving music, high-quality collections | Wide on computers and Android; varies on older devices |
| ALAC (.m4a) | Lossless, compressed | Apple Music libraries | Best on Apple devices |
| MP3 (.mp3) | Lossy | Sharing, playback anywhere, uploads | The most universal of all |
| AAC (.m4a, .aac, inside .mp4) | Lossy | iPhone voice memos, music stores, video soundtracks | Very wide |
| Opus (.opus, .ogg, .webm) | Lossy | Voice messages, calls, web video | Modern browsers and apps; limited on older players |
| Vorbis (.ogg) | Lossy | Games, some streaming and web audio | Good on computers; mixed on hardware players |
An extension doesn't always tell you the codec: an .m4a file can hold lossy AAC or lossless ALAC, and an .ogg file can hold Opus or Vorbis. Your music player's file info usually shows which.
What the size difference looks like
From our own tests with a 31-second stereo song:
| Format and setting | File size |
|---|---|
| WAV, 16-bit, 44.1 kHz | 5.5 MB |
| MP3, 320 kbps | 1.24 MB |
| MP3, 192 kbps | 745 KB |
| MP3, 128 kbps | 497 KB |
How much smaller FLAC makes a WAV depends on the music. Quiet, simple recordings shrink more than dense, loud ones. Because FLAC is lossless, it never sounds different from the WAV. (Our tools save MP3 and WAV only, so FLAC isn't included in these measurements.)
"Audio compression" means three different things
| Meaning | What it does | Example | On this site |
|---|---|---|---|
| Lossy data compression | Shrinks the file by discarding some sound | WAV → MP3 | Audio Compressor, WAV to MP3 |
| Lossless data compression | Shrinks the file without losing anything | WAV → FLAC | Not offered |
| Dynamic range compression | An effect that reduces the gap between loud and quiet sounds. File size doesn't change. | A compressor plug-in when mixing | Not offered. The Volume Booster's limiter is related but only catches peaks. |
If you've been asked to "compress" a recording, check which one is meant. A podcast host asking for a smaller file means data compression; a mixing engineer talking about compression usually means the dynamics effect.
Which format should you use?
| Situation | Use | Why |
|---|---|---|
| Recording, editing, multi-step processing | WAV (or FLAC for storage) | No quality lost between steps |
| Sending to someone, uploading, car stereo | MP3, 192 kbps for music | Plays everywhere |
| Speech: lectures, interviews, voice notes | MP3 mono, 64–96 kbps | Small and clear. See bitrate guide |
| Strict size limit (email) | MP3 at a calculated bitrate | See compressing for email |
| Long-term music archive | FLAC or WAV | You can always make MP3s from a lossless master, never the other way round |
| DJ software and hardware | WAV, or MP3 at 320 kbps | Some players only read uncompressed or MP3 files |
Common mistakes
- "Upgrading" an MP3 to WAV or FLAC and expecting better sound. The file grows; the sound stays the same.
- Converting between lossy formats (MP3 → AAC → MP3). Every lossy encode discards more. Go back to the lossless original when you can.
- Judging quality by file size alone. A 320 kbps MP3 made from a poor 96 kbps source is still a poor recording.
- Assuming an extension means a codec. Check whether an .m4a is AAC or ALAC, or an .ogg is Opus or Vorbis.
References
- MDN web audio codec guide: codecs, containers and browser support.
- Web Audio API specification: how browsers represent audio as samples.
Frequently asked questions
Is WAV better quality than MP3?
A WAV made directly from a recording keeps everything; an MP3 of the same recording discards some detail. But a WAV converted from an MP3 is no better than that MP3.
Is FLAC better than WAV?
They sound identical, because both are lossless. FLAC files are smaller and can hold tags such as title and artist; WAV is supported by more editing tools and hardware.
Which is better, AAC or MP3?
At the same bitrate, AAC generally sounds better, especially at low bitrates. MP3 is more universally compatible.
What format are WhatsApp voice notes?
Usually Opus audio in an .opus or .ogg file. Our guide to converting voice memos and voice notes covers the common phone and chat formats.
What does "lossless" actually guarantee?
That decoding the file gives back exactly the samples that were encoded, bit for bit. It doesn't make a poor recording sound good.
Try it yourself
MP3 Converter
Turn M4A, FLAC, OGG, WAV or video soundtracks into universally playable MP3s.
Open toolWAV to MP3
Compress bulky WAV recordings into small, shareable MP3 files.
Open toolMP3 to WAV
Decode MP3s into uncompressed WAV for editors, DJ decks and CD burning.
Open toolAudio Compressor
Make audio files smaller for email, messaging apps and upload limits.
Open tool