Which codec is best for internet radio?
There is no single winner, because each format solves a different problem. AAC is the best balance for most stations: good sound at 96 to 128 kbps and playback on almost every phone, browser and smart speaker. HE-AAC is the choice when data is tight. MP3 is the safest for compatibility. Opus is the most modern and very efficient, but fewer radio devices support it. FLAC is the only lossless option, and it costs several times the bandwidth.
What is a codec, and what does lossy mean?
A codec (coder-decoder) is the method used to shrink audio for sending and expand it again for playback. Lossy codecs, which include MP3, AAC, Opus and Vorbis, use a model of human hearing to decide which parts of the sound you are least likely to notice and leave them out. A loud sound masks quieter sounds close to it in frequency, for example, so detail hidden that way can be dropped (Painter and Spanias, 2000). Whatever is removed is gone for good. Lossless codecs such as FLAC pack the audio more tightly without removing anything, so the player rebuilds the original exactly, which is why lossless streams need so much more data.
MP3: the format everything plays
MP3 (MPEG-1 Audio Layer III) was standardised in 1993, developed mainly at Germany's Fraunhofer Institute for Integrated Circuits (Brandenburg, 1999), and almost every device made since the late 1990s can decode it. Its patents have expired and Fraunhofer ended its licensing programme in 2017, so it costs nothing to use. The price is efficiency. MP3 needs around 192 kbps to sound clean on difficult material, where newer codecs manage with less, and it tops out at 320 kbps.
AAC and HE-AAC: the broadcast standard
AAC (Advanced Audio Coding) was standardised in 1997 as part of MPEG-2 and later extended in MPEG-4. It was designed as MP3's successor and generally sounds better at the same bitrate, especially below about 160 kbps. It is built into virtually every phone, browser and streaming device, and it is the usual audio format for HTTP Live Streaming.
HE-AAC adds two techniques for low bitrates. Spectral band replication sends only a compact description of the high frequencies and rebuilds them in the player, and version 2 adds parametric stereo, which sends one channel plus a few numbers describing the stereo image (Meltzer and Moser, 2006). Together they keep music listenable at 32 to 64 kbps. That is why HE-AAC v2 is the codec of DAB+ digital radio in Europe and Australia, and why many stations offer a 48 or 64 kbps AAC stream for mobile listeners. Above roughly 80 to 96 kbps the extra techniques stop helping, and plain AAC (AAC-LC) sounds better.
Opus: the efficient newcomer
Opus was published by the Internet Engineering Task Force in 2012 as RFC 6716. It combines two earlier designs, SILK, built for speech, and CELT, built for music with very low delay, and switches between them as the audio demands. It runs from 6 to 510 kbps, carries no royalties, and is the mandatory audio codec for WebRTC, the technology behind video calls in the browser. For music at 96 to 128 kbps it is among the best-sounding lossy options.
Its weakness for radio is reach. Browsers and Android phones play Opus well, but car head units, older smart speakers and many dedicated internet radio receivers were built for MP3 and AAC, so a station that offers only Opus loses some listeners. Opus radio streams usually travel in an Ogg container on Icecast servers.
Ogg Vorbis
Vorbis, released by the Xiph.Org Foundation in 2002, was the open alternative to MP3 before Opus existed. It still turns up on community and hobbyist stations, often at high bitrates, and a few stations in our HiFi catalogue use it. For a new station, Opus has taken its place.
FLAC: lossless radio
FLAC is the only common lossless format for radio, published as an Internet standard, RFC 9639, in 2024. A FLAC stream at CD resolution typically runs between about 600 and 1,100 kbps, depending on how dense the music is, so it costs roughly five to nine times the data of a 128 kbps stream and needs a server that supports it. Our guide to FLAC covers how it works and what you need to hear the difference.
| Codec | Lossless? | Typical radio bitrates | Strength | Weakness |
|---|---|---|---|---|
| MP3 | No | 128 to 320 kbps | Plays on everything, royalty-free | Least efficient |
| AAC-LC | No | 96 to 256 kbps | Better than MP3 at the same rate, near universal | Some very old receivers lack it |
| HE-AAC v1 and v2 | No | 32 to 64 kbps | Listenable music at very low data | Worse than AAC-LC at higher rates |
| Opus | No | 64 to 160 kbps | Very efficient, royalty-free | Patchy support in car and hardware radios |
| Ogg Vorbis | No | 128 to 320 kbps | Open and royalty-free | Replaced by Opus for new stations |
| FLAC | Yes | about 600 to 1,100 kbps | Nothing removed | High data use, fewer players |
Which should a listener choose?
When a station offers several versions, choose by connection first and codec second. On mobile data, a 64 kbps HE-AAC or 96 kbps Opus stream gives the best sound per megabyte. On Wi-Fi, 256 to 320 kbps AAC or MP3 is hard to tell from the original on most equipment. Lossless is worth it on Wi-Fi with wired headphones or a good speaker, but most Bluetooth links re-compress the audio before you hear it. Our data usage guide lists what each bitrate costs per hour.
Which should a broadcaster choose?
Offer two streams if your server and budget allow: AAC at 128 kbps or more as the main stream, and HE-AAC at 48 to 64 kbps for mobile listeners. Add MP3 only if you know part of your audience uses old receivers. For a lossless feed, check that your streaming server carries FLAC (Icecast does) and budget for the bandwidth, which grows with every listener connected. Our comparison of station software covers the setup side.
How can you tell which codec a station uses?
Directories show the codec and bitrate a station reports about itself, and Sentri shows them on every station page. The report is not always right: some streams labelled FLAC turn out to be MP3 when you connect. Every station in the Sentri HiFi catalogue was connected to and checked for the codec and bitrate it actually sends.