Everything you need to know about MP3
MP3 (MPEG-1/2 Audio Layer III, .mp3) is the lossy audio format that defined the digital music revolution. Standardized in 1991 (MPEG-1) and 1995 (MPEG-2), it remains the most widely supported audio format despite being technically obsolete - newer codecs like AAC and Opus offer better quality at the same bitrate.
How it works under the hood
- Perceptual coding. MP3 uses psychoacoustic models to discard sound information humans cannot easily perceive (frequency masking, temporal masking). The result: 10:1 compression with most listeners unable to tell the difference at 192 kbps+.
- Bitrates. Common values: 128 kbps (low, podcast-grade), 192 kbps (good), 256 kbps (very good), 320 kbps (maximum, near-transparent). VBR (variable bitrate) typically beats CBR at equivalent average bitrate.
- Frame structure. MP3 is a stream of independent ~26ms frames. This is why you can splice MP3 files at the byte level without re-encoding (with `ffmpeg -c copy`).
- ID3 tags. Metadata (artist, album, cover art, lyrics) is stored as ID3v1 (last 128 bytes, deprecated) or ID3v2 (variable size, beginning of file, current standard).
Where you'll actually use it
- Podcasts (the de facto standard via RSS enclosure tags)
- Music distribution on platforms that need universal compatibility
- Voicemail and voice memos on legacy systems
- Audiobook distribution (chapter-aware via ID3v2 chapter frames)
How it compares to alternatives
MP3 vs AAC: AAC sounds noticeably better below 128 kbps and is patent-free since 2017. MP3 vs Opus: Opus is far superior at low bitrates (32-64 kbps for voice) but lacks broad device support. MP3 vs FLAC: FLAC is lossless and ~5x larger - use it for archival, MP3 for distribution.
Things that will trip you up
- MP3 patents officially expired in 2017, but encoder quality varies dramatically - use LAME (the gold standard) for best results
- Joint stereo at low bitrates can cause weird phase artifacts - prefer simple stereo above 192 kbps
- MP3 cannot store gapless playback metadata reliably across players - use AAC or FLAC for live albums