Lossy, lossless and uncompressed
One minute of stereo audio takes very different amounts of space depending on the format:
| Format | Type | Size per minute |
|---|---|---|
| WAV or AIFF, 44.1 kHz 16-bit | Uncompressed | 10.6 MB |
| FLAC or ALAC | Lossless | about 5–7 MB (50–70% of WAV) |
| MP3 at 192 kbit/s | Lossy | 1.44 MB |
| M4A (AAC) at 256 kbit/s | Lossy | 1.92 MB |
| Opus at 96 kbit/s | Lossy | 0.72 MB |
Uncompressed and lossless files decode to exactly the same samples. Lossy formats discard detail the encoder judges inaudible; each further lossy encode discards a little more. So convert from the best original you have, and avoid chains such as MP3 → M4A → MP3.
What happens on your device
Your browser decodes common formats (MP3, WAV, AAC, FLAC, OGG, Opus) itself. Formats it cannot read, such as WMA, AMR, AC3 or ALAC, are decoded by FFmpeg compiled to WebAssembly. MP3 files are encoded with the LAME encoder running in the page. In our tests, a 20-second WAV became a 481 kB MP3 in 0.7 seconds, and a WAV converted to FLAC decoded back to identical samples.
Every format pair has its own page with a size comparison and notes. The format reference explains each format in more detail.